zhoujiaming777 commited on
Commit
a09d815
·
verified ·
1 Parent(s): aa24db3

Upload 3 files

Browse files
Files changed (3) hide show
  1. config.json +225 -0
  2. generation_config.json +4 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "acoustic_connector_config": {},
3
+ "adapter_inner_dim": 512,
4
+ "architectures": [
5
+ "DIFFAModel"
6
+ ],
7
+ "conv_kernel_sizes": "5,5,5",
8
+ "llm_config": {
9
+ "_attn_implementation_autoset": false,
10
+ "_name_or_path": "/path/to/models/LLaDA-8B-Instruct",
11
+ "activation_type": "silu",
12
+ "add_cross_attention": false,
13
+ "alibi": false,
14
+ "alibi_bias_max": 8.0,
15
+ "architectures": [
16
+ "LLaDAModelLM"
17
+ ],
18
+ "attention_dropout": 0.0,
19
+ "attention_layer_norm": false,
20
+ "attention_layer_norm_with_affine": true,
21
+ "auto_map": {
22
+ "AutoConfig": "configuration_llada.LLaDAConfig",
23
+ "AutoModel": "modeling_llada.LLaDAModelLM",
24
+ "AutoModelForCausalLM": "modeling_llada.LLaDAModelLM"
25
+ },
26
+ "bad_words_ids": null,
27
+ "begin_suppress_tokens": null,
28
+ "bias_for_layer_norm": false,
29
+ "block_group_size": 1,
30
+ "block_type": "llama",
31
+ "bos_token_id": null,
32
+ "chunk_size_feed_forward": 0,
33
+ "cross_attention_hidden_size": null,
34
+ "d_model": 4096,
35
+ "decoder_start_token_id": null,
36
+ "diversity_penalty": 0.0,
37
+ "do_sample": false,
38
+ "early_stopping": false,
39
+ "embedding_dropout": 0.0,
40
+ "embedding_size": 126464,
41
+ "encoder_no_repeat_ngram_size": 0,
42
+ "eos_token_id": 126081,
43
+ "exponential_decay_length_penalty": null,
44
+ "finetuning_task": null,
45
+ "flash_attention": false,
46
+ "forced_bos_token_id": null,
47
+ "forced_eos_token_id": null,
48
+ "id2label": {
49
+ "0": "LABEL_0",
50
+ "1": "LABEL_1"
51
+ },
52
+ "include_bias": false,
53
+ "include_qkv_bias": false,
54
+ "init_cutoff_factor": null,
55
+ "init_device": "meta",
56
+ "init_fn": "mitchell",
57
+ "init_std": 0.02,
58
+ "input_emb_norm": false,
59
+ "is_decoder": false,
60
+ "is_encoder_decoder": false,
61
+ "label2id": {
62
+ "LABEL_0": 0,
63
+ "LABEL_1": 1
64
+ },
65
+ "layer_norm_type": "rms",
66
+ "layer_norm_with_affine": true,
67
+ "length_penalty": 1.0,
68
+ "mask_token_id": 126336,
69
+ "max_length": 20,
70
+ "max_sequence_length": 4096,
71
+ "min_length": 0,
72
+ "mlp_hidden_size": 12288,
73
+ "mlp_ratio": 4,
74
+ "model_type": "llada",
75
+ "multi_query_attention": null,
76
+ "n_heads": 32,
77
+ "n_kv_heads": 32,
78
+ "n_layers": 32,
79
+ "no_repeat_ngram_size": 0,
80
+ "num_beam_groups": 1,
81
+ "num_beams": 1,
82
+ "num_return_sequences": 1,
83
+ "output_attentions": false,
84
+ "output_hidden_states": false,
85
+ "output_scores": false,
86
+ "pad_token_id": 126081,
87
+ "precision": "amp_bf16",
88
+ "prefix": null,
89
+ "problem_type": null,
90
+ "pruned_heads": {},
91
+ "remove_invalid_values": false,
92
+ "repetition_penalty": 1.0,
93
+ "residual_dropout": 0.0,
94
+ "return_dict": true,
95
+ "return_dict_in_generate": false,
96
+ "rms_norm_eps": 1e-05,
97
+ "rope": true,
98
+ "rope_full_precision": true,
99
+ "rope_theta": 500000.0,
100
+ "scale_logits": false,
101
+ "sep_token_id": null,
102
+ "suppress_tokens": null,
103
+ "task_specific_params": null,
104
+ "temperature": 1.0,
105
+ "tf_legacy_loss": false,
106
+ "tie_encoder_decoder": false,
107
+ "tie_word_embeddings": true,
108
+ "tokenizer_class": null,
109
+ "top_k": 50,
110
+ "top_p": 1.0,
111
+ "torch_dtype": null,
112
+ "torchscript": false,
113
+ "transformers_version": "4.49.0",
114
+ "typical_p": 1.0,
115
+ "use_bfloat16": false,
116
+ "use_cache": false,
117
+ "vocab_size": 126464,
118
+ "weight_tying": false
119
+ },
120
+ "prompt_size": 64,
121
+ "torch_dtype": "bfloat16",
122
+ "transformers_version": "4.49.0",
123
+ "whisper_config": {
124
+ "_attn_implementation_autoset": false,
125
+ "_name_or_path": "openai/whisper-large-v3",
126
+ "activation_dropout": 0.0,
127
+ "activation_function": "gelu",
128
+ "add_cross_attention": false,
129
+ "apply_spec_augment": false,
130
+ "architectures": [
131
+ "WhisperForConditionalGeneration"
132
+ ],
133
+ "attention_dropout": 0.0,
134
+ "bad_words_ids": null,
135
+ "begin_suppress_tokens": [
136
+ 220,
137
+ 50257
138
+ ],
139
+ "bos_token_id": 50257,
140
+ "chunk_size_feed_forward": 0,
141
+ "classifier_proj_size": 256,
142
+ "cross_attention_hidden_size": null,
143
+ "d_model": 1280,
144
+ "decoder_attention_heads": 20,
145
+ "decoder_ffn_dim": 5120,
146
+ "decoder_layerdrop": 0.0,
147
+ "decoder_layers": 32,
148
+ "decoder_start_token_id": 50258,
149
+ "diversity_penalty": 0.0,
150
+ "do_sample": false,
151
+ "dropout": 0.0,
152
+ "early_stopping": false,
153
+ "encoder_attention_heads": 20,
154
+ "encoder_ffn_dim": 5120,
155
+ "encoder_layerdrop": 0.0,
156
+ "encoder_layers": 32,
157
+ "encoder_no_repeat_ngram_size": 0,
158
+ "eos_token_id": 50257,
159
+ "exponential_decay_length_penalty": null,
160
+ "finetuning_task": null,
161
+ "forced_bos_token_id": null,
162
+ "forced_eos_token_id": null,
163
+ "id2label": {
164
+ "0": "LABEL_0",
165
+ "1": "LABEL_1"
166
+ },
167
+ "init_std": 0.02,
168
+ "is_decoder": false,
169
+ "is_encoder_decoder": true,
170
+ "label2id": {
171
+ "LABEL_0": 0,
172
+ "LABEL_1": 1
173
+ },
174
+ "length_penalty": 1.0,
175
+ "mask_feature_length": 10,
176
+ "mask_feature_min_masks": 0,
177
+ "mask_feature_prob": 0.0,
178
+ "mask_time_length": 10,
179
+ "mask_time_min_masks": 2,
180
+ "mask_time_prob": 0.05,
181
+ "max_length": 448,
182
+ "max_source_positions": 1500,
183
+ "max_target_positions": 448,
184
+ "median_filter_width": 7,
185
+ "min_length": 0,
186
+ "model_type": "whisper",
187
+ "no_repeat_ngram_size": 0,
188
+ "num_beam_groups": 1,
189
+ "num_beams": 1,
190
+ "num_hidden_layers": 32,
191
+ "num_mel_bins": 128,
192
+ "num_return_sequences": 1,
193
+ "output_attentions": false,
194
+ "output_hidden_states": false,
195
+ "output_scores": false,
196
+ "pad_token_id": 50256,
197
+ "prefix": null,
198
+ "problem_type": null,
199
+ "pruned_heads": {},
200
+ "remove_invalid_values": false,
201
+ "repetition_penalty": 1.0,
202
+ "return_dict": true,
203
+ "return_dict_in_generate": false,
204
+ "scale_embedding": false,
205
+ "sep_token_id": null,
206
+ "suppress_tokens": null,
207
+ "task_specific_params": null,
208
+ "temperature": 1.0,
209
+ "tf_legacy_loss": false,
210
+ "tie_encoder_decoder": false,
211
+ "tie_word_embeddings": true,
212
+ "tokenizer_class": null,
213
+ "top_k": 50,
214
+ "top_p": 1.0,
215
+ "torch_dtype": "float16",
216
+ "torchscript": false,
217
+ "transformers_version": "4.49.0",
218
+ "typical_p": 1.0,
219
+ "use_bfloat16": false,
220
+ "use_cache": true,
221
+ "use_weighted_layer_sum": false,
222
+ "vocab_size": 51866
223
+ },
224
+ "whisper_model_id": "openai/whisper-large-v3"
225
+ }
generation_config.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "transformers_version": "4.49.0"
4
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e7053e74ffc9631fffa321ff0f3a26a009b20aa95fecf173631bd79947f2818
3
+ size 396253779