Add model
Browse files- README.md +12 -0
- config.json +34 -0
- model.safetensors +3 -0
- pytorch_model.bin +3 -0
README.md
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- image-feature-extraction
|
4 |
+
- timm
|
5 |
+
library_name: timm
|
6 |
+
license: other
|
7 |
+
license_name: apple-sample-code-license
|
8 |
+
license_link: https://huggingface.co/apple/DFN2B-CLIP-ViT-L-14-39B/resolve/main/LICENSE
|
9 |
+
---
|
10 |
+
# Model card for vit_large_patch14_clip_224.dfn2b_s39b
|
11 |
+
|
12 |
+
`timm` DFN CLIP (image encoder only) weights from https://huggingface.co/apple/DFN2B-CLIP-ViT-L-14-39B
|
config.json
ADDED
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architecture": "vit_large_patch14_clip_224",
|
3 |
+
"num_classes": 768,
|
4 |
+
"num_features": 1024,
|
5 |
+
"global_pool": "token",
|
6 |
+
"pretrained_cfg": {
|
7 |
+
"tag": "dfn2b_s39b",
|
8 |
+
"custom_load": false,
|
9 |
+
"input_size": [
|
10 |
+
3,
|
11 |
+
224,
|
12 |
+
224
|
13 |
+
],
|
14 |
+
"fixed_input_size": true,
|
15 |
+
"interpolation": "bicubic",
|
16 |
+
"crop_pct": 1.0,
|
17 |
+
"crop_mode": "center",
|
18 |
+
"mean": [
|
19 |
+
0.48145466,
|
20 |
+
0.4578275,
|
21 |
+
0.40821073
|
22 |
+
],
|
23 |
+
"std": [
|
24 |
+
0.26862954,
|
25 |
+
0.26130258,
|
26 |
+
0.27577711
|
27 |
+
],
|
28 |
+
"num_classes": 768,
|
29 |
+
"pool_size": null,
|
30 |
+
"first_conv": "patch_embed.proj",
|
31 |
+
"classifier": "head",
|
32 |
+
"license": "apple-ascl"
|
33 |
+
}
|
34 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1658df56d451fbd9bc3196701499fd7e35956c60a00040a7a53534595dad9130
|
3 |
+
size 1215896136
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41718c0d659512b6988697da9334f04ada0af2bc017757592b35b8e2f454faad
|
3 |
+
size 1215979566
|