lastdefiance20 commited on
Commit
1dfab50
·
verified ·
1 Parent(s): 4141ee2

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +107 -0
config.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "InternVLForConditionalGeneration"
4
+ ],
5
+ "downsample_ratio": 0.5,
6
+ "dtype": "bfloat16",
7
+ "eos_token_id": 151645,
8
+ "image_seq_length": 256,
9
+ "image_token_id": 151667,
10
+ "model_type": "internvl",
11
+ "pad_token_id": 151643,
12
+ "projector_hidden_act": "gelu",
13
+ "text_config": {
14
+ "architectures": [
15
+ "Qwen2ForCausalLM"
16
+ ],
17
+ "attention_dropout": 0.0,
18
+ "bos_token_id": 151643,
19
+ "dtype": "bfloat16",
20
+ "eos_token_id": 151645,
21
+ "hidden_act": "silu",
22
+ "hidden_size": 896,
23
+ "initializer_range": 0.02,
24
+ "intermediate_size": 4864,
25
+ "layer_types": [
26
+ "full_attention",
27
+ "full_attention",
28
+ "full_attention",
29
+ "full_attention",
30
+ "full_attention",
31
+ "full_attention",
32
+ "full_attention",
33
+ "full_attention",
34
+ "full_attention",
35
+ "full_attention",
36
+ "full_attention",
37
+ "full_attention",
38
+ "full_attention",
39
+ "full_attention",
40
+ "full_attention",
41
+ "full_attention",
42
+ "full_attention",
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention"
50
+ ],
51
+ "max_position_embeddings": 32768,
52
+ "max_window_layers": 70,
53
+ "model_type": "qwen2",
54
+ "num_attention_heads": 14,
55
+ "num_hidden_layers": 24,
56
+ "num_key_value_heads": 2,
57
+ "rms_norm_eps": 1e-06,
58
+ "rope_scaling": {
59
+ "factor": 2.0,
60
+ "rope_type": "dynamic",
61
+ "type": "dynamic"
62
+ },
63
+ "rope_theta": 1000000.0,
64
+ "sliding_window": null,
65
+ "use_cache": true,
66
+ "use_sliding_window": false,
67
+ "vocab_size": 151966
68
+ },
69
+ "transformers_version": "4.56.0",
70
+ "vision_config": {
71
+ "architectures": [
72
+ "InternVisionModel"
73
+ ],
74
+ "attention_bias": true,
75
+ "attention_dropout": 0.0,
76
+ "dropout": 0.0,
77
+ "dtype": "bfloat16",
78
+ "hidden_act": "gelu",
79
+ "hidden_dropout_prob": 0.0,
80
+ "hidden_size": 1024,
81
+ "image_size": [
82
+ 448,
83
+ 448
84
+ ],
85
+ "initializer_factor": 0.1,
86
+ "initializer_range": 1e-10,
87
+ "intermediate_size": 4096,
88
+ "layer_norm_eps": 1e-06,
89
+ "layer_scale_init_value": 0.1,
90
+ "model_type": "internvl_vision",
91
+ "norm_type": "layer_norm",
92
+ "num_attention_heads": 16,
93
+ "num_channels": 3,
94
+ "num_hidden_layers": 24,
95
+ "patch_size": [
96
+ 14,
97
+ 14
98
+ ],
99
+ "projection_dropout": 0.0,
100
+ "use_absolute_position_embeddings": true,
101
+ "use_mask_token": false,
102
+ "use_mean_pooling": true,
103
+ "use_qk_norm": false
104
+ },
105
+ "vision_feature_layer": -1,
106
+ "vision_feature_select_strategy": "default"
107
+ }