Image-Text-to-Text
OpenCLIP
zw123 commited on
Commit
c13076d
·
verified ·
1 Parent(s): be0e153

Update open_clip_config.json

Browse files
Files changed (1) hide show
  1. open_clip_config.json +7 -8
open_clip_config.json CHANGED
@@ -1,11 +1,10 @@
1
  {
2
  "model_cfg": {
3
- "embed_dim": 1024,
4
  "vision_cfg": {
5
  "image_size": 224,
6
- "layers": 32,
7
- "width": 1280,
8
- "head_width": 80,
9
  "patch_size": 14,
10
  "no_ln_pre": true,
11
  "pool_type": "avg",
@@ -15,9 +14,9 @@
15
  "context_length": 128,
16
  "vocab_size": 32000,
17
  "vocab_path": "/home/zwang615/code/open_source/Double_Visual_Defense/CLIP_benchmark/clip_benchmark/open_clip/bert_base_vocab_bos_eos.txt",
18
- "width": 1024,
19
- "heads": 16,
20
- "layers": 24,
21
  "pool_type": "last",
22
  "no_causal_mask": false
23
  }
@@ -36,4 +35,4 @@
36
  "interpolation": "bilinear",
37
  "resize_mode": "squash"
38
  }
39
- }
 
1
  {
2
  "model_cfg": {
3
+ "embed_dim": 768,
4
  "vision_cfg": {
5
  "image_size": 224,
6
+ "layers": 24,
7
+ "width": 1024,
 
8
  "patch_size": 14,
9
  "no_ln_pre": true,
10
  "pool_type": "avg",
 
14
  "context_length": 128,
15
  "vocab_size": 32000,
16
  "vocab_path": "/home/zwang615/code/open_source/Double_Visual_Defense/CLIP_benchmark/clip_benchmark/open_clip/bert_base_vocab_bos_eos.txt",
17
+ "width": 768,
18
+ "heads": 12,
19
+ "layers": 12,
20
  "pool_type": "last",
21
  "no_causal_mask": false
22
  }
 
35
  "interpolation": "bilinear",
36
  "resize_mode": "squash"
37
  }
38
+ }