Training in progress, step 12
Browse files- adapter_config.json +13 -13
- adapter_model.safetensors +2 -2
- config.json +10 -10
- preprocessor_config.json +8 -14
- tokenizer_config.json +1 -5
- training_args.bin +1 -1
adapter_config.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": {
|
4 |
-
"base_model_class": "
|
5 |
-
"parent_library": "transformers.models.
|
6 |
},
|
7 |
-
"base_model_name_or_path": "facebook/musicgen-
|
8 |
"bias": "none",
|
9 |
"fan_in_fan_out": false,
|
10 |
"inference_mode": true,
|
@@ -24,21 +24,21 @@
|
|
24 |
"revision": null,
|
25 |
"target_modules": [
|
26 |
"embed_tokens.0",
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"fc1",
|
30 |
"q_proj",
|
31 |
-
"embed_tokens.1",
|
32 |
-
"k_proj",
|
33 |
"lm_heads.2",
|
34 |
-
"enc_to_dec_proj",
|
35 |
-
"v_proj",
|
36 |
"audio_enc_to_dec_proj",
|
|
|
37 |
"out_proj",
|
38 |
-
"
|
39 |
-
"
|
|
|
40 |
"lm_heads.1",
|
41 |
-
"fc2"
|
|
|
|
|
|
|
42 |
],
|
43 |
"task_type": null,
|
44 |
"use_dora": false,
|
|
|
1 |
{
|
2 |
"alpha_pattern": {},
|
3 |
"auto_mapping": {
|
4 |
+
"base_model_class": "MusicgenForConditionalGeneration",
|
5 |
+
"parent_library": "transformers.models.musicgen.modeling_musicgen"
|
6 |
},
|
7 |
+
"base_model_name_or_path": "facebook/musicgen-small",
|
8 |
"bias": "none",
|
9 |
"fan_in_fan_out": false,
|
10 |
"inference_mode": true,
|
|
|
24 |
"revision": null,
|
25 |
"target_modules": [
|
26 |
"embed_tokens.0",
|
27 |
+
"embed_tokens.2",
|
28 |
+
"enc_to_dec_proj",
|
|
|
29 |
"q_proj",
|
|
|
|
|
30 |
"lm_heads.2",
|
|
|
|
|
31 |
"audio_enc_to_dec_proj",
|
32 |
+
"v_proj",
|
33 |
"out_proj",
|
34 |
+
"fc1",
|
35 |
+
"lm_heads.0",
|
36 |
+
"k_proj",
|
37 |
"lm_heads.1",
|
38 |
+
"fc2",
|
39 |
+
"embed_tokens.1",
|
40 |
+
"embed_tokens.3",
|
41 |
+
"lm_heads.3"
|
42 |
],
|
43 |
"task_type": null,
|
44 |
"use_dora": false,
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82f5e1ae6bb4d18651b8f9dd23a4aa60a2063a4ba73867bb7abfb54939ad6c79
|
3 |
+
size 42656200
|
config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "facebook/musicgen-
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"audio_encoder": {
|
7 |
"_attn_implementation_autoset": false,
|
@@ -99,7 +99,6 @@
|
|
99 |
"use_causal_conv": false,
|
100 |
"use_conv_shortcut": false
|
101 |
},
|
102 |
-
"chroma_length": 235,
|
103 |
"decoder": {
|
104 |
"_attn_implementation_autoset": false,
|
105 |
"_name_or_path": "",
|
@@ -113,6 +112,7 @@
|
|
113 |
"begin_suppress_tokens": null,
|
114 |
"bos_token_id": 2048,
|
115 |
"chunk_size_feed_forward": 0,
|
|
|
116 |
"cross_attention_hidden_size": null,
|
117 |
"decoder_start_token_id": 2048,
|
118 |
"diversity_penalty": 0.0,
|
@@ -122,11 +122,11 @@
|
|
122 |
"encoder_no_repeat_ngram_size": 0,
|
123 |
"eos_token_id": null,
|
124 |
"exponential_decay_length_penalty": null,
|
125 |
-
"ffn_dim":
|
126 |
"finetuning_task": null,
|
127 |
"forced_bos_token_id": null,
|
128 |
"forced_eos_token_id": null,
|
129 |
-
"hidden_size":
|
130 |
"id2label": {
|
131 |
"0": "LABEL_0",
|
132 |
"1": "LABEL_1"
|
@@ -143,13 +143,13 @@
|
|
143 |
"max_length": 20,
|
144 |
"max_position_embeddings": 2048,
|
145 |
"min_length": 0,
|
146 |
-
"model_type": "
|
147 |
"no_repeat_ngram_size": 0,
|
148 |
-
"num_attention_heads":
|
149 |
"num_beam_groups": 1,
|
150 |
"num_beams": 1,
|
151 |
"num_codebooks": 4,
|
152 |
-
"num_hidden_layers":
|
153 |
"num_return_sequences": 1,
|
154 |
"output_attentions": false,
|
155 |
"output_hidden_states": false,
|
@@ -181,8 +181,8 @@
|
|
181 |
"vocab_size": 2048
|
182 |
},
|
183 |
"decoder_start_token_id": 2048,
|
184 |
-
"
|
185 |
-
"
|
186 |
"pad_token_id": 2048,
|
187 |
"text_encoder": {
|
188 |
"_attn_implementation_autoset": false,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "facebook/musicgen-small",
|
3 |
"architectures": [
|
4 |
+
"MusicgenForConditionalGeneration"
|
5 |
],
|
6 |
"audio_encoder": {
|
7 |
"_attn_implementation_autoset": false,
|
|
|
99 |
"use_causal_conv": false,
|
100 |
"use_conv_shortcut": false
|
101 |
},
|
|
|
102 |
"decoder": {
|
103 |
"_attn_implementation_autoset": false,
|
104 |
"_name_or_path": "",
|
|
|
112 |
"begin_suppress_tokens": null,
|
113 |
"bos_token_id": 2048,
|
114 |
"chunk_size_feed_forward": 0,
|
115 |
+
"classifier_dropout": 0.0,
|
116 |
"cross_attention_hidden_size": null,
|
117 |
"decoder_start_token_id": 2048,
|
118 |
"diversity_penalty": 0.0,
|
|
|
122 |
"encoder_no_repeat_ngram_size": 0,
|
123 |
"eos_token_id": null,
|
124 |
"exponential_decay_length_penalty": null,
|
125 |
+
"ffn_dim": 4096,
|
126 |
"finetuning_task": null,
|
127 |
"forced_bos_token_id": null,
|
128 |
"forced_eos_token_id": null,
|
129 |
+
"hidden_size": 1024,
|
130 |
"id2label": {
|
131 |
"0": "LABEL_0",
|
132 |
"1": "LABEL_1"
|
|
|
143 |
"max_length": 20,
|
144 |
"max_position_embeddings": 2048,
|
145 |
"min_length": 0,
|
146 |
+
"model_type": "musicgen_decoder",
|
147 |
"no_repeat_ngram_size": 0,
|
148 |
+
"num_attention_heads": 16,
|
149 |
"num_beam_groups": 1,
|
150 |
"num_beams": 1,
|
151 |
"num_codebooks": 4,
|
152 |
+
"num_hidden_layers": 24,
|
153 |
"num_return_sequences": 1,
|
154 |
"output_attentions": false,
|
155 |
"output_hidden_states": false,
|
|
|
181 |
"vocab_size": 2048
|
182 |
},
|
183 |
"decoder_start_token_id": 2048,
|
184 |
+
"is_encoder_decoder": true,
|
185 |
+
"model_type": "musicgen",
|
186 |
"pad_token_id": 2048,
|
187 |
"text_encoder": {
|
188 |
"_attn_implementation_autoset": false,
|
preprocessor_config.json
CHANGED
@@ -1,17 +1,11 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"feature_extractor_type": "
|
4 |
-
"feature_size":
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"n_samples": 960000,
|
8 |
-
"padding_side": "right",
|
9 |
"padding_value": 0.0,
|
10 |
-
"processor_class": "
|
11 |
-
"return_attention_mask":
|
12 |
-
"sampling_rate": 32000
|
13 |
-
"stem_indices": [
|
14 |
-
3,
|
15 |
-
2
|
16 |
-
]
|
17 |
}
|
|
|
1 |
{
|
2 |
+
"chunk_length_s": null,
|
3 |
+
"feature_extractor_type": "EncodecFeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"overlap": null,
|
6 |
+
"padding_side": "left",
|
|
|
|
|
7 |
"padding_value": 0.0,
|
8 |
+
"processor_class": "MusicgenProcessor",
|
9 |
+
"return_attention_mask": true,
|
10 |
+
"sampling_rate": 32000
|
|
|
|
|
|
|
|
|
11 |
}
|
tokenizer_config.json
CHANGED
@@ -931,13 +931,9 @@
|
|
931 |
"eos_token": "</s>",
|
932 |
"extra_ids": 100,
|
933 |
"extra_special_tokens": {},
|
934 |
-
"max_length": null,
|
935 |
"model_max_length": 512,
|
936 |
-
"pad_to_multiple_of": null,
|
937 |
"pad_token": "<pad>",
|
938 |
-
"
|
939 |
-
"padding_side": "right",
|
940 |
-
"processor_class": "MusicgenMelodyProcessor",
|
941 |
"tokenizer_class": "T5Tokenizer",
|
942 |
"unk_token": "<unk>"
|
943 |
}
|
|
|
931 |
"eos_token": "</s>",
|
932 |
"extra_ids": 100,
|
933 |
"extra_special_tokens": {},
|
|
|
934 |
"model_max_length": 512,
|
|
|
935 |
"pad_token": "<pad>",
|
936 |
+
"processor_class": "MusicgenProcessor",
|
|
|
|
|
937 |
"tokenizer_class": "T5Tokenizer",
|
938 |
"unk_token": "<unk>"
|
939 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5496
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:922234e6f345a216f8dbd9724f75753c9c265839c522389678ec2c5e0b1d3ad3
|
3 |
size 5496
|