Upload 6 files
Browse files- config.json +22 -15
- model.safetensors +2 -2
- tokenizer_config.json +1 -1
config.json
CHANGED
|
@@ -1,25 +1,32 @@
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "clip-aligned",
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
| 6 |
-
"attention_dropout": 0.0,
|
| 7 |
-
"bos_token_id": 0,
|
| 8 |
-
"dropout": 0.0,
|
| 9 |
-
"eos_token_id": 2,
|
| 10 |
-
"hidden_act": "quick_gelu",
|
| 11 |
-
"hidden_size": 768,
|
| 12 |
"initializer_factor": 1.0,
|
| 13 |
-
"
|
| 14 |
-
"
|
| 15 |
-
"layer_norm_eps": 1e-05,
|
| 16 |
-
"max_position_embeddings": 512,
|
| 17 |
-
"model_type": "clip_text_model",
|
| 18 |
-
"num_attention_heads": 12,
|
| 19 |
-
"num_hidden_layers": 12,
|
| 20 |
-
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
"torch_dtype": "float32",
|
| 23 |
"transformers_version": "4.48.0",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
"vocab_size": 49408
|
| 25 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_name_or_path": "clip-aligned",
|
| 3 |
"architectures": [
|
| 4 |
+
"CLIPModel"
|
| 5 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"initializer_factor": 1.0,
|
| 7 |
+
"logit_scale_init_value": 2.6592,
|
| 8 |
+
"model_type": "clip",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"projection_dim": 768,
|
| 10 |
+
"text_config": {
|
| 11 |
+
"dropout": 0.0,
|
| 12 |
+
"hidden_size": 768,
|
| 13 |
+
"intermediate_size": 3072,
|
| 14 |
+
"max_position_embeddings": 512,
|
| 15 |
+
"model_type": "clip_text_model",
|
| 16 |
+
"num_attention_heads": 12,
|
| 17 |
+
"projection_dim": 768
|
| 18 |
+
},
|
| 19 |
"torch_dtype": "float32",
|
| 20 |
"transformers_version": "4.48.0",
|
| 21 |
+
"vision_config": {
|
| 22 |
+
"dropout": 0.0,
|
| 23 |
+
"hidden_size": 1024,
|
| 24 |
+
"intermediate_size": 4096,
|
| 25 |
+
"model_type": "clip_vision_model",
|
| 26 |
+
"num_attention_heads": 16,
|
| 27 |
+
"num_hidden_layers": 24,
|
| 28 |
+
"patch_size": 14,
|
| 29 |
+
"projection_dim": 768
|
| 30 |
+
},
|
| 31 |
"vocab_size": 49408
|
| 32 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a71acf026dd6cb07cc4decf9ff3c7fc7d781f2b61e447b15ef11e52597e73172
|
| 3 |
+
size 1711874036
|
tokenizer_config.json
CHANGED
|
@@ -24,7 +24,7 @@
|
|
| 24 |
"eos_token": "<|endoftext|>",
|
| 25 |
"errors": "replace",
|
| 26 |
"extra_special_tokens": {},
|
| 27 |
-
"model_max_length":
|
| 28 |
"pad_token": "<|endoftext|>",
|
| 29 |
"tokenizer_class": "CLIPTokenizer",
|
| 30 |
"unk_token": "<|endoftext|>"
|
|
|
|
| 24 |
"eos_token": "<|endoftext|>",
|
| 25 |
"errors": "replace",
|
| 26 |
"extra_special_tokens": {},
|
| 27 |
+
"model_max_length": 77,
|
| 28 |
"pad_token": "<|endoftext|>",
|
| 29 |
"tokenizer_class": "CLIPTokenizer",
|
| 30 |
"unk_token": "<|endoftext|>"
|