Upload config
Browse files- config.json +44 -0
config.json
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"InternVLForConditionalGeneration"
|
4 |
+
],
|
5 |
+
"downsample_ratio": 0.5,
|
6 |
+
"image_seq_length": 256,
|
7 |
+
"image_token_index": 151667,
|
8 |
+
"model_type": "internvl",
|
9 |
+
"projector_hidden_act": "gelu",
|
10 |
+
"text_config": {
|
11 |
+
"_attn_implementation_autoset": true,
|
12 |
+
"architectures": [
|
13 |
+
"Qwen2ForCausalLM"
|
14 |
+
],
|
15 |
+
"bos_token_id": 151643,
|
16 |
+
"eos_token_id": 151645,
|
17 |
+
"hidden_size": 2048,
|
18 |
+
"intermediate_size": 11008,
|
19 |
+
"max_window_layers": 70,
|
20 |
+
"model_type": "qwen2",
|
21 |
+
"num_attention_heads": 16,
|
22 |
+
"num_hidden_layers": 36,
|
23 |
+
"num_key_value_heads": 2,
|
24 |
+
"rope_theta": 1000000.0,
|
25 |
+
"sliding_window": 32768,
|
26 |
+
"torch_dtype": "bfloat16",
|
27 |
+
"vocab_size": 151674
|
28 |
+
},
|
29 |
+
"transformers_version": "4.50.0.dev0",
|
30 |
+
"vision_config": {
|
31 |
+
"_attn_implementation_autoset": true,
|
32 |
+
"architectures": [
|
33 |
+
"InternVisionModel"
|
34 |
+
],
|
35 |
+
"attention_dropout": 0.0,
|
36 |
+
"drop_path_rate": 0.0,
|
37 |
+
"dropout": 0.0,
|
38 |
+
"initializer_factor": 1.0,
|
39 |
+
"layer_scale_init_value": 0.1,
|
40 |
+
"model_type": "internvl_vision",
|
41 |
+
"torch_dtype": "bfloat16"
|
42 |
+
},
|
43 |
+
"vision_feature_layer": -1
|
44 |
+
}
|