End of training
Browse files
README.md
ADDED
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- axolotl
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- data/output_prompt.jsonl
|
8 |
+
model-index:
|
9 |
+
- name: spark-llm-finetune-tj
|
10 |
+
results: []
|
11 |
+
---
|
12 |
+
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
[<img src="https://raw.githubusercontent.com/axolotl-ai-cloud/axolotl/main/image/axolotl-badge-web.png" alt="Built with Axolotl" width="200" height="32"/>](https://github.com/axolotl-ai-cloud/axolotl)
|
17 |
+
<details><summary>See axolotl config</summary>
|
18 |
+
|
19 |
+
axolotl version: `0.9.2`
|
20 |
+
```yaml
|
21 |
+
base_model: pretrained_models/Spark-TTS-0.5B/LLM
|
22 |
+
# Automatically upload checkpoint and final model to HF
|
23 |
+
hub_model_id: muhtasham/spark-llm-finetune-tj
|
24 |
+
|
25 |
+
trust_remote_code: true
|
26 |
+
|
27 |
+
strict: false
|
28 |
+
|
29 |
+
datasets:
|
30 |
+
- path: data/output_prompt.jsonl
|
31 |
+
type: completion
|
32 |
+
|
33 |
+
dataset_prepared_path:
|
34 |
+
val_set_size: 0.05
|
35 |
+
output_dir: ./outputs/out
|
36 |
+
|
37 |
+
|
38 |
+
sequence_len: 4098
|
39 |
+
sample_packing: true
|
40 |
+
eval_sample_packing: true
|
41 |
+
pad_to_sequence_len: true
|
42 |
+
|
43 |
+
wandb_project: spark-tts
|
44 |
+
wandb_entity:
|
45 |
+
wandb_watch:
|
46 |
+
wandb_name:
|
47 |
+
wandb_log_model:
|
48 |
+
|
49 |
+
gradient_accumulation_steps: 4
|
50 |
+
micro_batch_size: 4
|
51 |
+
num_epochs: 50
|
52 |
+
optimizer: adamw_torch_fused
|
53 |
+
lr_scheduler: cosine
|
54 |
+
learning_rate: 0.0002
|
55 |
+
|
56 |
+
train_on_inputs: false
|
57 |
+
group_by_length: false
|
58 |
+
bf16: auto
|
59 |
+
fp16:
|
60 |
+
tf32: true
|
61 |
+
|
62 |
+
gradient_checkpointing: true
|
63 |
+
gradient_checkpointing_kwargs:
|
64 |
+
use_reentrant: false
|
65 |
+
early_stopping_patience:
|
66 |
+
resume_from_checkpoint:
|
67 |
+
local_rank:
|
68 |
+
logging_steps: 50
|
69 |
+
xformers_attention:
|
70 |
+
flash_attention: true
|
71 |
+
|
72 |
+
warmup_steps: 10
|
73 |
+
evals_per_epoch: 1
|
74 |
+
save_steps: 5000
|
75 |
+
debug:
|
76 |
+
deepspeed:
|
77 |
+
weight_decay: 0.0
|
78 |
+
|
79 |
+
```
|
80 |
+
|
81 |
+
</details><br>
|
82 |
+
|
83 |
+
# spark-llm-finetune-tj
|
84 |
+
|
85 |
+
This model was trained from scratch on the data/output_prompt.jsonl dataset.
|
86 |
+
It achieves the following results on the evaluation set:
|
87 |
+
- Loss: 5.2546
|
88 |
+
|
89 |
+
## Model description
|
90 |
+
|
91 |
+
More information needed
|
92 |
+
|
93 |
+
## Intended uses & limitations
|
94 |
+
|
95 |
+
More information needed
|
96 |
+
|
97 |
+
## Training and evaluation data
|
98 |
+
|
99 |
+
More information needed
|
100 |
+
|
101 |
+
## Training procedure
|
102 |
+
|
103 |
+
### Training hyperparameters
|
104 |
+
|
105 |
+
The following hyperparameters were used during training:
|
106 |
+
- learning_rate: 0.0002
|
107 |
+
- train_batch_size: 4
|
108 |
+
- eval_batch_size: 4
|
109 |
+
- seed: 42
|
110 |
+
- gradient_accumulation_steps: 4
|
111 |
+
- total_train_batch_size: 16
|
112 |
+
- optimizer: Use adamw_torch_fused with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
113 |
+
- lr_scheduler_type: cosine
|
114 |
+
- lr_scheduler_warmup_steps: 10
|
115 |
+
- num_epochs: 50.0
|
116 |
+
|
117 |
+
### Training results
|
118 |
+
|
119 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
120 |
+
|:-------------:|:-------:|:----:|:---------------:|
|
121 |
+
| No log | 0.0088 | 1 | 9.9240 |
|
122 |
+
| 5.5236 | 0.9978 | 114 | 5.5667 |
|
123 |
+
| 5.0799 | 1.9891 | 228 | 5.3932 |
|
124 |
+
| 4.9292 | 2.9803 | 342 | 5.3107 |
|
125 |
+
| 4.7729 | 3.9716 | 456 | 5.2529 |
|
126 |
+
| 4.7022 | 4.9628 | 570 | 5.2174 |
|
127 |
+
| 4.6598 | 5.9540 | 684 | 5.1988 |
|
128 |
+
| 4.6176 | 6.9453 | 798 | 5.1833 |
|
129 |
+
| 4.5814 | 7.9365 | 912 | 5.1737 |
|
130 |
+
| 4.5422 | 8.9278 | 1026 | 5.1687 |
|
131 |
+
| 4.506 | 9.9190 | 1140 | 5.1643 |
|
132 |
+
| 4.492 | 10.9103 | 1254 | 5.1646 |
|
133 |
+
| 4.4605 | 11.9015 | 1368 | 5.1670 |
|
134 |
+
| 4.4384 | 12.8928 | 1482 | 5.1699 |
|
135 |
+
| 4.4151 | 13.8840 | 1596 | 5.1751 |
|
136 |
+
| 4.4053 | 14.8753 | 1710 | 5.1766 |
|
137 |
+
| 4.3875 | 15.8665 | 1824 | 5.1807 |
|
138 |
+
| 4.3684 | 16.8578 | 1938 | 5.1879 |
|
139 |
+
| 4.3624 | 17.8490 | 2052 | 5.1921 |
|
140 |
+
| 4.3413 | 18.8403 | 2166 | 5.1983 |
|
141 |
+
| 4.3302 | 19.8315 | 2280 | 5.2020 |
|
142 |
+
| 4.3179 | 20.8228 | 2394 | 5.2081 |
|
143 |
+
| 4.3152 | 21.8140 | 2508 | 5.2157 |
|
144 |
+
| 4.306 | 22.8053 | 2622 | 5.2180 |
|
145 |
+
| 4.2989 | 23.7965 | 2736 | 5.2243 |
|
146 |
+
| 4.2982 | 24.7877 | 2850 | 5.2282 |
|
147 |
+
| 4.2862 | 25.7790 | 2964 | 5.2328 |
|
148 |
+
| 4.2827 | 26.7702 | 3078 | 5.2339 |
|
149 |
+
| 4.2775 | 27.7615 | 3192 | 5.2368 |
|
150 |
+
| 4.2802 | 28.7527 | 3306 | 5.2417 |
|
151 |
+
| 4.2686 | 29.7440 | 3420 | 5.2434 |
|
152 |
+
| 4.2713 | 30.7352 | 3534 | 5.2432 |
|
153 |
+
| 4.2689 | 31.7265 | 3648 | 5.2476 |
|
154 |
+
| 4.2687 | 32.7177 | 3762 | 5.2481 |
|
155 |
+
| 4.2651 | 33.7090 | 3876 | 5.2508 |
|
156 |
+
| 4.266 | 34.7002 | 3990 | 5.2509 |
|
157 |
+
| 4.2644 | 35.6915 | 4104 | 5.2517 |
|
158 |
+
| 4.2626 | 36.6827 | 4218 | 5.2517 |
|
159 |
+
| 4.2646 | 37.6740 | 4332 | 5.2525 |
|
160 |
+
| 4.2617 | 38.6652 | 4446 | 5.2524 |
|
161 |
+
| 4.2603 | 39.6565 | 4560 | 5.2544 |
|
162 |
+
| 4.2633 | 40.6477 | 4674 | 5.2537 |
|
163 |
+
| 4.2561 | 41.6389 | 4788 | 5.2522 |
|
164 |
+
| 4.2612 | 42.6302 | 4902 | 5.2546 |
|
165 |
+
| 4.2618 | 43.6214 | 5016 | 5.2530 |
|
166 |
+
| 4.2602 | 44.6127 | 5130 | 5.2540 |
|
167 |
+
| 4.2619 | 45.6039 | 5244 | 5.2543 |
|
168 |
+
| 4.263 | 46.5952 | 5358 | 5.2549 |
|
169 |
+
| 4.2625 | 47.5864 | 5472 | 5.2547 |
|
170 |
+
| 4.2611 | 48.5777 | 5586 | 5.2545 |
|
171 |
+
| 4.2621 | 49.5689 | 5700 | 5.2546 |
|
172 |
+
|
173 |
+
|
174 |
+
### Framework versions
|
175 |
+
|
176 |
+
- Transformers 4.51.3
|
177 |
+
- Pytorch 2.7.1+cu126
|
178 |
+
- Datasets 3.5.1
|
179 |
+
- Tokenizers 0.21.1
|