ashm commited on
Commit
f7aeeaa
·
1 Parent(s): 1bc31b0

Update open_clip_config.json

Browse files
Files changed (1) hide show
  1. open_clip_config.json +22 -16
open_clip_config.json CHANGED
@@ -1,23 +1,29 @@
1
  {
 
 
 
 
 
 
2
  "model_type": "clip",
 
3
 
4
- "model_cfg": {
5
- "embed_dim": 512,
6
- "vision_cfg": {
7
- "timm_model_name": "vit_base_patch16_224",
8
- "timm_model_pretrained": false,
9
- "timm_pool": "",
10
- "timm_proj": "linear",
11
- "image_size": 224
12
- },
13
- "text_cfg": {
14
- "hf_model_name": "microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract",
15
- "hf_tokenizer_name": "microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract",
16
- "proj": "mlp",
17
- "pooler_type": "cls_last_hidden_state_pooler",
18
- "context_length": 256
19
- }
20
  },
 
 
 
 
 
 
 
 
21
  "preprocess_cfg": {
22
  "mean": [
23
  0.48145466,
 
1
  {
2
+ "_name_or_path": "openai/clip-vit-base-patch32",
3
+
4
+ "architectures": [
5
+ "CLIPModel"
6
+ ],
7
+
8
  "model_type": "clip",
9
+ "projection_dim": 512,
10
 
11
+ "vision_config": {
12
+ "timm_model_name": "vit_base_patch16_224",
13
+ "timm_model_type": "clip_vision_model"
14
+ "timm_model_pretrained": false,
15
+ "timm_pool": "",
16
+ "timm_proj": "linear",
17
+ "image_size": 224
 
 
 
 
 
 
 
 
 
18
  },
19
+ "text_config": {
20
+ "hf_model_name": "microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract",
21
+ "hf_tokenizer_name": "microsoft/BiomedNLP-PubMedBERT-base-uncased-abstract",
22
+ "proj": "mlp",
23
+ "pooler_type": "cls_last_hidden_state_pooler",
24
+ "context_length": 256
25
+ }
26
+ ,
27
  "preprocess_cfg": {
28
  "mean": [
29
  0.48145466,