Qwe1325 commited on
Commit
868a176
·
verified ·
1 Parent(s): 5b76337

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +224 -0
config.json ADDED
@@ -0,0 +1,224 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": "7e47738e5f3bfae3063f2df8e91e0eab5178a3ea",
3
+ "_name_or_path": "MediaTek-Research/Llama-Breeze2-8B-Instruct-v0_1",
4
+ "architectures": [
5
+ "InternVLChatModel"
6
+ ],
7
+ "auto_map": {
8
+ "AutoConfig": "MediaTek-Research/Llama-Breeze2-8B-Instruct-v0_1--configuration_internvl_chat.InternVLChatConfig",
9
+ "AutoModel": "MediaTek-Research/Llama-Breeze2-8B-Instruct-v0_1--modeling_internvl_chat.InternVLChatModel",
10
+ "AutoModelForCausalLM": "MediaTek-Research/Llama-Breeze2-8B-Instruct-v0_1--modeling_internvl_chat.InternVLChatModel"
11
+ },
12
+ "downsample_ratio": 0.5,
13
+ "dynamic_image_size": true,
14
+ "force_image_size": 448,
15
+ "hidden_size": 4096,
16
+ "llm_config": {
17
+ "_attn_implementation_autoset": true,
18
+ "_name_or_path": "/home/mtk01/cs/llama31_8b_run6/",
19
+ "add_cross_attention": false,
20
+ "architectures": [
21
+ "LlamaForCausalLM"
22
+ ],
23
+ "attention_bias": false,
24
+ "attention_dropout": 0.0,
25
+ "bad_words_ids": null,
26
+ "begin_suppress_tokens": null,
27
+ "bos_token_id": 128000,
28
+ "chunk_size_feed_forward": 0,
29
+ "cross_attention_hidden_size": null,
30
+ "decoder_start_token_id": null,
31
+ "diversity_penalty": 0.0,
32
+ "do_sample": false,
33
+ "early_stopping": false,
34
+ "encoder_no_repeat_ngram_size": 0,
35
+ "eos_token_id": 128009,
36
+ "exponential_decay_length_penalty": null,
37
+ "finetuning_task": null,
38
+ "forced_bos_token_id": null,
39
+ "forced_eos_token_id": null,
40
+ "head_dim": 128,
41
+ "hidden_act": "silu",
42
+ "hidden_size": 4096,
43
+ "id2label": {
44
+ "0": "LABEL_0",
45
+ "1": "LABEL_1"
46
+ },
47
+ "initializer_range": 0.02,
48
+ "intermediate_size": 14336,
49
+ "is_decoder": false,
50
+ "is_encoder_decoder": false,
51
+ "label2id": {
52
+ "LABEL_0": 0,
53
+ "LABEL_1": 1
54
+ },
55
+ "length_penalty": 1.0,
56
+ "max_length": 20,
57
+ "max_position_embeddings": 131072,
58
+ "min_length": 0,
59
+ "mlp_bias": false,
60
+ "model_type": "llama",
61
+ "no_repeat_ngram_size": 0,
62
+ "num_attention_heads": 32,
63
+ "num_beam_groups": 1,
64
+ "num_beams": 1,
65
+ "num_hidden_layers": 32,
66
+ "num_key_value_heads": 8,
67
+ "num_return_sequences": 1,
68
+ "output_attentions": false,
69
+ "output_hidden_states": false,
70
+ "output_scores": false,
71
+ "pad_token_id": null,
72
+ "prefix": null,
73
+ "pretraining_tp": 1,
74
+ "problem_type": null,
75
+ "pruned_heads": {},
76
+ "remove_invalid_values": false,
77
+ "repetition_penalty": 1.0,
78
+ "return_dict": true,
79
+ "return_dict_in_generate": false,
80
+ "rms_norm_eps": 1e-05,
81
+ "rope_scaling": {
82
+ "factor": 8.0,
83
+ "high_freq_factor": 4.0,
84
+ "low_freq_factor": 1.0,
85
+ "original_max_position_embeddings": 8192,
86
+ "rope_type": "llama3"
87
+ },
88
+ "rope_theta": 500000.0,
89
+ "sep_token_id": null,
90
+ "suppress_tokens": null,
91
+ "task_specific_params": null,
92
+ "temperature": 1.0,
93
+ "tf_legacy_loss": false,
94
+ "tie_encoder_decoder": false,
95
+ "tie_word_embeddings": false,
96
+ "tokenizer_class": null,
97
+ "top_k": 50,
98
+ "top_p": 1.0,
99
+ "torch_dtype": "bfloat16",
100
+ "torchscript": false,
101
+ "transformers_version": "4.48.3",
102
+ "typical_p": 1.0,
103
+ "use_bfloat16": false,
104
+ "use_cache": false,
105
+ "vocab_size": 128256
106
+ },
107
+ "max_dynamic_patch": 12,
108
+ "min_dynamic_patch": 1,
109
+ "model_type": "internvl_chat",
110
+ "pad2square": false,
111
+ "ps_version": "v2",
112
+ "quantization_config": {
113
+ "_load_in_4bit": true,
114
+ "_load_in_8bit": false,
115
+ "bnb_4bit_compute_dtype": "float32",
116
+ "bnb_4bit_quant_storage": "uint8",
117
+ "bnb_4bit_quant_type": "fp4",
118
+ "bnb_4bit_use_double_quant": false,
119
+ "llm_int8_enable_fp32_cpu_offload": false,
120
+ "llm_int8_has_fp16_weight": false,
121
+ "llm_int8_skip_modules": null,
122
+ "llm_int8_threshold": 6.0,
123
+ "load_in_4bit": true,
124
+ "load_in_8bit": false,
125
+ "quant_method": "bitsandbytes"
126
+ },
127
+ "select_layer": -1,
128
+ "template": "internlm2-chat",
129
+ "tie_word_embeddings": false,
130
+ "torch_dtype": "float16",
131
+ "transformers_version": null,
132
+ "use_backbone_lora": 0,
133
+ "use_llm_lora": 0,
134
+ "use_thumbnail": true,
135
+ "vision_config": {
136
+ "_attn_implementation_autoset": true,
137
+ "_name_or_path": "",
138
+ "add_cross_attention": false,
139
+ "architectures": [
140
+ "InternVisionModel"
141
+ ],
142
+ "attention_dropout": 0.0,
143
+ "auto_map": {
144
+ "AutoConfig": "configuration_intern_vit.InternVisionConfig",
145
+ "AutoModel": "modeling_intern_vit.InternVisionModel"
146
+ },
147
+ "bad_words_ids": null,
148
+ "begin_suppress_tokens": null,
149
+ "bos_token_id": null,
150
+ "chunk_size_feed_forward": 0,
151
+ "cross_attention_hidden_size": null,
152
+ "decoder_start_token_id": null,
153
+ "diversity_penalty": 0.0,
154
+ "do_sample": false,
155
+ "drop_path_rate": 0.1,
156
+ "dropout": 0.0,
157
+ "early_stopping": false,
158
+ "encoder_no_repeat_ngram_size": 0,
159
+ "eos_token_id": null,
160
+ "exponential_decay_length_penalty": null,
161
+ "finetuning_task": null,
162
+ "forced_bos_token_id": null,
163
+ "forced_eos_token_id": null,
164
+ "hidden_act": "gelu",
165
+ "hidden_size": 1024,
166
+ "id2label": {
167
+ "0": "LABEL_0",
168
+ "1": "LABEL_1"
169
+ },
170
+ "image_size": 448,
171
+ "initializer_factor": 1.0,
172
+ "initializer_range": 0.02,
173
+ "intermediate_size": 4096,
174
+ "is_decoder": false,
175
+ "is_encoder_decoder": false,
176
+ "label2id": {
177
+ "LABEL_0": 0,
178
+ "LABEL_1": 1
179
+ },
180
+ "layer_norm_eps": 1e-06,
181
+ "length_penalty": 1.0,
182
+ "max_length": 20,
183
+ "min_length": 0,
184
+ "model_type": "intern_vit_6b",
185
+ "no_repeat_ngram_size": 0,
186
+ "norm_type": "layer_norm",
187
+ "num_attention_heads": 16,
188
+ "num_beam_groups": 1,
189
+ "num_beams": 1,
190
+ "num_channels": 3,
191
+ "num_hidden_layers": 24,
192
+ "num_return_sequences": 1,
193
+ "output_attentions": false,
194
+ "output_hidden_states": false,
195
+ "output_scores": false,
196
+ "pad_token_id": null,
197
+ "patch_size": 14,
198
+ "prefix": null,
199
+ "problem_type": null,
200
+ "pruned_heads": {},
201
+ "qk_normalization": false,
202
+ "qkv_bias": true,
203
+ "remove_invalid_values": false,
204
+ "repetition_penalty": 1.0,
205
+ "return_dict": true,
206
+ "return_dict_in_generate": false,
207
+ "sep_token_id": null,
208
+ "suppress_tokens": null,
209
+ "task_specific_params": null,
210
+ "temperature": 1.0,
211
+ "tf_legacy_loss": false,
212
+ "tie_encoder_decoder": false,
213
+ "tie_word_embeddings": true,
214
+ "tokenizer_class": null,
215
+ "top_k": 50,
216
+ "top_p": 1.0,
217
+ "torch_dtype": "bfloat16",
218
+ "torchscript": false,
219
+ "transformers_version": "4.48.3",
220
+ "typical_p": 1.0,
221
+ "use_bfloat16": false,
222
+ "use_flash_attn": false
223
+ }
224
+ }