GaetanMichelet
commited on
Commit
•
2db4ea3
1
Parent(s):
9e1c259
Model save
Browse files- README.md +78 -0
- adapter_model.safetensors +1 -1
- all_results.json +9 -0
- train_results.json +9 -0
- trainer_state.json +709 -0
README.md
ADDED
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: google/gemma-2-2b-it
|
3 |
+
library_name: peft
|
4 |
+
license: gemma
|
5 |
+
tags:
|
6 |
+
- trl
|
7 |
+
- sft
|
8 |
+
- generated_from_trainer
|
9 |
+
model-index:
|
10 |
+
- name: Gemma-2-2B_task-3_120-samples_config-1_full
|
11 |
+
results: []
|
12 |
+
---
|
13 |
+
|
14 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
15 |
+
should probably proofread and complete it, then remove this comment. -->
|
16 |
+
|
17 |
+
# Gemma-2-2B_task-3_120-samples_config-1_full
|
18 |
+
|
19 |
+
This model is a fine-tuned version of [google/gemma-2-2b-it](https://huggingface.co/google/gemma-2-2b-it) on the None dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.3615
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0001
|
41 |
+
- train_batch_size: 1
|
42 |
+
- eval_batch_size: 1
|
43 |
+
- seed: 42
|
44 |
+
- distributed_type: multi-GPU
|
45 |
+
- gradient_accumulation_steps: 8
|
46 |
+
- total_train_batch_size: 8
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: cosine
|
49 |
+
- lr_scheduler_warmup_ratio: 0.1
|
50 |
+
- num_epochs: 50
|
51 |
+
|
52 |
+
### Training results
|
53 |
+
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
55 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
56 |
+
| 1.3447 | 1.0 | 11 | 1.3663 |
|
57 |
+
| 1.1652 | 2.0 | 22 | 1.2194 |
|
58 |
+
| 1.1036 | 3.0 | 33 | 1.0959 |
|
59 |
+
| 1.021 | 4.0 | 44 | 0.9977 |
|
60 |
+
| 0.9434 | 5.0 | 55 | 0.9632 |
|
61 |
+
| 0.8982 | 6.0 | 66 | 0.9467 |
|
62 |
+
| 0.8566 | 7.0 | 77 | 0.9431 |
|
63 |
+
| 0.8274 | 8.0 | 88 | 0.9472 |
|
64 |
+
| 0.75 | 9.0 | 99 | 0.9635 |
|
65 |
+
| 0.6436 | 10.0 | 110 | 1.0183 |
|
66 |
+
| 0.6415 | 11.0 | 121 | 1.0607 |
|
67 |
+
| 0.5077 | 12.0 | 132 | 1.1554 |
|
68 |
+
| 0.5122 | 13.0 | 143 | 1.2327 |
|
69 |
+
| 0.3314 | 14.0 | 154 | 1.3615 |
|
70 |
+
|
71 |
+
|
72 |
+
### Framework versions
|
73 |
+
|
74 |
+
- PEFT 0.12.0
|
75 |
+
- Transformers 4.44.0
|
76 |
+
- Pytorch 2.1.2+cu121
|
77 |
+
- Datasets 2.20.0
|
78 |
+
- Tokenizers 0.19.1
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 83115256
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8ea361359b02aa32e75bfa8c9f4122e42f2cbf6229d6f8f3011eac4e380ef09a
|
3 |
size 83115256
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 14.0,
|
3 |
+
"total_flos": 3.310644127544115e+16,
|
4 |
+
"train_loss": 0.8359614691951058,
|
5 |
+
"train_runtime": 1404.4143,
|
6 |
+
"train_samples": 88,
|
7 |
+
"train_samples_per_second": 3.133,
|
8 |
+
"train_steps_per_second": 0.392
|
9 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 14.0,
|
3 |
+
"total_flos": 3.310644127544115e+16,
|
4 |
+
"train_loss": 0.8359614691951058,
|
5 |
+
"train_runtime": 1404.4143,
|
6 |
+
"train_samples": 88,
|
7 |
+
"train_samples_per_second": 3.133,
|
8 |
+
"train_steps_per_second": 0.392
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,709 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.9430673122406006,
|
3 |
+
"best_model_checkpoint": "data/Gemma-2-2B_task-3_120-samples_config-1_full/checkpoint-77",
|
4 |
+
"epoch": 14.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 154,
|
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.09090909090909091,
|
13 |
+
"grad_norm": 0.4401099681854248,
|
14 |
+
"learning_rate": 1.818181818181818e-06,
|
15 |
+
"loss": 1.2873,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.18181818181818182,
|
20 |
+
"grad_norm": 0.555508553981781,
|
21 |
+
"learning_rate": 3.636363636363636e-06,
|
22 |
+
"loss": 1.5506,
|
23 |
+
"step": 2
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.36363636363636365,
|
27 |
+
"grad_norm": 0.42541971802711487,
|
28 |
+
"learning_rate": 7.272727272727272e-06,
|
29 |
+
"loss": 1.3483,
|
30 |
+
"step": 4
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.5454545454545454,
|
34 |
+
"grad_norm": 0.4697648286819458,
|
35 |
+
"learning_rate": 1.0909090909090909e-05,
|
36 |
+
"loss": 1.3864,
|
37 |
+
"step": 6
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.7272727272727273,
|
41 |
+
"grad_norm": 0.4494505822658539,
|
42 |
+
"learning_rate": 1.4545454545454545e-05,
|
43 |
+
"loss": 1.4567,
|
44 |
+
"step": 8
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.9090909090909091,
|
48 |
+
"grad_norm": 0.4147140383720398,
|
49 |
+
"learning_rate": 1.8181818181818182e-05,
|
50 |
+
"loss": 1.3447,
|
51 |
+
"step": 10
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 1.0,
|
55 |
+
"eval_loss": 1.366329550743103,
|
56 |
+
"eval_runtime": 7.6918,
|
57 |
+
"eval_samples_per_second": 3.12,
|
58 |
+
"eval_steps_per_second": 3.12,
|
59 |
+
"step": 11
|
60 |
+
},
|
61 |
+
{
|
62 |
+
"epoch": 1.0909090909090908,
|
63 |
+
"grad_norm": 0.4472775161266327,
|
64 |
+
"learning_rate": 2.1818181818181818e-05,
|
65 |
+
"loss": 1.4277,
|
66 |
+
"step": 12
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"epoch": 1.2727272727272727,
|
70 |
+
"grad_norm": 0.37309274077415466,
|
71 |
+
"learning_rate": 2.5454545454545454e-05,
|
72 |
+
"loss": 1.3125,
|
73 |
+
"step": 14
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 1.4545454545454546,
|
77 |
+
"grad_norm": 0.436692476272583,
|
78 |
+
"learning_rate": 2.909090909090909e-05,
|
79 |
+
"loss": 1.3597,
|
80 |
+
"step": 16
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 1.6363636363636362,
|
84 |
+
"grad_norm": 0.36430731415748596,
|
85 |
+
"learning_rate": 3.272727272727273e-05,
|
86 |
+
"loss": 1.3537,
|
87 |
+
"step": 18
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 1.8181818181818183,
|
91 |
+
"grad_norm": 0.29779544472694397,
|
92 |
+
"learning_rate": 3.6363636363636364e-05,
|
93 |
+
"loss": 1.2595,
|
94 |
+
"step": 20
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 2.0,
|
98 |
+
"grad_norm": 0.262285977602005,
|
99 |
+
"learning_rate": 4e-05,
|
100 |
+
"loss": 1.1652,
|
101 |
+
"step": 22
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 2.0,
|
105 |
+
"eval_loss": 1.2193524837493896,
|
106 |
+
"eval_runtime": 7.4578,
|
107 |
+
"eval_samples_per_second": 3.218,
|
108 |
+
"eval_steps_per_second": 3.218,
|
109 |
+
"step": 22
|
110 |
+
},
|
111 |
+
{
|
112 |
+
"epoch": 2.1818181818181817,
|
113 |
+
"grad_norm": 0.2341645061969757,
|
114 |
+
"learning_rate": 4.3636363636363636e-05,
|
115 |
+
"loss": 1.1997,
|
116 |
+
"step": 24
|
117 |
+
},
|
118 |
+
{
|
119 |
+
"epoch": 2.3636363636363638,
|
120 |
+
"grad_norm": 0.2721911668777466,
|
121 |
+
"learning_rate": 4.7272727272727275e-05,
|
122 |
+
"loss": 1.1882,
|
123 |
+
"step": 26
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 2.5454545454545454,
|
127 |
+
"grad_norm": 0.25244641304016113,
|
128 |
+
"learning_rate": 5.090909090909091e-05,
|
129 |
+
"loss": 1.1256,
|
130 |
+
"step": 28
|
131 |
+
},
|
132 |
+
{
|
133 |
+
"epoch": 2.7272727272727275,
|
134 |
+
"grad_norm": 0.2625352740287781,
|
135 |
+
"learning_rate": 5.4545454545454546e-05,
|
136 |
+
"loss": 1.1495,
|
137 |
+
"step": 30
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 2.909090909090909,
|
141 |
+
"grad_norm": 0.26791104674339294,
|
142 |
+
"learning_rate": 5.818181818181818e-05,
|
143 |
+
"loss": 1.1036,
|
144 |
+
"step": 32
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 3.0,
|
148 |
+
"eval_loss": 1.0959328413009644,
|
149 |
+
"eval_runtime": 7.4582,
|
150 |
+
"eval_samples_per_second": 3.218,
|
151 |
+
"eval_steps_per_second": 3.218,
|
152 |
+
"step": 33
|
153 |
+
},
|
154 |
+
{
|
155 |
+
"epoch": 3.090909090909091,
|
156 |
+
"grad_norm": 0.26914045214653015,
|
157 |
+
"learning_rate": 6.181818181818182e-05,
|
158 |
+
"loss": 1.112,
|
159 |
+
"step": 34
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 3.2727272727272725,
|
163 |
+
"grad_norm": 0.29382359981536865,
|
164 |
+
"learning_rate": 6.545454545454546e-05,
|
165 |
+
"loss": 1.0432,
|
166 |
+
"step": 36
|
167 |
+
},
|
168 |
+
{
|
169 |
+
"epoch": 3.4545454545454546,
|
170 |
+
"grad_norm": 0.32928666472435,
|
171 |
+
"learning_rate": 6.90909090909091e-05,
|
172 |
+
"loss": 1.0381,
|
173 |
+
"step": 38
|
174 |
+
},
|
175 |
+
{
|
176 |
+
"epoch": 3.6363636363636362,
|
177 |
+
"grad_norm": 0.24698656797409058,
|
178 |
+
"learning_rate": 7.272727272727273e-05,
|
179 |
+
"loss": 0.9541,
|
180 |
+
"step": 40
|
181 |
+
},
|
182 |
+
{
|
183 |
+
"epoch": 3.8181818181818183,
|
184 |
+
"grad_norm": 0.31348344683647156,
|
185 |
+
"learning_rate": 7.636363636363637e-05,
|
186 |
+
"loss": 0.93,
|
187 |
+
"step": 42
|
188 |
+
},
|
189 |
+
{
|
190 |
+
"epoch": 4.0,
|
191 |
+
"grad_norm": 0.24753938615322113,
|
192 |
+
"learning_rate": 8e-05,
|
193 |
+
"loss": 1.021,
|
194 |
+
"step": 44
|
195 |
+
},
|
196 |
+
{
|
197 |
+
"epoch": 4.0,
|
198 |
+
"eval_loss": 0.9976680874824524,
|
199 |
+
"eval_runtime": 7.472,
|
200 |
+
"eval_samples_per_second": 3.212,
|
201 |
+
"eval_steps_per_second": 3.212,
|
202 |
+
"step": 44
|
203 |
+
},
|
204 |
+
{
|
205 |
+
"epoch": 4.181818181818182,
|
206 |
+
"grad_norm": 0.24109996855258942,
|
207 |
+
"learning_rate": 8.363636363636364e-05,
|
208 |
+
"loss": 0.9201,
|
209 |
+
"step": 46
|
210 |
+
},
|
211 |
+
{
|
212 |
+
"epoch": 4.363636363636363,
|
213 |
+
"grad_norm": 0.25494322180747986,
|
214 |
+
"learning_rate": 8.727272727272727e-05,
|
215 |
+
"loss": 0.9535,
|
216 |
+
"step": 48
|
217 |
+
},
|
218 |
+
{
|
219 |
+
"epoch": 4.545454545454545,
|
220 |
+
"grad_norm": 0.1965021938085556,
|
221 |
+
"learning_rate": 9.090909090909092e-05,
|
222 |
+
"loss": 0.9022,
|
223 |
+
"step": 50
|
224 |
+
},
|
225 |
+
{
|
226 |
+
"epoch": 4.7272727272727275,
|
227 |
+
"grad_norm": 0.24913202226161957,
|
228 |
+
"learning_rate": 9.454545454545455e-05,
|
229 |
+
"loss": 0.9235,
|
230 |
+
"step": 52
|
231 |
+
},
|
232 |
+
{
|
233 |
+
"epoch": 4.909090909090909,
|
234 |
+
"grad_norm": 0.18288737535476685,
|
235 |
+
"learning_rate": 9.818181818181818e-05,
|
236 |
+
"loss": 0.9434,
|
237 |
+
"step": 54
|
238 |
+
},
|
239 |
+
{
|
240 |
+
"epoch": 5.0,
|
241 |
+
"eval_loss": 0.9632444977760315,
|
242 |
+
"eval_runtime": 7.4608,
|
243 |
+
"eval_samples_per_second": 3.217,
|
244 |
+
"eval_steps_per_second": 3.217,
|
245 |
+
"step": 55
|
246 |
+
},
|
247 |
+
{
|
248 |
+
"epoch": 5.090909090909091,
|
249 |
+
"grad_norm": 0.19076839089393616,
|
250 |
+
"learning_rate": 9.999899300364532e-05,
|
251 |
+
"loss": 0.8894,
|
252 |
+
"step": 56
|
253 |
+
},
|
254 |
+
{
|
255 |
+
"epoch": 5.2727272727272725,
|
256 |
+
"grad_norm": 0.20267784595489502,
|
257 |
+
"learning_rate": 9.99909372761763e-05,
|
258 |
+
"loss": 0.9071,
|
259 |
+
"step": 58
|
260 |
+
},
|
261 |
+
{
|
262 |
+
"epoch": 5.454545454545454,
|
263 |
+
"grad_norm": 0.2087169587612152,
|
264 |
+
"learning_rate": 9.997482711915927e-05,
|
265 |
+
"loss": 0.8532,
|
266 |
+
"step": 60
|
267 |
+
},
|
268 |
+
{
|
269 |
+
"epoch": 5.636363636363637,
|
270 |
+
"grad_norm": 0.3292751610279083,
|
271 |
+
"learning_rate": 9.99506651282272e-05,
|
272 |
+
"loss": 0.8854,
|
273 |
+
"step": 62
|
274 |
+
},
|
275 |
+
{
|
276 |
+
"epoch": 5.818181818181818,
|
277 |
+
"grad_norm": 0.21600216627120972,
|
278 |
+
"learning_rate": 9.991845519630678e-05,
|
279 |
+
"loss": 0.8516,
|
280 |
+
"step": 64
|
281 |
+
},
|
282 |
+
{
|
283 |
+
"epoch": 6.0,
|
284 |
+
"grad_norm": 0.21119904518127441,
|
285 |
+
"learning_rate": 9.987820251299122e-05,
|
286 |
+
"loss": 0.8982,
|
287 |
+
"step": 66
|
288 |
+
},
|
289 |
+
{
|
290 |
+
"epoch": 6.0,
|
291 |
+
"eval_loss": 0.9466676115989685,
|
292 |
+
"eval_runtime": 7.4625,
|
293 |
+
"eval_samples_per_second": 3.216,
|
294 |
+
"eval_steps_per_second": 3.216,
|
295 |
+
"step": 66
|
296 |
+
},
|
297 |
+
{
|
298 |
+
"epoch": 6.181818181818182,
|
299 |
+
"grad_norm": 0.2550293505191803,
|
300 |
+
"learning_rate": 9.982991356370404e-05,
|
301 |
+
"loss": 0.8157,
|
302 |
+
"step": 68
|
303 |
+
},
|
304 |
+
{
|
305 |
+
"epoch": 6.363636363636363,
|
306 |
+
"grad_norm": 0.23336729407310486,
|
307 |
+
"learning_rate": 9.977359612865423e-05,
|
308 |
+
"loss": 0.8606,
|
309 |
+
"step": 70
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"epoch": 6.545454545454545,
|
313 |
+
"grad_norm": 0.2545364201068878,
|
314 |
+
"learning_rate": 9.970925928158274e-05,
|
315 |
+
"loss": 0.7977,
|
316 |
+
"step": 72
|
317 |
+
},
|
318 |
+
{
|
319 |
+
"epoch": 6.7272727272727275,
|
320 |
+
"grad_norm": 0.259082168340683,
|
321 |
+
"learning_rate": 9.963691338830044e-05,
|
322 |
+
"loss": 0.8332,
|
323 |
+
"step": 74
|
324 |
+
},
|
325 |
+
{
|
326 |
+
"epoch": 6.909090909090909,
|
327 |
+
"grad_norm": 0.2226342260837555,
|
328 |
+
"learning_rate": 9.955657010501806e-05,
|
329 |
+
"loss": 0.8566,
|
330 |
+
"step": 76
|
331 |
+
},
|
332 |
+
{
|
333 |
+
"epoch": 7.0,
|
334 |
+
"eval_loss": 0.9430673122406006,
|
335 |
+
"eval_runtime": 7.464,
|
336 |
+
"eval_samples_per_second": 3.215,
|
337 |
+
"eval_steps_per_second": 3.215,
|
338 |
+
"step": 77
|
339 |
+
},
|
340 |
+
{
|
341 |
+
"epoch": 7.090909090909091,
|
342 |
+
"grad_norm": 0.2310396134853363,
|
343 |
+
"learning_rate": 9.946824237646824e-05,
|
344 |
+
"loss": 0.8999,
|
345 |
+
"step": 78
|
346 |
+
},
|
347 |
+
{
|
348 |
+
"epoch": 7.2727272727272725,
|
349 |
+
"grad_norm": 0.3359197676181793,
|
350 |
+
"learning_rate": 9.937194443381972e-05,
|
351 |
+
"loss": 0.7571,
|
352 |
+
"step": 80
|
353 |
+
},
|
354 |
+
{
|
355 |
+
"epoch": 7.454545454545454,
|
356 |
+
"grad_norm": 0.27689051628112793,
|
357 |
+
"learning_rate": 9.926769179238466e-05,
|
358 |
+
"loss": 0.754,
|
359 |
+
"step": 82
|
360 |
+
},
|
361 |
+
{
|
362 |
+
"epoch": 7.636363636363637,
|
363 |
+
"grad_norm": 0.29372766613960266,
|
364 |
+
"learning_rate": 9.915550124911866e-05,
|
365 |
+
"loss": 0.7961,
|
366 |
+
"step": 84
|
367 |
+
},
|
368 |
+
{
|
369 |
+
"epoch": 7.818181818181818,
|
370 |
+
"grad_norm": 0.3483748733997345,
|
371 |
+
"learning_rate": 9.903539087991462e-05,
|
372 |
+
"loss": 0.788,
|
373 |
+
"step": 86
|
374 |
+
},
|
375 |
+
{
|
376 |
+
"epoch": 8.0,
|
377 |
+
"grad_norm": 0.2859647870063782,
|
378 |
+
"learning_rate": 9.890738003669029e-05,
|
379 |
+
"loss": 0.8274,
|
380 |
+
"step": 88
|
381 |
+
},
|
382 |
+
{
|
383 |
+
"epoch": 8.0,
|
384 |
+
"eval_loss": 0.9471516013145447,
|
385 |
+
"eval_runtime": 7.4534,
|
386 |
+
"eval_samples_per_second": 3.22,
|
387 |
+
"eval_steps_per_second": 3.22,
|
388 |
+
"step": 88
|
389 |
+
},
|
390 |
+
{
|
391 |
+
"epoch": 8.181818181818182,
|
392 |
+
"grad_norm": 0.31532877683639526,
|
393 |
+
"learning_rate": 9.877148934427037e-05,
|
394 |
+
"loss": 0.7785,
|
395 |
+
"step": 90
|
396 |
+
},
|
397 |
+
{
|
398 |
+
"epoch": 8.363636363636363,
|
399 |
+
"grad_norm": 0.3497365117073059,
|
400 |
+
"learning_rate": 9.862774069706346e-05,
|
401 |
+
"loss": 0.7253,
|
402 |
+
"step": 92
|
403 |
+
},
|
404 |
+
{
|
405 |
+
"epoch": 8.545454545454545,
|
406 |
+
"grad_norm": 0.3729742765426636,
|
407 |
+
"learning_rate": 9.847615725553456e-05,
|
408 |
+
"loss": 0.759,
|
409 |
+
"step": 94
|
410 |
+
},
|
411 |
+
{
|
412 |
+
"epoch": 8.727272727272727,
|
413 |
+
"grad_norm": 0.4153083860874176,
|
414 |
+
"learning_rate": 9.831676344247342e-05,
|
415 |
+
"loss": 0.6846,
|
416 |
+
"step": 96
|
417 |
+
},
|
418 |
+
{
|
419 |
+
"epoch": 8.909090909090908,
|
420 |
+
"grad_norm": 0.42387697100639343,
|
421 |
+
"learning_rate": 9.814958493905963e-05,
|
422 |
+
"loss": 0.75,
|
423 |
+
"step": 98
|
424 |
+
},
|
425 |
+
{
|
426 |
+
"epoch": 9.0,
|
427 |
+
"eval_loss": 0.9634823799133301,
|
428 |
+
"eval_runtime": 7.4619,
|
429 |
+
"eval_samples_per_second": 3.216,
|
430 |
+
"eval_steps_per_second": 3.216,
|
431 |
+
"step": 99
|
432 |
+
},
|
433 |
+
{
|
434 |
+
"epoch": 9.090909090909092,
|
435 |
+
"grad_norm": 0.4489431381225586,
|
436 |
+
"learning_rate": 9.797464868072488e-05,
|
437 |
+
"loss": 0.7566,
|
438 |
+
"step": 100
|
439 |
+
},
|
440 |
+
{
|
441 |
+
"epoch": 9.272727272727273,
|
442 |
+
"grad_norm": 0.4480694830417633,
|
443 |
+
"learning_rate": 9.779198285281325e-05,
|
444 |
+
"loss": 0.6584,
|
445 |
+
"step": 102
|
446 |
+
},
|
447 |
+
{
|
448 |
+
"epoch": 9.454545454545455,
|
449 |
+
"grad_norm": 0.7039919495582581,
|
450 |
+
"learning_rate": 9.760161688604008e-05,
|
451 |
+
"loss": 0.6571,
|
452 |
+
"step": 104
|
453 |
+
},
|
454 |
+
{
|
455 |
+
"epoch": 9.636363636363637,
|
456 |
+
"grad_norm": 0.5547890663146973,
|
457 |
+
"learning_rate": 9.740358145174998e-05,
|
458 |
+
"loss": 0.737,
|
459 |
+
"step": 106
|
460 |
+
},
|
461 |
+
{
|
462 |
+
"epoch": 9.818181818181818,
|
463 |
+
"grad_norm": 0.5048365592956543,
|
464 |
+
"learning_rate": 9.719790845697533e-05,
|
465 |
+
"loss": 0.6767,
|
466 |
+
"step": 108
|
467 |
+
},
|
468 |
+
{
|
469 |
+
"epoch": 10.0,
|
470 |
+
"grad_norm": 0.6568930149078369,
|
471 |
+
"learning_rate": 9.698463103929542e-05,
|
472 |
+
"loss": 0.6436,
|
473 |
+
"step": 110
|
474 |
+
},
|
475 |
+
{
|
476 |
+
"epoch": 10.0,
|
477 |
+
"eval_loss": 1.0182775259017944,
|
478 |
+
"eval_runtime": 7.4594,
|
479 |
+
"eval_samples_per_second": 3.217,
|
480 |
+
"eval_steps_per_second": 3.217,
|
481 |
+
"step": 110
|
482 |
+
},
|
483 |
+
{
|
484 |
+
"epoch": 10.181818181818182,
|
485 |
+
"grad_norm": 0.5760776996612549,
|
486 |
+
"learning_rate": 9.676378356149734e-05,
|
487 |
+
"loss": 0.5993,
|
488 |
+
"step": 112
|
489 |
+
},
|
490 |
+
{
|
491 |
+
"epoch": 10.363636363636363,
|
492 |
+
"grad_norm": 0.6874850392341614,
|
493 |
+
"learning_rate": 9.653540160603956e-05,
|
494 |
+
"loss": 0.5933,
|
495 |
+
"step": 114
|
496 |
+
},
|
497 |
+
{
|
498 |
+
"epoch": 10.545454545454545,
|
499 |
+
"grad_norm": 0.6967574954032898,
|
500 |
+
"learning_rate": 9.629952196931901e-05,
|
501 |
+
"loss": 0.5981,
|
502 |
+
"step": 116
|
503 |
+
},
|
504 |
+
{
|
505 |
+
"epoch": 10.727272727272727,
|
506 |
+
"grad_norm": 0.7388347387313843,
|
507 |
+
"learning_rate": 9.60561826557425e-05,
|
508 |
+
"loss": 0.59,
|
509 |
+
"step": 118
|
510 |
+
},
|
511 |
+
{
|
512 |
+
"epoch": 10.909090909090908,
|
513 |
+
"grad_norm": 0.6717241406440735,
|
514 |
+
"learning_rate": 9.580542287160348e-05,
|
515 |
+
"loss": 0.6415,
|
516 |
+
"step": 120
|
517 |
+
},
|
518 |
+
{
|
519 |
+
"epoch": 11.0,
|
520 |
+
"eval_loss": 1.060663104057312,
|
521 |
+
"eval_runtime": 7.4556,
|
522 |
+
"eval_samples_per_second": 3.219,
|
523 |
+
"eval_steps_per_second": 3.219,
|
524 |
+
"step": 121
|
525 |
+
},
|
526 |
+
{
|
527 |
+
"epoch": 11.090909090909092,
|
528 |
+
"grad_norm": 0.8145678043365479,
|
529 |
+
"learning_rate": 9.554728301876526e-05,
|
530 |
+
"loss": 0.5758,
|
531 |
+
"step": 122
|
532 |
+
},
|
533 |
+
{
|
534 |
+
"epoch": 11.272727272727273,
|
535 |
+
"grad_norm": 1.2217453718185425,
|
536 |
+
"learning_rate": 9.528180468815155e-05,
|
537 |
+
"loss": 0.5195,
|
538 |
+
"step": 124
|
539 |
+
},
|
540 |
+
{
|
541 |
+
"epoch": 11.454545454545455,
|
542 |
+
"grad_norm": 0.7760822176933289,
|
543 |
+
"learning_rate": 9.50090306530454e-05,
|
544 |
+
"loss": 0.5365,
|
545 |
+
"step": 126
|
546 |
+
},
|
547 |
+
{
|
548 |
+
"epoch": 11.636363636363637,
|
549 |
+
"grad_norm": 0.7117080092430115,
|
550 |
+
"learning_rate": 9.472900486219769e-05,
|
551 |
+
"loss": 0.5693,
|
552 |
+
"step": 128
|
553 |
+
},
|
554 |
+
{
|
555 |
+
"epoch": 11.818181818181818,
|
556 |
+
"grad_norm": 0.9114668965339661,
|
557 |
+
"learning_rate": 9.444177243274618e-05,
|
558 |
+
"loss": 0.539,
|
559 |
+
"step": 130
|
560 |
+
},
|
561 |
+
{
|
562 |
+
"epoch": 12.0,
|
563 |
+
"grad_norm": 0.9518639445304871,
|
564 |
+
"learning_rate": 9.414737964294636e-05,
|
565 |
+
"loss": 0.5077,
|
566 |
+
"step": 132
|
567 |
+
},
|
568 |
+
{
|
569 |
+
"epoch": 12.0,
|
570 |
+
"eval_loss": 1.1553831100463867,
|
571 |
+
"eval_runtime": 7.4567,
|
572 |
+
"eval_samples_per_second": 3.219,
|
573 |
+
"eval_steps_per_second": 3.219,
|
574 |
+
"step": 132
|
575 |
+
},
|
576 |
+
{
|
577 |
+
"epoch": 12.181818181818182,
|
578 |
+
"grad_norm": 0.995181143283844,
|
579 |
+
"learning_rate": 9.384587392471515e-05,
|
580 |
+
"loss": 0.4883,
|
581 |
+
"step": 134
|
582 |
+
},
|
583 |
+
{
|
584 |
+
"epoch": 12.363636363636363,
|
585 |
+
"grad_norm": 1.2349698543548584,
|
586 |
+
"learning_rate": 9.353730385598887e-05,
|
587 |
+
"loss": 0.4358,
|
588 |
+
"step": 136
|
589 |
+
},
|
590 |
+
{
|
591 |
+
"epoch": 12.545454545454545,
|
592 |
+
"grad_norm": 1.0227618217468262,
|
593 |
+
"learning_rate": 9.322171915289635e-05,
|
594 |
+
"loss": 0.4565,
|
595 |
+
"step": 138
|
596 |
+
},
|
597 |
+
{
|
598 |
+
"epoch": 12.727272727272727,
|
599 |
+
"grad_norm": 0.9845717549324036,
|
600 |
+
"learning_rate": 9.289917066174886e-05,
|
601 |
+
"loss": 0.445,
|
602 |
+
"step": 140
|
603 |
+
},
|
604 |
+
{
|
605 |
+
"epoch": 12.909090909090908,
|
606 |
+
"grad_norm": 1.2052007913589478,
|
607 |
+
"learning_rate": 9.256971035084785e-05,
|
608 |
+
"loss": 0.5122,
|
609 |
+
"step": 142
|
610 |
+
},
|
611 |
+
{
|
612 |
+
"epoch": 13.0,
|
613 |
+
"eval_loss": 1.2326768636703491,
|
614 |
+
"eval_runtime": 7.4634,
|
615 |
+
"eval_samples_per_second": 3.216,
|
616 |
+
"eval_steps_per_second": 3.216,
|
617 |
+
"step": 143
|
618 |
+
},
|
619 |
+
{
|
620 |
+
"epoch": 13.090909090909092,
|
621 |
+
"grad_norm": 0.9715532064437866,
|
622 |
+
"learning_rate": 9.223339130211192e-05,
|
623 |
+
"loss": 0.362,
|
624 |
+
"step": 144
|
625 |
+
},
|
626 |
+
{
|
627 |
+
"epoch": 13.272727272727273,
|
628 |
+
"grad_norm": 1.35349702835083,
|
629 |
+
"learning_rate": 9.189026770252436e-05,
|
630 |
+
"loss": 0.4128,
|
631 |
+
"step": 146
|
632 |
+
},
|
633 |
+
{
|
634 |
+
"epoch": 13.454545454545455,
|
635 |
+
"grad_norm": 1.1257082223892212,
|
636 |
+
"learning_rate": 9.154039483540273e-05,
|
637 |
+
"loss": 0.4465,
|
638 |
+
"step": 148
|
639 |
+
},
|
640 |
+
{
|
641 |
+
"epoch": 13.636363636363637,
|
642 |
+
"grad_norm": 1.064841389656067,
|
643 |
+
"learning_rate": 9.118382907149165e-05,
|
644 |
+
"loss": 0.3993,
|
645 |
+
"step": 150
|
646 |
+
},
|
647 |
+
{
|
648 |
+
"epoch": 13.818181818181818,
|
649 |
+
"grad_norm": 1.4757120609283447,
|
650 |
+
"learning_rate": 9.082062785988049e-05,
|
651 |
+
"loss": 0.3703,
|
652 |
+
"step": 152
|
653 |
+
},
|
654 |
+
{
|
655 |
+
"epoch": 14.0,
|
656 |
+
"grad_norm": 1.2708607912063599,
|
657 |
+
"learning_rate": 9.045084971874738e-05,
|
658 |
+
"loss": 0.3314,
|
659 |
+
"step": 154
|
660 |
+
},
|
661 |
+
{
|
662 |
+
"epoch": 14.0,
|
663 |
+
"eval_loss": 1.3615187406539917,
|
664 |
+
"eval_runtime": 7.4601,
|
665 |
+
"eval_samples_per_second": 3.217,
|
666 |
+
"eval_steps_per_second": 3.217,
|
667 |
+
"step": 154
|
668 |
+
},
|
669 |
+
{
|
670 |
+
"epoch": 14.0,
|
671 |
+
"step": 154,
|
672 |
+
"total_flos": 3.310644127544115e+16,
|
673 |
+
"train_loss": 0.8359614691951058,
|
674 |
+
"train_runtime": 1404.4143,
|
675 |
+
"train_samples_per_second": 3.133,
|
676 |
+
"train_steps_per_second": 0.392
|
677 |
+
}
|
678 |
+
],
|
679 |
+
"logging_steps": 2,
|
680 |
+
"max_steps": 550,
|
681 |
+
"num_input_tokens_seen": 0,
|
682 |
+
"num_train_epochs": 50,
|
683 |
+
"save_steps": 25,
|
684 |
+
"stateful_callbacks": {
|
685 |
+
"EarlyStoppingCallback": {
|
686 |
+
"args": {
|
687 |
+
"early_stopping_patience": 7,
|
688 |
+
"early_stopping_threshold": 0.0
|
689 |
+
},
|
690 |
+
"attributes": {
|
691 |
+
"early_stopping_patience_counter": 0
|
692 |
+
}
|
693 |
+
},
|
694 |
+
"TrainerControl": {
|
695 |
+
"args": {
|
696 |
+
"should_epoch_stop": false,
|
697 |
+
"should_evaluate": false,
|
698 |
+
"should_log": false,
|
699 |
+
"should_save": true,
|
700 |
+
"should_training_stop": true
|
701 |
+
},
|
702 |
+
"attributes": {}
|
703 |
+
}
|
704 |
+
},
|
705 |
+
"total_flos": 3.310644127544115e+16,
|
706 |
+
"train_batch_size": 1,
|
707 |
+
"trial_name": null,
|
708 |
+
"trial_params": null
|
709 |
+
}
|