Skip to content

Commit

Permalink
add missing ViTamin configs
Browse files Browse the repository at this point in the history
  • Loading branch information
xywei00 authored and rwightman committed Nov 24, 2024
1 parent 8328e89 commit ea524b9
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/open_clip/model_configs/ViTamin-L-384.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"embed_dim": 768,
"vision_cfg": {
"timm_model_name": "vitamin_large_384",
"timm_model_pretrained": false,
"timm_pool": "",
"timm_proj": "linear",
"timm_drop": 0.0,
"timm_drop_path": 0.1,
"image_size": 384
},
"text_cfg": {
"context_length": 77,
"vocab_size": 49408,
"width": 768,
"heads": 12,
"layers": 12
},
"custom_text": true
}
20 changes: 20 additions & 0 deletions src/open_clip/model_configs/ViTamin-L2-384.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"embed_dim": 1024,
"vision_cfg": {
"timm_model_name": "vitamin_large2_384",
"timm_model_pretrained": false,
"timm_pool": "",
"timm_proj": "linear",
"timm_drop": 0.0,
"timm_drop_path": 0.1,
"image_size": 384
},
"text_cfg": {
"context_length": 77,
"vocab_size": 49408,
"width": 1024,
"heads": 16,
"layers": 24
},
"custom_text": true
}

0 comments on commit ea524b9

Please sign in to comment.