minpeter commited on
Commit
ec89629
·
verified ·
1 Parent(s): 4fc1cf3

End of training

Browse files
Files changed (1) hide show
  1. README.md +245 -0
README.md ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ base_model: minpeter/tiny-ko-124m-base-muon
4
+ tags:
5
+ - axolotl
6
+ - generated_from_trainer
7
+ datasets:
8
+ - HuggingFaceTB/smol-smoltalk
9
+ - trillionlabs/multisystem-curated
10
+ - allenai/tulu-3-sft-personas-instruction-following
11
+ - lemon-mint/smol-koreantalk
12
+ - lemon-mint/Korean-FineTome-100k
13
+ - heegyu/open-korean-instructions-v20231020
14
+ - coastral/korean-writing-style-instruct
15
+ - devngho/korean-instruction-mix
16
+ model-index:
17
+ - name: tiny-ko-124m-sft-muon
18
+ results: []
19
+ ---
20
+
21
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
22
+ should probably proofread and complete it, then remove this comment. -->
23
+
24
+ [<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)
25
+ <details><summary>See axolotl config</summary>
26
+
27
+ axolotl version: `0.12.0.dev0`
28
+ ```yaml
29
+ base_model: minpeter/tiny-ko-124m-base-muon
30
+
31
+ hub_model_id: minpeter/tiny-ko-124m-sft-muon
32
+ output_dir: ./outputs/tiny-ko-124m-sft-muon
33
+ wandb_project: "axolotl"
34
+ wandb_entity: "kasfiekfs-e"
35
+
36
+ model_type: LlamaForCausalLM
37
+ tokenizer_type: AutoTokenizer
38
+
39
+ strict: false
40
+
41
+ chat_template: chatml
42
+ datasets:
43
+ - path: HuggingFaceTB/smol-smoltalk
44
+ type: chat_template
45
+ split: train
46
+ field_messages: messages
47
+ message_property_mappings:
48
+ role: role
49
+ content: content
50
+
51
+ - path: trillionlabs/multisystem-curated
52
+ type: chat_template
53
+ split: train
54
+ field_messages: messages
55
+ message_property_mappings:
56
+ role: role
57
+ content: content
58
+
59
+ - path: allenai/tulu-3-sft-personas-instruction-following
60
+ type: chat_template
61
+ split: train
62
+ field_messages: messages
63
+ message_property_mappings:
64
+ role: role
65
+ content: content
66
+
67
+ - path: lemon-mint/smol-koreantalk
68
+ type: chat_template
69
+ split: train
70
+ field_messages: messages
71
+ message_property_mappings:
72
+ role: role
73
+ content: content
74
+
75
+ - path: lemon-mint/Korean-FineTome-100k
76
+ type: chat_template
77
+ split: train
78
+ field_messages: messages
79
+ message_property_mappings:
80
+ role: role
81
+ content: content
82
+
83
+ - path: heegyu/open-korean-instructions-v20231020
84
+ type: chat_template
85
+ split: train
86
+ field_messages: conversations
87
+ message_property_mappings:
88
+ role: from
89
+ content: value
90
+ roles:
91
+ user: ["human", "user"]
92
+ assistant: ["gpt", "assistant", "bot"]
93
+ system: ["system", "input"]
94
+
95
+ - path: coastral/korean-writing-style-instruct
96
+ type: chat_template
97
+ split: train
98
+ field_messages: conversations
99
+ message_property_mappings:
100
+ role: from
101
+ content: value
102
+
103
+ - path: devngho/korean-instruction-mix
104
+ type: chat_template
105
+ split: train
106
+ field_messages: messages
107
+ message_property_mappings:
108
+ role: from
109
+ content: value
110
+
111
+ dataset_prepared_path: last_run_prepared
112
+ val_set_size: 0.001
113
+ save_safetensors: true
114
+ sequence_len: 2048
115
+ sample_packing: false
116
+ pad_to_sequence_len: false
117
+ use_pose: true
118
+ pose_max_context_len: 65536
119
+
120
+ overrides_of_model_config:
121
+ rope_theta: 10000.0
122
+ max_position_embeddings: 65536
123
+
124
+ gradient_accumulation_steps: 8
125
+ micro_batch_size: 32
126
+ num_epochs: 1
127
+ optimizer: muon
128
+ lr_scheduler: cosine
129
+ learning_rate: 3e-4
130
+
131
+ train_on_inputs: false
132
+ group_by_length: false
133
+ bf16: true
134
+ fp16:
135
+ tf32: true
136
+
137
+ gradient_checkpointing: false
138
+ gradient_checkpointing_kwargs:
139
+ use_reentrant: true
140
+ early_stopping_patience:
141
+ resume_from_checkpoint:
142
+ local_rank:
143
+ logging_steps: 1
144
+ xformers_attention:
145
+ flash_attention: true
146
+ sdp_attention:
147
+ s2_attention:
148
+
149
+ save_steps: 200
150
+ warmup_steps: 20
151
+ eval_steps: 200
152
+ debug:
153
+ deepspeed:
154
+ weight_decay: 0.0
155
+ fsdp:
156
+ fsdp_config:
157
+
158
+ ```
159
+
160
+ </details><br>
161
+
162
+ # tiny-ko-124m-sft-muon
163
+
164
+ This model is a fine-tuned version of [minpeter/tiny-ko-124m-base-muon](https://huggingface.co/minpeter/tiny-ko-124m-base-muon) on the HuggingFaceTB/smol-smoltalk, the trillionlabs/multisystem-curated, the allenai/tulu-3-sft-personas-instruction-following, the lemon-mint/smol-koreantalk, the lemon-mint/Korean-FineTome-100k, the heegyu/open-korean-instructions-v20231020, the coastral/korean-writing-style-instruct and the devngho/korean-instruction-mix datasets.
165
+ It achieves the following results on the evaluation set:
166
+ - Loss: 1.6461
167
+
168
+ ## Model description
169
+
170
+ More information needed
171
+
172
+ ## Intended uses & limitations
173
+
174
+ More information needed
175
+
176
+ ## Training and evaluation data
177
+
178
+ More information needed
179
+
180
+ ## Training procedure
181
+
182
+ ### Training hyperparameters
183
+
184
+ The following hyperparameters were used during training:
185
+ - learning_rate: 0.0003
186
+ - train_batch_size: 32
187
+ - eval_batch_size: 32
188
+ - seed: 42
189
+ - distributed_type: multi-GPU
190
+ - num_devices: 4
191
+ - gradient_accumulation_steps: 8
192
+ - total_train_batch_size: 1024
193
+ - total_eval_batch_size: 128
194
+ - optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
195
+ - lr_scheduler_type: cosine
196
+ - lr_scheduler_warmup_steps: 20
197
+ - training_steps: 6865
198
+
199
+ ### Training results
200
+
201
+ | Training Loss | Epoch | Step | Validation Loss |
202
+ |:-------------:|:------:|:----:|:---------------:|
203
+ | No log | 0 | 0 | 2.4581 |
204
+ | 1.8892 | 0.1165 | 200 | 1.9059 |
205
+ | 1.802 | 0.2331 | 400 | 1.8333 |
206
+ | 1.7906 | 0.3496 | 600 | 1.7918 |
207
+ | 1.7761 | 0.4661 | 800 | 1.7638 |
208
+ | 1.7145 | 0.5827 | 1000 | 1.7423 |
209
+ | 1.7114 | 0.6992 | 1200 | 1.7255 |
210
+ | 1.6798 | 0.8157 | 1400 | 1.7123 |
211
+ | 1.6722 | 0.9323 | 1600 | 1.7006 |
212
+ | 1.6821 | 1.0484 | 1800 | 1.6928 |
213
+ | 1.6414 | 1.1649 | 2000 | 1.6864 |
214
+ | 1.6473 | 1.2814 | 2200 | 1.6794 |
215
+ | 1.6202 | 1.3980 | 2400 | 1.6729 |
216
+ | 1.6141 | 1.5145 | 2600 | 1.6689 |
217
+ | 1.6415 | 1.6310 | 2800 | 1.6645 |
218
+ | 1.6165 | 1.7476 | 3000 | 1.6603 |
219
+ | 1.6292 | 1.8641 | 3200 | 1.6573 |
220
+ | 1.6277 | 1.9806 | 3400 | 1.6541 |
221
+ | 1.6033 | 2.0967 | 3600 | 1.6537 |
222
+ | 1.6432 | 2.2133 | 3800 | 1.6517 |
223
+ | 1.602 | 2.3298 | 4000 | 1.6505 |
224
+ | 1.6435 | 2.4463 | 4200 | 1.6493 |
225
+ | 1.5941 | 2.5629 | 4400 | 1.6481 |
226
+ | 1.594 | 2.6794 | 4600 | 1.6473 |
227
+ | 1.5986 | 2.7959 | 4800 | 1.6468 |
228
+ | 1.586 | 2.9125 | 5000 | 1.6464 |
229
+ | 1.6146 | 3.0286 | 5200 | 1.6462 |
230
+ | 1.5985 | 3.1451 | 5400 | 1.6462 |
231
+ | 1.574 | 3.2616 | 5600 | 1.6462 |
232
+ | 1.5823 | 3.3782 | 5800 | 1.6460 |
233
+ | 1.597 | 3.4947 | 6000 | 1.6460 |
234
+ | 1.5859 | 3.6112 | 6200 | 1.6460 |
235
+ | 1.5769 | 3.7277 | 6400 | 1.6459 |
236
+ | 1.572 | 3.8443 | 6600 | 1.6459 |
237
+ | 1.6111 | 3.9608 | 6800 | 1.6461 |
238
+
239
+
240
+ ### Framework versions
241
+
242
+ - Transformers 4.53.1
243
+ - Pytorch 2.6.0+cu124
244
+ - Datasets 3.6.0
245
+ - Tokenizers 0.21.1