khhuang commited on
Commit
c6d99d3
·
verified ·
1 Parent(s): de70315

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +196 -0
config.json ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "_name_or_path": "/export/home/kh-huang/InternVL/ckpt/InternVL2_5-1B-MPO",
4
+ "architectures": [
5
+ "InternVLChatModel"
6
+ ],
7
+ "auto_map": {
8
+ "AutoConfig": "configuration_internvl_chat.InternVLChatConfig",
9
+ "AutoModel": "modeling_internvl_chat.InternVLChatModel",
10
+ "AutoModelForCausalLM": "modeling_internvl_chat.InternVLChatModel"
11
+ },
12
+ "downsample_ratio": 0.5,
13
+ "dynamic_image_size": true,
14
+ "force_image_size": 448,
15
+ "hidden_size": 896,
16
+ "llm_config": {
17
+ "_name_or_path": "Qwen/Qwen2.5-0.5B-Instruct",
18
+ "add_cross_attention": false,
19
+ "architectures": [
20
+ "Qwen2ForCausalLM"
21
+ ],
22
+ "attention_dropout": 0.0,
23
+ "attn_implementation": "flash_attention_2",
24
+ "bad_words_ids": null,
25
+ "begin_suppress_tokens": null,
26
+ "bos_token_id": 151643,
27
+ "chunk_size_feed_forward": 0,
28
+ "cross_attention_hidden_size": null,
29
+ "decoder_start_token_id": null,
30
+ "diversity_penalty": 0.0,
31
+ "do_sample": false,
32
+ "early_stopping": false,
33
+ "encoder_no_repeat_ngram_size": 0,
34
+ "eos_token_id": 151645,
35
+ "exponential_decay_length_penalty": null,
36
+ "finetuning_task": null,
37
+ "forced_bos_token_id": null,
38
+ "forced_eos_token_id": null,
39
+ "hidden_act": "silu",
40
+ "hidden_size": 896,
41
+ "id2label": {
42
+ "0": "LABEL_0",
43
+ "1": "LABEL_1"
44
+ },
45
+ "initializer_range": 0.02,
46
+ "intermediate_size": 4864,
47
+ "is_decoder": false,
48
+ "is_encoder_decoder": false,
49
+ "label2id": {
50
+ "LABEL_0": 0,
51
+ "LABEL_1": 1
52
+ },
53
+ "length_penalty": 1.0,
54
+ "max_length": 20,
55
+ "max_position_embeddings": 32768,
56
+ "max_window_layers": 21,
57
+ "min_length": 0,
58
+ "model_type": "qwen2",
59
+ "no_repeat_ngram_size": 0,
60
+ "num_attention_heads": 14,
61
+ "num_beam_groups": 1,
62
+ "num_beams": 1,
63
+ "num_hidden_layers": 24,
64
+ "num_key_value_heads": 2,
65
+ "num_return_sequences": 1,
66
+ "output_attentions": false,
67
+ "output_hidden_states": false,
68
+ "output_scores": false,
69
+ "pad_token_id": null,
70
+ "prefix": null,
71
+ "problem_type": null,
72
+ "pruned_heads": {},
73
+ "remove_invalid_values": false,
74
+ "repetition_penalty": 1.0,
75
+ "return_dict": true,
76
+ "return_dict_in_generate": false,
77
+ "rms_norm_eps": 1e-06,
78
+ "rope_theta": 1000000.0,
79
+ "sep_token_id": null,
80
+ "sliding_window": null,
81
+ "suppress_tokens": null,
82
+ "task_specific_params": null,
83
+ "temperature": 1.0,
84
+ "tf_legacy_loss": false,
85
+ "tie_encoder_decoder": false,
86
+ "tie_word_embeddings": false,
87
+ "tokenizer_class": null,
88
+ "top_k": 50,
89
+ "top_p": 1.0,
90
+ "torch_dtype": "bfloat16",
91
+ "torchscript": false,
92
+ "transformers_version": "4.44.0",
93
+ "typical_p": 1.0,
94
+ "use_bfloat16": true,
95
+ "use_cache": false,
96
+ "use_sliding_window": false,
97
+ "vocab_size": 151674
98
+ },
99
+ "max_dynamic_patch": 12,
100
+ "min_dynamic_patch": 1,
101
+ "model_type": "internvl_chat",
102
+ "pad2square": false,
103
+ "ps_version": "v2",
104
+ "select_layer": -1,
105
+ "template": "internvl2_5",
106
+ "tie_word_embeddings": false,
107
+ "torch_dtype": "bfloat16",
108
+ "transformers_version": null,
109
+ "use_backbone_lora": 0,
110
+ "use_llm_lora": 0,
111
+ "use_thumbnail": true,
112
+ "vision_config": {
113
+ "_name_or_path": "",
114
+ "add_cross_attention": false,
115
+ "architectures": [
116
+ "InternVisionModel"
117
+ ],
118
+ "attention_dropout": 0.0,
119
+ "bad_words_ids": null,
120
+ "begin_suppress_tokens": null,
121
+ "bos_token_id": null,
122
+ "chunk_size_feed_forward": 0,
123
+ "cross_attention_hidden_size": null,
124
+ "decoder_start_token_id": null,
125
+ "diversity_penalty": 0.0,
126
+ "do_sample": false,
127
+ "drop_path_rate": 0.1,
128
+ "dropout": 0.0,
129
+ "early_stopping": false,
130
+ "encoder_no_repeat_ngram_size": 0,
131
+ "eos_token_id": null,
132
+ "exponential_decay_length_penalty": null,
133
+ "finetuning_task": null,
134
+ "forced_bos_token_id": null,
135
+ "forced_eos_token_id": null,
136
+ "hidden_act": "gelu",
137
+ "hidden_size": 1024,
138
+ "id2label": {
139
+ "0": "LABEL_0",
140
+ "1": "LABEL_1"
141
+ },
142
+ "image_size": 448,
143
+ "initializer_factor": 1.0,
144
+ "initializer_range": 0.02,
145
+ "intermediate_size": 4096,
146
+ "is_decoder": false,
147
+ "is_encoder_decoder": false,
148
+ "label2id": {
149
+ "LABEL_0": 0,
150
+ "LABEL_1": 1
151
+ },
152
+ "layer_norm_eps": 1e-06,
153
+ "length_penalty": 1.0,
154
+ "max_length": 20,
155
+ "min_length": 0,
156
+ "model_type": "intern_vit_6b",
157
+ "no_repeat_ngram_size": 0,
158
+ "norm_type": "layer_norm",
159
+ "num_attention_heads": 16,
160
+ "num_beam_groups": 1,
161
+ "num_beams": 1,
162
+ "num_channels": 3,
163
+ "num_hidden_layers": 24,
164
+ "num_return_sequences": 1,
165
+ "output_attentions": false,
166
+ "output_hidden_states": false,
167
+ "output_scores": false,
168
+ "pad_token_id": null,
169
+ "patch_size": 14,
170
+ "prefix": null,
171
+ "problem_type": null,
172
+ "pruned_heads": {},
173
+ "qk_normalization": false,
174
+ "qkv_bias": true,
175
+ "remove_invalid_values": false,
176
+ "repetition_penalty": 1.0,
177
+ "return_dict": true,
178
+ "return_dict_in_generate": false,
179
+ "sep_token_id": null,
180
+ "suppress_tokens": null,
181
+ "task_specific_params": null,
182
+ "temperature": 1.0,
183
+ "tf_legacy_loss": false,
184
+ "tie_encoder_decoder": false,
185
+ "tie_word_embeddings": true,
186
+ "tokenizer_class": null,
187
+ "top_k": 50,
188
+ "top_p": 1.0,
189
+ "torch_dtype": "bfloat16",
190
+ "torchscript": false,
191
+ "transformers_version": "4.44.0",
192
+ "typical_p": 1.0,
193
+ "use_bfloat16": true,
194
+ "use_flash_attn": true
195
+ }
196
+ }