Blancy commited on
Commit
e7038c7
·
verified ·
1 Parent(s): d123151

Model save

Browse files
Files changed (5) hide show
  1. README.md +2 -4
  2. all_results.json +5 -5
  3. model.safetensors +1 -1
  4. train_results.json +5 -5
  5. trainer_state.json +212 -9
README.md CHANGED
@@ -1,11 +1,9 @@
1
  ---
2
  base_model: Qwen/Qwen2.5-1.5B-Instruct
3
- datasets: simplescaling/s1K-1.1
4
  library_name: transformers
5
  model_name: Qwen2.5-1.5B-Open-R1-Distill
6
  tags:
7
  - generated_from_trainer
8
- - open-r1
9
  - trl
10
  - sft
11
  licence: license
@@ -13,7 +11,7 @@ licence: license
13
 
14
  # Model Card for Qwen2.5-1.5B-Open-R1-Distill
15
 
16
- This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct) on the [simplescaling/s1K-1.1](https://huggingface.co/datasets/simplescaling/s1K-1.1) dataset.
17
  It has been trained using [TRL](https://github.com/huggingface/trl).
18
 
19
  ## Quick start
@@ -29,7 +27,7 @@ print(output["generated_text"])
29
 
30
  ## Training procedure
31
 
32
- [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/224015062-chinese-university-of-hong-kong-shenzhen/huggingface/runs/qy2yg8g6)
33
 
34
 
35
  This model was trained with SFT.
 
1
  ---
2
  base_model: Qwen/Qwen2.5-1.5B-Instruct
 
3
  library_name: transformers
4
  model_name: Qwen2.5-1.5B-Open-R1-Distill
5
  tags:
6
  - generated_from_trainer
 
7
  - trl
8
  - sft
9
  licence: license
 
11
 
12
  # Model Card for Qwen2.5-1.5B-Open-R1-Distill
13
 
14
+ This model is a fine-tuned version of [Qwen/Qwen2.5-1.5B-Instruct](https://huggingface.co/Qwen/Qwen2.5-1.5B-Instruct).
15
  It has been trained using [TRL](https://github.com/huggingface/trl).
16
 
17
  ## Quick start
 
27
 
28
  ## Training procedure
29
 
30
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="150" height="24"/>](https://wandb.ai/224015062-chinese-university-of-hong-kong-shenzhen/huggingface/runs/j2a2ufcx)
31
 
32
 
33
  This model was trained with SFT.
all_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "total_flos": 170926276608.0,
3
- "train_loss": 1.3959611256917317,
4
- "train_runtime": 49.4165,
5
  "train_samples": 1000,
6
- "train_samples_per_second": 3.076,
7
- "train_steps_per_second": 0.061
8
  }
 
1
  {
2
+ "total_flos": 8261436702720.0,
3
+ "train_loss": 1.3481066539369781,
4
+ "train_runtime": 309.1787,
5
  "train_samples": 1000,
6
+ "train_samples_per_second": 29.921,
7
+ "train_steps_per_second": 0.469
8
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:228fa871601f6e46f5b0793d77eb47fcfc36df302cdced250fefaa2f0aff6bb0
3
  size 3087467144
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2548c868e72401f8e2a03c6add0193e3bc58c081776254ce0741725677d479fa
3
  size 3087467144
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "total_flos": 170926276608.0,
3
- "train_loss": 1.3959611256917317,
4
- "train_runtime": 49.4165,
5
  "train_samples": 1000,
6
- "train_samples_per_second": 3.076,
7
- "train_steps_per_second": 0.061
8
  }
 
1
  {
2
+ "total_flos": 8261436702720.0,
3
+ "train_loss": 1.3481066539369781,
4
+ "train_runtime": 309.1787,
5
  "train_samples": 1000,
6
+ "train_samples_per_second": 29.921,
7
+ "train_steps_per_second": 0.469
8
  }
trainer_state.json CHANGED
@@ -3,23 +3,226 @@
3
  "best_model_checkpoint": null,
4
  "epoch": 1.0,
5
  "eval_steps": 500,
6
- "global_step": 3,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
10
  "log_history": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  {
12
  "epoch": 1.0,
13
- "step": 3,
14
- "total_flos": 170926276608.0,
15
- "train_loss": 1.3959611256917317,
16
- "train_runtime": 49.4165,
17
- "train_samples_per_second": 3.076,
18
- "train_steps_per_second": 0.061
19
  }
20
  ],
21
  "logging_steps": 5,
22
- "max_steps": 3,
23
  "num_input_tokens_seen": 0,
24
  "num_train_epochs": 1,
25
  "save_steps": 100,
@@ -35,7 +238,7 @@
35
  "attributes": {}
36
  }
37
  },
38
- "total_flos": 170926276608.0,
39
  "train_batch_size": 16,
40
  "trial_name": null,
41
  "trial_params": null
 
3
  "best_model_checkpoint": null,
4
  "epoch": 1.0,
5
  "eval_steps": 500,
6
+ "global_step": 145,
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.034482758620689655,
13
+ "grad_norm": 2.223879312740725,
14
+ "learning_rate": 3.125e-05,
15
+ "loss": 1.6124,
16
+ "step": 5
17
+ },
18
+ {
19
+ "epoch": 0.06896551724137931,
20
+ "grad_norm": 1.8593462844920996,
21
+ "learning_rate": 4.997634107543713e-05,
22
+ "loss": 1.483,
23
+ "step": 10
24
+ },
25
+ {
26
+ "epoch": 0.10344827586206896,
27
+ "grad_norm": 1.2190914332382117,
28
+ "learning_rate": 4.971074924974395e-05,
29
+ "loss": 1.4303,
30
+ "step": 15
31
+ },
32
+ {
33
+ "epoch": 0.13793103448275862,
34
+ "grad_norm": 1.0812975621686058,
35
+ "learning_rate": 4.915349129238729e-05,
36
+ "loss": 1.4119,
37
+ "step": 20
38
+ },
39
+ {
40
+ "epoch": 0.1724137931034483,
41
+ "grad_norm": 1.0386501468781904,
42
+ "learning_rate": 4.8311884978689945e-05,
43
+ "loss": 1.3904,
44
+ "step": 25
45
+ },
46
+ {
47
+ "epoch": 0.20689655172413793,
48
+ "grad_norm": 0.8981832087913736,
49
+ "learning_rate": 4.719698207710602e-05,
50
+ "loss": 1.3854,
51
+ "step": 30
52
+ },
53
+ {
54
+ "epoch": 0.2413793103448276,
55
+ "grad_norm": 0.9863245505204763,
56
+ "learning_rate": 4.582342322009812e-05,
57
+ "loss": 1.3706,
58
+ "step": 35
59
+ },
60
+ {
61
+ "epoch": 0.27586206896551724,
62
+ "grad_norm": 0.8723743249631993,
63
+ "learning_rate": 4.4209245646929606e-05,
64
+ "loss": 1.377,
65
+ "step": 40
66
+ },
67
+ {
68
+ "epoch": 0.3103448275862069,
69
+ "grad_norm": 0.9389609365886089,
70
+ "learning_rate": 4.2375646343046135e-05,
71
+ "loss": 1.354,
72
+ "step": 45
73
+ },
74
+ {
75
+ "epoch": 0.3448275862068966,
76
+ "grad_norm": 0.9078155340095996,
77
+ "learning_rate": 4.034670368644256e-05,
78
+ "loss": 1.37,
79
+ "step": 50
80
+ },
81
+ {
82
+ "epoch": 0.3793103448275862,
83
+ "grad_norm": 0.8030698620747992,
84
+ "learning_rate": 3.8149061256287007e-05,
85
+ "loss": 1.374,
86
+ "step": 55
87
+ },
88
+ {
89
+ "epoch": 0.41379310344827586,
90
+ "grad_norm": 0.8467334234236363,
91
+ "learning_rate": 3.581157795594989e-05,
92
+ "loss": 1.3178,
93
+ "step": 60
94
+ },
95
+ {
96
+ "epoch": 0.4482758620689655,
97
+ "grad_norm": 0.8223111597770548,
98
+ "learning_rate": 3.3364949044936924e-05,
99
+ "loss": 1.3572,
100
+ "step": 65
101
+ },
102
+ {
103
+ "epoch": 0.4827586206896552,
104
+ "grad_norm": 0.8325338686878566,
105
+ "learning_rate": 3.084130305624209e-05,
106
+ "loss": 1.3393,
107
+ "step": 70
108
+ },
109
+ {
110
+ "epoch": 0.5172413793103449,
111
+ "grad_norm": 0.8266000883686835,
112
+ "learning_rate": 2.8273779892303337e-05,
113
+ "loss": 1.2754,
114
+ "step": 75
115
+ },
116
+ {
117
+ "epoch": 0.5517241379310345,
118
+ "grad_norm": 0.7826202562945184,
119
+ "learning_rate": 2.5696095639901996e-05,
120
+ "loss": 1.3357,
121
+ "step": 80
122
+ },
123
+ {
124
+ "epoch": 0.5862068965517241,
125
+ "grad_norm": 0.7673219689160695,
126
+ "learning_rate": 2.314209981875008e-05,
127
+ "loss": 1.349,
128
+ "step": 85
129
+ },
130
+ {
131
+ "epoch": 0.6206896551724138,
132
+ "grad_norm": 0.7415260497592828,
133
+ "learning_rate": 2.0645330877869e-05,
134
+ "loss": 1.3149,
135
+ "step": 90
136
+ },
137
+ {
138
+ "epoch": 0.6551724137931034,
139
+ "grad_norm": 0.743723421645456,
140
+ "learning_rate": 1.8238575776872595e-05,
141
+ "loss": 1.2909,
142
+ "step": 95
143
+ },
144
+ {
145
+ "epoch": 0.6896551724137931,
146
+ "grad_norm": 0.7636915735540463,
147
+ "learning_rate": 1.5953439435625384e-05,
148
+ "loss": 1.311,
149
+ "step": 100
150
+ },
151
+ {
152
+ "epoch": 0.7241379310344828,
153
+ "grad_norm": 0.7633473936950439,
154
+ "learning_rate": 1.3819929706157959e-05,
155
+ "loss": 1.3251,
156
+ "step": 105
157
+ },
158
+ {
159
+ "epoch": 0.7586206896551724,
160
+ "grad_norm": 0.7474290479644277,
161
+ "learning_rate": 1.1866063316886964e-05,
162
+ "loss": 1.3102,
163
+ "step": 110
164
+ },
165
+ {
166
+ "epoch": 0.7931034482758621,
167
+ "grad_norm": 0.7520390376697367,
168
+ "learning_rate": 1.0117497963783762e-05,
169
+ "loss": 1.2939,
170
+ "step": 115
171
+ },
172
+ {
173
+ "epoch": 0.8275862068965517,
174
+ "grad_norm": 0.7145745995851329,
175
+ "learning_rate": 8.597195379780726e-06,
176
+ "loss": 1.3224,
177
+ "step": 120
178
+ },
179
+ {
180
+ "epoch": 0.8620689655172413,
181
+ "grad_norm": 0.6935384011256254,
182
+ "learning_rate": 7.3251198069053465e-06,
183
+ "loss": 1.2729,
184
+ "step": 125
185
+ },
186
+ {
187
+ "epoch": 0.896551724137931,
188
+ "grad_norm": 0.68511709825691,
189
+ "learning_rate": 6.317975830732497e-06,
190
+ "loss": 1.2847,
191
+ "step": 130
192
+ },
193
+ {
194
+ "epoch": 0.9310344827586207,
195
+ "grad_norm": 0.6717353850255624,
196
+ "learning_rate": 5.588989019848609e-06,
197
+ "loss": 1.2687,
198
+ "step": 135
199
+ },
200
+ {
201
+ "epoch": 0.9655172413793104,
202
+ "grad_norm": 0.7112591296225297,
203
+ "learning_rate": 5.147732250916841e-06,
204
+ "loss": 1.3043,
205
+ "step": 140
206
+ },
207
+ {
208
+ "epoch": 1.0,
209
+ "grad_norm": 0.7123736228791405,
210
+ "learning_rate": 5e-06,
211
+ "loss": 1.2627,
212
+ "step": 145
213
+ },
214
  {
215
  "epoch": 1.0,
216
+ "step": 145,
217
+ "total_flos": 8261436702720.0,
218
+ "train_loss": 1.3481066539369781,
219
+ "train_runtime": 309.1787,
220
+ "train_samples_per_second": 29.921,
221
+ "train_steps_per_second": 0.469
222
  }
223
  ],
224
  "logging_steps": 5,
225
+ "max_steps": 145,
226
  "num_input_tokens_seen": 0,
227
  "num_train_epochs": 1,
228
  "save_steps": 100,
 
238
  "attributes": {}
239
  }
240
  },
241
+ "total_flos": 8261436702720.0,
242
  "train_batch_size": 16,
243
  "trial_name": null,
244
  "trial_params": null