Create config.json
Browse files- config.json +30 -0
config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"Idefics2ForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"image_token_id": 32001,
|
6 |
+
"model_type": "idefics2",
|
7 |
+
"perceiver_config": {
|
8 |
+
"model_type": "idefics2"
|
9 |
+
},
|
10 |
+
"text_config": {
|
11 |
+
"max_position_embeddings": 32768,
|
12 |
+
"model_type": "mistral",
|
13 |
+
"pad_token_id": 0,
|
14 |
+
"rms_norm_eps": 1e-05,
|
15 |
+
"vocab_size": 32003
|
16 |
+
},
|
17 |
+
"tie_word_embeddings": false,
|
18 |
+
"torch_dtype": "float32",
|
19 |
+
"transformers_version": "4.39.0.dev0",
|
20 |
+
"use_cache": false,
|
21 |
+
"vision_config": {
|
22 |
+
"hidden_size": 1152,
|
23 |
+
"image_size": 980,
|
24 |
+
"intermediate_size": 4304,
|
25 |
+
"model_type": "idefics2",
|
26 |
+
"num_attention_heads": 16,
|
27 |
+
"num_hidden_layers": 27,
|
28 |
+
"patch_size": 14
|
29 |
+
}
|
30 |
+
}
|