Commit
•
afa5a23
1
Parent(s):
a5489d3
Upload Idefics2ForConditionalGeneration
Browse files- config.json +5 -4
- generation_config.json +1 -1
- model.safetensors +2 -2
config.json
CHANGED
@@ -94,8 +94,9 @@
|
|
94 |
"finetuning_task": null,
|
95 |
"forced_bos_token_id": null,
|
96 |
"forced_eos_token_id": null,
|
|
|
97 |
"hidden_act": "silu",
|
98 |
-
"hidden_size":
|
99 |
"id2label": {
|
100 |
"0": "LABEL_0",
|
101 |
"1": "LABEL_1"
|
@@ -114,7 +115,7 @@
|
|
114 |
"min_length": 0,
|
115 |
"model_type": "mistral",
|
116 |
"no_repeat_ngram_size": 0,
|
117 |
-
"num_attention_heads":
|
118 |
"num_beam_groups": 1,
|
119 |
"num_beams": 1,
|
120 |
"num_hidden_layers": 2,
|
@@ -153,7 +154,7 @@
|
|
153 |
},
|
154 |
"tie_word_embeddings": false,
|
155 |
"torch_dtype": "float32",
|
156 |
-
"transformers_version": "4.
|
157 |
"use_cache": true,
|
158 |
"vision_config": {
|
159 |
"_name_or_path": "",
|
@@ -176,7 +177,7 @@
|
|
176 |
"forced_bos_token_id": null,
|
177 |
"forced_eos_token_id": null,
|
178 |
"hidden_act": "gelu_pytorch_tanh",
|
179 |
-
"hidden_size":
|
180 |
"id2label": {
|
181 |
"0": "LABEL_0",
|
182 |
"1": "LABEL_1"
|
|
|
94 |
"finetuning_task": null,
|
95 |
"forced_bos_token_id": null,
|
96 |
"forced_eos_token_id": null,
|
97 |
+
"head_dim": 4,
|
98 |
"hidden_act": "silu",
|
99 |
+
"hidden_size": 8,
|
100 |
"id2label": {
|
101 |
"0": "LABEL_0",
|
102 |
"1": "LABEL_1"
|
|
|
115 |
"min_length": 0,
|
116 |
"model_type": "mistral",
|
117 |
"no_repeat_ngram_size": 0,
|
118 |
+
"num_attention_heads": 2,
|
119 |
"num_beam_groups": 1,
|
120 |
"num_beams": 1,
|
121 |
"num_hidden_layers": 2,
|
|
|
154 |
},
|
155 |
"tie_word_embeddings": false,
|
156 |
"torch_dtype": "float32",
|
157 |
+
"transformers_version": "4.44.0",
|
158 |
"use_cache": true,
|
159 |
"vision_config": {
|
160 |
"_name_or_path": "",
|
|
|
177 |
"forced_bos_token_id": null,
|
178 |
"forced_eos_token_id": null,
|
179 |
"hidden_act": "gelu_pytorch_tanh",
|
180 |
+
"hidden_size": 8,
|
181 |
"id2label": {
|
182 |
"0": "LABEL_0",
|
183 |
"1": "LABEL_1"
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.44.0"
|
6 |
}
|
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:52787a4ef80544ca89fa6dd105647d813c5881a817a7e9481722890ebd09d090
|
3 |
+
size 2554472
|