pinecoresystems commited on
Commit
c6547b5
·
verified ·
1 Parent(s): fde11b3

Upload mllm/config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. mllm/config.json +210 -0
mllm/config.json ADDED
@@ -0,0 +1,210 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BailingMM2NativeForConditionalGeneration"
4
+ ],
5
+ "audio_config": null,
6
+ "llm_config": {
7
+ "_name_or_path": "",
8
+ "add_cross_attention": false,
9
+ "architectures": [
10
+ "BailingMoeV2ForCausalLM"
11
+ ],
12
+ "attention_dropout": 0.0,
13
+ "bad_words_ids": null,
14
+ "begin_suppress_tokens": null,
15
+ "bos_token_id": null,
16
+ "chunk_size_feed_forward": 0,
17
+ "cross_attention_hidden_size": null,
18
+ "decoder_start_token_id": null,
19
+ "diversity_penalty": 0.0,
20
+ "do_sample": false,
21
+ "early_stopping": false,
22
+ "embedding_dropout": 0.0,
23
+ "encoder_no_repeat_ngram_size": 0,
24
+ "eos_token_id": 156895,
25
+ "exponential_decay_length_penalty": null,
26
+ "finetuning_task": null,
27
+ "first_k_dense_replace": 1,
28
+ "forced_bos_token_id": null,
29
+ "forced_eos_token_id": null,
30
+ "head_dim": 128,
31
+ "hidden_act": "silu",
32
+ "hidden_size": 2048,
33
+ "id2label": {
34
+ "0": "LABEL_0",
35
+ "1": "LABEL_1"
36
+ },
37
+ "image_end_token": 157159,
38
+ "image_patch_token": 157157,
39
+ "image_start_token": 157158,
40
+ "video_end_token": 157161,
41
+ "video_patch_token": 157175,
42
+ "video_start_token": 157160,
43
+ "initializer_range": 0.006,
44
+ "intermediate_size": 5120,
45
+ "is_decoder": false,
46
+ "is_encoder_decoder": false,
47
+ "label2id": {
48
+ "LABEL_0": 0,
49
+ "LABEL_1": 1
50
+ },
51
+ "length_penalty": 1.0,
52
+ "max_length": 20,
53
+ "max_position_embeddings": 32768,
54
+ "max_window_layers": 28,
55
+ "min_length": 0,
56
+ "model_type": "bailing_moe_v2",
57
+ "moe_intermediate_size": 512,
58
+ "moe_router_topk_scaling_factor": 2.5,
59
+ "n_group": 8,
60
+ "no_repeat_ngram_size": 0,
61
+ "norm_head": false,
62
+ "norm_softmax": false,
63
+ "norm_topk_prob": true,
64
+ "num_attention_heads": 16,
65
+ "num_beam_groups": 1,
66
+ "num_beams": 1,
67
+ "num_experts": 256,
68
+ "num_experts_per_tok": 8,
69
+ "num_hidden_layers": 20,
70
+ "num_key_value_heads": 4,
71
+ "num_return_sequences": 1,
72
+ "num_shared_experts": 1,
73
+ "output_attentions": false,
74
+ "output_dropout": 0.0,
75
+ "output_hidden_states": false,
76
+ "output_router_logits": false,
77
+ "output_scores": false,
78
+ "pad_token_id": 156892,
79
+ "partial_rotary_factor": 0.5,
80
+ "prefix": null,
81
+ "pretraining_tp": 1,
82
+ "problem_type": null,
83
+ "pruned_heads": {},
84
+ "remove_invalid_values": false,
85
+ "repetition_penalty": 1.0,
86
+ "return_dict": true,
87
+ "return_dict_in_generate": false,
88
+ "rms_norm_eps": 1e-06,
89
+ "rope_scaling": {
90
+ "factor": null,
91
+ "type": "video_rope"
92
+ },
93
+ "rope_theta": 600000,
94
+ "routed_scaling_factor": 2.5,
95
+ "router_type": "MultiRouter",
96
+ "sep_token_id": null,
97
+ "sliding_window": 4096,
98
+ "spatial_merge_size": 2,
99
+ "suppress_tokens": null,
100
+ "task_specific_params": null,
101
+ "temperature": 1.0,
102
+ "tf_legacy_loss": false,
103
+ "tie_encoder_decoder": false,
104
+ "tie_word_embeddings": false,
105
+ "tokenizer_class": null,
106
+ "tokens_per_second": 2,
107
+ "top_k": 50,
108
+ "top_p": 1.0,
109
+ "topk_group": 4,
110
+ "torch_dtype": "bfloat16",
111
+ "torchscript": false,
112
+ "typical_p": 1.0,
113
+ "use_bfloat16": false,
114
+ "use_bias": false,
115
+ "use_cache": true,
116
+ "use_expert_bias": true,
117
+ "use_qkv_bias": false,
118
+ "use_sliding_window": false,
119
+ "vocab_size": 157184
120
+ },
121
+ "mlp_depth": 2,
122
+ "model_type": "bailingmm_moe_v2_lite",
123
+ "torch_dtype": "bfloat16",
124
+ "transformers_version": "4.53.0.dev0",
125
+ "vision_config": {
126
+ "_name_or_path": "",
127
+ "add_cross_attention": false,
128
+ "architectures": [
129
+ "Qwen2_5_VisionTransformer"
130
+ ],
131
+ "bad_words_ids": null,
132
+ "begin_suppress_tokens": null,
133
+ "bos_token_id": null,
134
+ "chunk_size_feed_forward": 0,
135
+ "cross_attention_hidden_size": null,
136
+ "decoder_start_token_id": null,
137
+ "depth": 32,
138
+ "diversity_penalty": 0.0,
139
+ "do_sample": false,
140
+ "early_stopping": false,
141
+ "encoder_no_repeat_ngram_size": 0,
142
+ "eos_token_id": null,
143
+ "exponential_decay_length_penalty": null,
144
+ "finetuning_task": null,
145
+ "forced_bos_token_id": null,
146
+ "forced_eos_token_id": null,
147
+ "fullatt_block_indexes": [
148
+ 7,
149
+ 15,
150
+ 23,
151
+ 31
152
+ ],
153
+ "hidden_act": "silu",
154
+ "hidden_size": 1280,
155
+ "id2label": {
156
+ "0": "LABEL_0",
157
+ "1": "LABEL_1"
158
+ },
159
+ "in_channels": 3,
160
+ "in_chans": 3,
161
+ "intermediate_size": 3456,
162
+ "is_decoder": false,
163
+ "is_encoder_decoder": false,
164
+ "label2id": {
165
+ "LABEL_0": 0,
166
+ "LABEL_1": 1
167
+ },
168
+ "length_penalty": 1.0,
169
+ "max_length": 20,
170
+ "min_length": 0,
171
+ "model_type": "qwen2_5_vit",
172
+ "no_repeat_ngram_size": 0,
173
+ "num_beam_groups": 1,
174
+ "num_beams": 1,
175
+ "num_heads": 16,
176
+ "num_return_sequences": 1,
177
+ "out_hidden_size": 8192,
178
+ "output_attentions": false,
179
+ "output_hidden_states": false,
180
+ "output_scores": false,
181
+ "pad_token_id": null,
182
+ "patch_size": 14,
183
+ "prefix": null,
184
+ "problem_type": null,
185
+ "pruned_heads": {},
186
+ "remove_invalid_values": false,
187
+ "repetition_penalty": 1.0,
188
+ "return_dict": true,
189
+ "return_dict_in_generate": false,
190
+ "sep_token_id": null,
191
+ "spatial_merge_size": 2,
192
+ "spatial_patch_size": 14,
193
+ "suppress_tokens": null,
194
+ "task_specific_params": null,
195
+ "temperature": 1.0,
196
+ "temporal_patch_size": 2,
197
+ "tf_legacy_loss": false,
198
+ "tie_encoder_decoder": false,
199
+ "tie_word_embeddings": true,
200
+ "tokenizer_class": null,
201
+ "tokens_per_second": 2,
202
+ "top_k": 50,
203
+ "top_p": 1.0,
204
+ "torch_dtype": "bfloat16",
205
+ "torchscript": false,
206
+ "typical_p": 1.0,
207
+ "use_bfloat16": false,
208
+ "window_size": 112
209
+ }
210
+ }