Push model using huggingface_hub.
Browse files- config.json +24 -23
- model.safetensors +1 -1
config.json
CHANGED
|
@@ -1,27 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"_attn_implementation_autoset": true,
|
| 4 |
-
"attention_dropout": 0.0,
|
| 5 |
-
"bos_token_id": 0,
|
| 6 |
-
"dropout": 0.0,
|
| 7 |
-
"eos_token_id": 2,
|
| 8 |
-
"hidden_act": "quick_gelu",
|
| 9 |
-
"hidden_size": 768,
|
| 10 |
-
"initializer_factor": 1.0,
|
| 11 |
-
"initializer_range": 0.02,
|
| 12 |
-
"intermediate_size": 3072,
|
| 13 |
-
"layer_norm_eps": 1e-05,
|
| 14 |
-
"max_position_embeddings": 77,
|
| 15 |
-
"model_type": "clip_text_model",
|
| 16 |
-
"num_attention_heads": 12,
|
| 17 |
-
"num_hidden_layers": 12,
|
| 18 |
-
"pad_token_id": 1,
|
| 19 |
-
"projection_dim": 768,
|
| 20 |
-
"torch_dtype": "float32",
|
| 21 |
-
"transformers_version": "4.50.1",
|
| 22 |
-
"vocab_size": 49408
|
| 23 |
-
},
|
| 24 |
-
"config_path": {
|
| 25 |
"gpt_model": {
|
| 26 |
"bias": true,
|
| 27 |
"encoder_with_cls_token": true,
|
|
@@ -60,6 +38,29 @@
|
|
| 60 |
},
|
| 61 |
"text_model_pretrained_model_name_or_path": "not-lain/cube"
|
| 62 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
"gpt_ckpt_path": null,
|
| 64 |
"shape_ckpt_path": null
|
| 65 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"cfg": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"gpt_model": {
|
| 4 |
"bias": true,
|
| 5 |
"encoder_with_cls_token": true,
|
|
|
|
| 38 |
},
|
| 39 |
"text_model_pretrained_model_name_or_path": "not-lain/cube"
|
| 40 |
},
|
| 41 |
+
"clip_config": {
|
| 42 |
+
"_attn_implementation_autoset": true,
|
| 43 |
+
"attention_dropout": 0.0,
|
| 44 |
+
"bos_token_id": 0,
|
| 45 |
+
"dropout": 0.0,
|
| 46 |
+
"eos_token_id": 2,
|
| 47 |
+
"hidden_act": "quick_gelu",
|
| 48 |
+
"hidden_size": 768,
|
| 49 |
+
"initializer_factor": 1.0,
|
| 50 |
+
"initializer_range": 0.02,
|
| 51 |
+
"intermediate_size": 3072,
|
| 52 |
+
"layer_norm_eps": 1e-05,
|
| 53 |
+
"max_position_embeddings": 77,
|
| 54 |
+
"model_type": "clip_text_model",
|
| 55 |
+
"num_attention_heads": 12,
|
| 56 |
+
"num_hidden_layers": 12,
|
| 57 |
+
"pad_token_id": 1,
|
| 58 |
+
"projection_dim": 768,
|
| 59 |
+
"torch_dtype": "float32",
|
| 60 |
+
"transformers_version": "4.50.1",
|
| 61 |
+
"vocab_size": 49408
|
| 62 |
+
},
|
| 63 |
+
"config_path": null,
|
| 64 |
"gpt_ckpt_path": null,
|
| 65 |
"shape_ckpt_path": null
|
| 66 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 8760813404
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6129162f830652eeda3432ea2f975545dded2ed0bdf22845873a0fd1c01c82d4
|
| 3 |
size 8760813404
|