mohammadhossein
commited on
Commit
•
ec55243
1
Parent(s):
0684a74
End of training
Browse files- README.md +3 -1
- trainer_state.json +378 -0
README.md
CHANGED
@@ -3,6 +3,8 @@ library_name: peft
|
|
3 |
license: cc-by-nc-4.0
|
4 |
base_model: facebook/musicgen-melody
|
5 |
tags:
|
|
|
|
|
6 |
- generated_from_trainer
|
7 |
model-index:
|
8 |
- name: musicgen-melody-lora
|
@@ -14,7 +16,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
14 |
|
15 |
# musicgen-melody-lora
|
16 |
|
17 |
-
This model is a fine-tuned version of [facebook/musicgen-melody](https://huggingface.co/facebook/musicgen-melody) on
|
18 |
|
19 |
## Model description
|
20 |
|
|
|
3 |
license: cc-by-nc-4.0
|
4 |
base_model: facebook/musicgen-melody
|
5 |
tags:
|
6 |
+
- text-to-audio
|
7 |
+
- 500-persian
|
8 |
- generated_from_trainer
|
9 |
model-index:
|
10 |
- name: musicgen-melody-lora
|
|
|
16 |
|
17 |
# musicgen-melody-lora
|
18 |
|
19 |
+
This model is a fine-tuned version of [facebook/musicgen-melody](https://huggingface.co/facebook/musicgen-melody) on the mohammadhossein/500sample_16k_captioned dataset.
|
20 |
|
21 |
## Model description
|
22 |
|
trainer_state.json
ADDED
@@ -0,0 +1,378 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.9384615384615387,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 96,
|
7 |
+
"is_hyper_param_search": false,
|
8 |
+
"is_local_process_zero": true,
|
9 |
+
"is_world_process_zero": true,
|
10 |
+
"log_history": [
|
11 |
+
{
|
12 |
+
"epoch": 0.08205128205128205,
|
13 |
+
"grad_norm": 8.876763343811035,
|
14 |
+
"learning_rate": 0.00019583333333333334,
|
15 |
+
"loss": 9.5477,
|
16 |
+
"step": 2
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.1641025641025641,
|
20 |
+
"grad_norm": 14.638631820678711,
|
21 |
+
"learning_rate": 0.00019166666666666667,
|
22 |
+
"loss": 9.1151,
|
23 |
+
"step": 4
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.24615384615384617,
|
27 |
+
"grad_norm": 13.725289344787598,
|
28 |
+
"learning_rate": 0.0001875,
|
29 |
+
"loss": 8.4628,
|
30 |
+
"step": 6
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.3282051282051282,
|
34 |
+
"grad_norm": 18.06307601928711,
|
35 |
+
"learning_rate": 0.00018333333333333334,
|
36 |
+
"loss": 7.935,
|
37 |
+
"step": 8
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.41025641025641024,
|
41 |
+
"grad_norm": 17.5152587890625,
|
42 |
+
"learning_rate": 0.0001791666666666667,
|
43 |
+
"loss": 7.6244,
|
44 |
+
"step": 10
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.49230769230769234,
|
48 |
+
"grad_norm": 10.584898948669434,
|
49 |
+
"learning_rate": 0.000175,
|
50 |
+
"loss": 7.3313,
|
51 |
+
"step": 12
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.5743589743589743,
|
55 |
+
"grad_norm": 14.065106391906738,
|
56 |
+
"learning_rate": 0.00017083333333333333,
|
57 |
+
"loss": 7.1131,
|
58 |
+
"step": 14
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.6564102564102564,
|
62 |
+
"grad_norm": 9.009326934814453,
|
63 |
+
"learning_rate": 0.0001666666666666667,
|
64 |
+
"loss": 7.1038,
|
65 |
+
"step": 16
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.7384615384615385,
|
69 |
+
"grad_norm": 6.479495525360107,
|
70 |
+
"learning_rate": 0.00016250000000000002,
|
71 |
+
"loss": 6.9424,
|
72 |
+
"step": 18
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.8205128205128205,
|
76 |
+
"grad_norm": 5.650105953216553,
|
77 |
+
"learning_rate": 0.00015833333333333332,
|
78 |
+
"loss": 6.9944,
|
79 |
+
"step": 20
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.9025641025641026,
|
83 |
+
"grad_norm": 8.514379501342773,
|
84 |
+
"learning_rate": 0.00015416666666666668,
|
85 |
+
"loss": 6.8316,
|
86 |
+
"step": 22
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.9846153846153847,
|
90 |
+
"grad_norm": 8.760089874267578,
|
91 |
+
"learning_rate": 0.00015000000000000001,
|
92 |
+
"loss": 6.9918,
|
93 |
+
"step": 24
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 1.0666666666666667,
|
97 |
+
"grad_norm": 6.9720869064331055,
|
98 |
+
"learning_rate": 0.00014583333333333335,
|
99 |
+
"loss": 6.7947,
|
100 |
+
"step": 26
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 1.1487179487179486,
|
104 |
+
"grad_norm": 7.793176174163818,
|
105 |
+
"learning_rate": 0.00014166666666666668,
|
106 |
+
"loss": 6.8732,
|
107 |
+
"step": 28
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 1.2307692307692308,
|
111 |
+
"grad_norm": 4.848390102386475,
|
112 |
+
"learning_rate": 0.0001375,
|
113 |
+
"loss": 6.8486,
|
114 |
+
"step": 30
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 1.3128205128205128,
|
118 |
+
"grad_norm": 4.971543788909912,
|
119 |
+
"learning_rate": 0.00013333333333333334,
|
120 |
+
"loss": 6.7634,
|
121 |
+
"step": 32
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 1.3948717948717948,
|
125 |
+
"grad_norm": 8.622535705566406,
|
126 |
+
"learning_rate": 0.00012916666666666667,
|
127 |
+
"loss": 6.927,
|
128 |
+
"step": 34
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 1.476923076923077,
|
132 |
+
"grad_norm": 5.5455780029296875,
|
133 |
+
"learning_rate": 0.000125,
|
134 |
+
"loss": 6.8502,
|
135 |
+
"step": 36
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 1.558974358974359,
|
139 |
+
"grad_norm": 8.031872749328613,
|
140 |
+
"learning_rate": 0.00012083333333333333,
|
141 |
+
"loss": 6.6609,
|
142 |
+
"step": 38
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 1.641025641025641,
|
146 |
+
"grad_norm": 4.131848335266113,
|
147 |
+
"learning_rate": 0.00011666666666666668,
|
148 |
+
"loss": 6.7818,
|
149 |
+
"step": 40
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.7230769230769232,
|
153 |
+
"grad_norm": 4.26460599899292,
|
154 |
+
"learning_rate": 0.00011250000000000001,
|
155 |
+
"loss": 6.8535,
|
156 |
+
"step": 42
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 1.8051282051282052,
|
160 |
+
"grad_norm": 6.2603583335876465,
|
161 |
+
"learning_rate": 0.00010833333333333333,
|
162 |
+
"loss": 6.7652,
|
163 |
+
"step": 44
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 1.8871794871794871,
|
167 |
+
"grad_norm": 6.9018964767456055,
|
168 |
+
"learning_rate": 0.00010416666666666667,
|
169 |
+
"loss": 6.8772,
|
170 |
+
"step": 46
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 1.9692307692307693,
|
174 |
+
"grad_norm": 5.591540813446045,
|
175 |
+
"learning_rate": 0.0001,
|
176 |
+
"loss": 6.8769,
|
177 |
+
"step": 48
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 2.051282051282051,
|
181 |
+
"grad_norm": 8.05819320678711,
|
182 |
+
"learning_rate": 9.583333333333334e-05,
|
183 |
+
"loss": 6.6865,
|
184 |
+
"step": 50
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 2.1333333333333333,
|
188 |
+
"grad_norm": 5.486148834228516,
|
189 |
+
"learning_rate": 9.166666666666667e-05,
|
190 |
+
"loss": 6.8715,
|
191 |
+
"step": 52
|
192 |
+
},
|
193 |
+
{
|
194 |
+
"epoch": 2.2153846153846155,
|
195 |
+
"grad_norm": 7.930551528930664,
|
196 |
+
"learning_rate": 8.75e-05,
|
197 |
+
"loss": 6.8346,
|
198 |
+
"step": 54
|
199 |
+
},
|
200 |
+
{
|
201 |
+
"epoch": 2.2974358974358973,
|
202 |
+
"grad_norm": 4.514185905456543,
|
203 |
+
"learning_rate": 8.333333333333334e-05,
|
204 |
+
"loss": 6.7591,
|
205 |
+
"step": 56
|
206 |
+
},
|
207 |
+
{
|
208 |
+
"epoch": 2.3794871794871795,
|
209 |
+
"grad_norm": 6.322687149047852,
|
210 |
+
"learning_rate": 7.916666666666666e-05,
|
211 |
+
"loss": 6.7531,
|
212 |
+
"step": 58
|
213 |
+
},
|
214 |
+
{
|
215 |
+
"epoch": 2.4615384615384617,
|
216 |
+
"grad_norm": 4.071617603302002,
|
217 |
+
"learning_rate": 7.500000000000001e-05,
|
218 |
+
"loss": 6.8126,
|
219 |
+
"step": 60
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 2.5435897435897434,
|
223 |
+
"grad_norm": 6.385562419891357,
|
224 |
+
"learning_rate": 7.083333333333334e-05,
|
225 |
+
"loss": 6.6341,
|
226 |
+
"step": 62
|
227 |
+
},
|
228 |
+
{
|
229 |
+
"epoch": 2.6256410256410256,
|
230 |
+
"grad_norm": 5.388179779052734,
|
231 |
+
"learning_rate": 6.666666666666667e-05,
|
232 |
+
"loss": 6.7812,
|
233 |
+
"step": 64
|
234 |
+
},
|
235 |
+
{
|
236 |
+
"epoch": 2.707692307692308,
|
237 |
+
"grad_norm": 3.850942850112915,
|
238 |
+
"learning_rate": 6.25e-05,
|
239 |
+
"loss": 6.7739,
|
240 |
+
"step": 66
|
241 |
+
},
|
242 |
+
{
|
243 |
+
"epoch": 2.7897435897435896,
|
244 |
+
"grad_norm": 6.017411231994629,
|
245 |
+
"learning_rate": 5.833333333333334e-05,
|
246 |
+
"loss": 6.6202,
|
247 |
+
"step": 68
|
248 |
+
},
|
249 |
+
{
|
250 |
+
"epoch": 2.871794871794872,
|
251 |
+
"grad_norm": 4.091090679168701,
|
252 |
+
"learning_rate": 5.4166666666666664e-05,
|
253 |
+
"loss": 6.7726,
|
254 |
+
"step": 70
|
255 |
+
},
|
256 |
+
{
|
257 |
+
"epoch": 2.953846153846154,
|
258 |
+
"grad_norm": 5.818283557891846,
|
259 |
+
"learning_rate": 5e-05,
|
260 |
+
"loss": 6.7549,
|
261 |
+
"step": 72
|
262 |
+
},
|
263 |
+
{
|
264 |
+
"epoch": 3.0358974358974358,
|
265 |
+
"grad_norm": 6.205195903778076,
|
266 |
+
"learning_rate": 4.5833333333333334e-05,
|
267 |
+
"loss": 6.7979,
|
268 |
+
"step": 74
|
269 |
+
},
|
270 |
+
{
|
271 |
+
"epoch": 3.117948717948718,
|
272 |
+
"grad_norm": 3.819091320037842,
|
273 |
+
"learning_rate": 4.166666666666667e-05,
|
274 |
+
"loss": 6.7187,
|
275 |
+
"step": 76
|
276 |
+
},
|
277 |
+
{
|
278 |
+
"epoch": 3.2,
|
279 |
+
"grad_norm": 3.546342611312866,
|
280 |
+
"learning_rate": 3.7500000000000003e-05,
|
281 |
+
"loss": 6.8922,
|
282 |
+
"step": 78
|
283 |
+
},
|
284 |
+
{
|
285 |
+
"epoch": 3.282051282051282,
|
286 |
+
"grad_norm": 3.590898275375366,
|
287 |
+
"learning_rate": 3.541666666666667e-05,
|
288 |
+
"loss": 6.6631,
|
289 |
+
"step": 80
|
290 |
+
},
|
291 |
+
{
|
292 |
+
"epoch": 3.364102564102564,
|
293 |
+
"grad_norm": 5.197542667388916,
|
294 |
+
"learning_rate": 3.125e-05,
|
295 |
+
"loss": 6.8214,
|
296 |
+
"step": 82
|
297 |
+
},
|
298 |
+
{
|
299 |
+
"epoch": 3.4461538461538463,
|
300 |
+
"grad_norm": 8.915237426757812,
|
301 |
+
"learning_rate": 2.7083333333333332e-05,
|
302 |
+
"loss": 6.6971,
|
303 |
+
"step": 84
|
304 |
+
},
|
305 |
+
{
|
306 |
+
"epoch": 3.528205128205128,
|
307 |
+
"grad_norm": 7.203217029571533,
|
308 |
+
"learning_rate": 2.2916666666666667e-05,
|
309 |
+
"loss": 6.6676,
|
310 |
+
"step": 86
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 3.6102564102564103,
|
314 |
+
"grad_norm": 4.247269630432129,
|
315 |
+
"learning_rate": 1.8750000000000002e-05,
|
316 |
+
"loss": 6.7764,
|
317 |
+
"step": 88
|
318 |
+
},
|
319 |
+
{
|
320 |
+
"epoch": 3.6923076923076925,
|
321 |
+
"grad_norm": 4.6499176025390625,
|
322 |
+
"learning_rate": 1.4583333333333335e-05,
|
323 |
+
"loss": 6.8644,
|
324 |
+
"step": 90
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 3.7743589743589743,
|
328 |
+
"grad_norm": 5.579225063323975,
|
329 |
+
"learning_rate": 1.0416666666666668e-05,
|
330 |
+
"loss": 6.6546,
|
331 |
+
"step": 92
|
332 |
+
},
|
333 |
+
{
|
334 |
+
"epoch": 3.8564102564102565,
|
335 |
+
"grad_norm": 3.8157854080200195,
|
336 |
+
"learning_rate": 6.25e-06,
|
337 |
+
"loss": 6.6051,
|
338 |
+
"step": 94
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 3.9384615384615387,
|
342 |
+
"grad_norm": 4.765449523925781,
|
343 |
+
"learning_rate": 2.0833333333333334e-06,
|
344 |
+
"loss": 6.6474,
|
345 |
+
"step": 96
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 3.9384615384615387,
|
349 |
+
"step": 96,
|
350 |
+
"total_flos": 963923732562624.0,
|
351 |
+
"train_loss": 6.994301348924637,
|
352 |
+
"train_runtime": 2104.8364,
|
353 |
+
"train_samples_per_second": 0.741,
|
354 |
+
"train_steps_per_second": 0.046
|
355 |
+
}
|
356 |
+
],
|
357 |
+
"logging_steps": 2,
|
358 |
+
"max_steps": 96,
|
359 |
+
"num_input_tokens_seen": 0,
|
360 |
+
"num_train_epochs": 4,
|
361 |
+
"save_steps": 500,
|
362 |
+
"stateful_callbacks": {
|
363 |
+
"TrainerControl": {
|
364 |
+
"args": {
|
365 |
+
"should_epoch_stop": false,
|
366 |
+
"should_evaluate": false,
|
367 |
+
"should_log": false,
|
368 |
+
"should_save": true,
|
369 |
+
"should_training_stop": true
|
370 |
+
},
|
371 |
+
"attributes": {}
|
372 |
+
}
|
373 |
+
},
|
374 |
+
"total_flos": 963923732562624.0,
|
375 |
+
"train_batch_size": 2,
|
376 |
+
"trial_name": null,
|
377 |
+
"trial_params": null
|
378 |
+
}
|