chongjing commited on
Commit
b76a4a1
·
verified ·
1 Parent(s): 4418d5b

Upload composer_performer_config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. composer_performer_config.json +167 -0
composer_performer_config.json ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": {
3
+ "mel_dim": 128,
4
+ "clap_dim": 512,
5
+ "history_patches": 2,
6
+ "performer_clap_conditioning": true,
7
+ "composer_rope": {
8
+ "type": "time_modality_2d",
9
+ "layout": "interleaved",
10
+ "midi_time_scale": 0.4,
11
+ "midi_modality_id": 0,
12
+ "audio_modality_id": 1,
13
+ "clap_modality_id": 1
14
+ },
15
+ "aggregator": {
16
+ "mel_dim": 128,
17
+ "hidden_size": 1024,
18
+ "depth": 4,
19
+ "heads": 8,
20
+ "ff_dim": 4096,
21
+ "patch_size": 5,
22
+ "dropout": 0.1
23
+ },
24
+ "dit": {
25
+ "dim": 1024,
26
+ "depth": 6,
27
+ "heads": 8,
28
+ "dim_head": 128,
29
+ "dropout": 0.1,
30
+ "ff_mult": 4,
31
+ "latent_dim": 128,
32
+ "qk_norm": "rms_norm",
33
+ "pe_attn_head": null,
34
+ "checkpoint_activations": false,
35
+ "enable_conv": true
36
+ }
37
+ },
38
+ "qwen_config": {
39
+ "vocab_size": 151936,
40
+ "max_position_embeddings": 32768,
41
+ "hidden_size": 1024,
42
+ "intermediate_size": 3072,
43
+ "num_hidden_layers": 28,
44
+ "num_attention_heads": 16,
45
+ "use_sliding_window": false,
46
+ "sliding_window": null,
47
+ "max_window_layers": 28,
48
+ "num_key_value_heads": 8,
49
+ "head_dim": 128,
50
+ "hidden_act": "silu",
51
+ "initializer_range": 0.02,
52
+ "rms_norm_eps": 1e-06,
53
+ "use_cache": true,
54
+ "rope_theta": 1000000,
55
+ "rope_scaling": null,
56
+ "attention_bias": false,
57
+ "attention_dropout": 0.0,
58
+ "layer_types": [
59
+ "full_attention",
60
+ "full_attention",
61
+ "full_attention",
62
+ "full_attention",
63
+ "full_attention",
64
+ "full_attention",
65
+ "full_attention",
66
+ "full_attention",
67
+ "full_attention",
68
+ "full_attention",
69
+ "full_attention",
70
+ "full_attention",
71
+ "full_attention",
72
+ "full_attention",
73
+ "full_attention",
74
+ "full_attention",
75
+ "full_attention",
76
+ "full_attention",
77
+ "full_attention",
78
+ "full_attention",
79
+ "full_attention",
80
+ "full_attention",
81
+ "full_attention",
82
+ "full_attention",
83
+ "full_attention",
84
+ "full_attention",
85
+ "full_attention",
86
+ "full_attention"
87
+ ],
88
+ "return_dict": true,
89
+ "output_hidden_states": false,
90
+ "torchscript": false,
91
+ "dtype": "float32",
92
+ "pruned_heads": {},
93
+ "tie_word_embeddings": true,
94
+ "chunk_size_feed_forward": 0,
95
+ "is_encoder_decoder": false,
96
+ "is_decoder": false,
97
+ "cross_attention_hidden_size": null,
98
+ "add_cross_attention": false,
99
+ "tie_encoder_decoder": false,
100
+ "architectures": [
101
+ "Qwen3ForCausalLM"
102
+ ],
103
+ "finetuning_task": null,
104
+ "id2label": {
105
+ "0": "LABEL_0",
106
+ "1": "LABEL_1"
107
+ },
108
+ "label2id": {
109
+ "LABEL_0": 0,
110
+ "LABEL_1": 1
111
+ },
112
+ "task_specific_params": null,
113
+ "problem_type": null,
114
+ "tokenizer_class": null,
115
+ "prefix": null,
116
+ "bos_token_id": 151643,
117
+ "pad_token_id": null,
118
+ "eos_token_id": 151643,
119
+ "sep_token_id": null,
120
+ "decoder_start_token_id": null,
121
+ "max_length": 20,
122
+ "min_length": 0,
123
+ "do_sample": false,
124
+ "early_stopping": false,
125
+ "num_beams": 1,
126
+ "temperature": 1.0,
127
+ "top_k": 50,
128
+ "top_p": 1.0,
129
+ "typical_p": 1.0,
130
+ "repetition_penalty": 1.0,
131
+ "length_penalty": 1.0,
132
+ "no_repeat_ngram_size": 0,
133
+ "encoder_no_repeat_ngram_size": 0,
134
+ "bad_words_ids": null,
135
+ "num_return_sequences": 1,
136
+ "output_scores": false,
137
+ "return_dict_in_generate": false,
138
+ "forced_bos_token_id": null,
139
+ "forced_eos_token_id": null,
140
+ "remove_invalid_values": false,
141
+ "exponential_decay_length_penalty": null,
142
+ "suppress_tokens": null,
143
+ "begin_suppress_tokens": null,
144
+ "num_beam_groups": 1,
145
+ "diversity_penalty": 0.0,
146
+ "transformers_version": "4.57.6",
147
+ "model_type": "qwen3",
148
+ "tf_legacy_loss": false,
149
+ "use_bfloat16": false,
150
+ "output_attentions": false
151
+ },
152
+ "data": {
153
+ "sample_rate": 24000,
154
+ "mel_fps": 50,
155
+ "midi_fps": 25
156
+ },
157
+ "inference": {
158
+ "max_release_duration": 3.0,
159
+ "ode_steps": 10,
160
+ "schedule": "cosine",
161
+ "cfg_scale": 1.0,
162
+ "model_dtype": "bfloat16",
163
+ "max_prompt_duration": 24.0,
164
+ "max_target_duration": 24.0,
165
+ "max_composer_tokens": 4096
166
+ }
167
+ }