PeterJinGo
commited on
Commit
•
9b6da54
1
Parent(s):
d712fb3
Model save
Browse files- README.md +65 -0
- all_results.json +9 -0
- generation_config.json +6 -0
- model-00001-of-00003.safetensors +1 -1
- model-00002-of-00003.safetensors +1 -1
- model-00003-of-00003.safetensors +1 -1
- train_results.json +9 -0
- trainer_state.json +225 -0
README.md
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
tags:
|
4 |
+
- trl
|
5 |
+
- sft
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- generator
|
9 |
+
model-index:
|
10 |
+
- name: zephyr-7b-sft-full-sftwdpodata
|
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 |
+
# zephyr-7b-sft-full-sftwdpodata
|
18 |
+
|
19 |
+
This model was trained from scratch on the generator dataset.
|
20 |
+
It achieves the following results on the evaluation set:
|
21 |
+
- Loss: 1.1374
|
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: 5e-07
|
41 |
+
- train_batch_size: 16
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- distributed_type: multi-GPU
|
45 |
+
- num_devices: 8
|
46 |
+
- total_train_batch_size: 128
|
47 |
+
- total_eval_batch_size: 64
|
48 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
+
- lr_scheduler_type: cosine
|
50 |
+
- lr_scheduler_warmup_ratio: 0.1
|
51 |
+
- num_epochs: 1
|
52 |
+
|
53 |
+
### Training results
|
54 |
+
|
55 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
56 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
57 |
+
| 1.1588 | 1.0 | 123 | 1.1374 |
|
58 |
+
|
59 |
+
|
60 |
+
### Framework versions
|
61 |
+
|
62 |
+
- Transformers 4.45.2
|
63 |
+
- Pytorch 2.1.0
|
64 |
+
- Datasets 3.0.1
|
65 |
+
- Tokenizers 0.20.1
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 51507395297280.0,
|
4 |
+
"train_loss": 1.1927482141711847,
|
5 |
+
"train_runtime": 664.3286,
|
6 |
+
"train_samples": 61134,
|
7 |
+
"train_samples_per_second": 23.68,
|
8 |
+
"train_steps_per_second": 0.185
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_from_model_config": true,
|
3 |
+
"bos_token_id": 1,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"transformers_version": "4.45.2"
|
6 |
+
}
|
model-00001-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4943162336
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58aa3ce910bf35d9d9b9a338a438c7050c6df0efce4da4e9652094ae11bd1a08
|
3 |
size 4943162336
|
model-00002-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4999819336
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4bf12699df574992ffb1ced54af450aea6760dcb35661283f64e17994603e05c
|
3 |
size 4999819336
|
model-00003-of-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4540516344
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9269a74eced6f21d94d486d23cfdd420f3cc2e2bb29b8850059c832e699b224d
|
3 |
size 4540516344
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 51507395297280.0,
|
4 |
+
"train_loss": 1.1927482141711847,
|
5 |
+
"train_runtime": 664.3286,
|
6 |
+
"train_samples": 61134,
|
7 |
+
"train_samples_per_second": 23.68,
|
8 |
+
"train_steps_per_second": 0.185
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,225 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 123,
|
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.008130081300813009,
|
13 |
+
"grad_norm": 5.968609245665954,
|
14 |
+
"learning_rate": 3.846153846153846e-08,
|
15 |
+
"loss": 1.3047,
|
16 |
+
"step": 1
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.04065040650406504,
|
20 |
+
"grad_norm": 6.622098028585483,
|
21 |
+
"learning_rate": 1.9230769230769231e-07,
|
22 |
+
"loss": 1.3293,
|
23 |
+
"step": 5
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.08130081300813008,
|
27 |
+
"grad_norm": 5.601752396412818,
|
28 |
+
"learning_rate": 3.8461538461538463e-07,
|
29 |
+
"loss": 1.3265,
|
30 |
+
"step": 10
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.12195121951219512,
|
34 |
+
"grad_norm": 3.3465461495166955,
|
35 |
+
"learning_rate": 4.995922759815338e-07,
|
36 |
+
"loss": 1.3014,
|
37 |
+
"step": 15
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.16260162601626016,
|
41 |
+
"grad_norm": 2.285061060375805,
|
42 |
+
"learning_rate": 4.950206402730983e-07,
|
43 |
+
"loss": 1.267,
|
44 |
+
"step": 20
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.2032520325203252,
|
48 |
+
"grad_norm": 2.906521061514324,
|
49 |
+
"learning_rate": 4.854610909098811e-07,
|
50 |
+
"loss": 1.2635,
|
51 |
+
"step": 25
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.24390243902439024,
|
55 |
+
"grad_norm": 2.2161224244788196,
|
56 |
+
"learning_rate": 4.7110823274945357e-07,
|
57 |
+
"loss": 1.2199,
|
58 |
+
"step": 30
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.2845528455284553,
|
62 |
+
"grad_norm": 1.9040029033032413,
|
63 |
+
"learning_rate": 4.5225424859373684e-07,
|
64 |
+
"loss": 1.2142,
|
65 |
+
"step": 35
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.3252032520325203,
|
69 |
+
"grad_norm": 1.8144925748816008,
|
70 |
+
"learning_rate": 4.292829511897409e-07,
|
71 |
+
"loss": 1.2051,
|
72 |
+
"step": 40
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.36585365853658536,
|
76 |
+
"grad_norm": 1.6349825973341405,
|
77 |
+
"learning_rate": 4.0266196990885955e-07,
|
78 |
+
"loss": 1.1723,
|
79 |
+
"step": 45
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.4065040650406504,
|
83 |
+
"grad_norm": 1.664912835299134,
|
84 |
+
"learning_rate": 3.72933231161401e-07,
|
85 |
+
"loss": 1.177,
|
86 |
+
"step": 50
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.44715447154471544,
|
90 |
+
"grad_norm": 1.6158486513675248,
|
91 |
+
"learning_rate": 3.407019263376602e-07,
|
92 |
+
"loss": 1.1748,
|
93 |
+
"step": 55
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.4878048780487805,
|
97 |
+
"grad_norm": 1.661677150645168,
|
98 |
+
"learning_rate": 3.0662419185644114e-07,
|
99 |
+
"loss": 1.1791,
|
100 |
+
"step": 60
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.5284552845528455,
|
104 |
+
"grad_norm": 1.5725357820334132,
|
105 |
+
"learning_rate": 2.7139375211970995e-07,
|
106 |
+
"loss": 1.1598,
|
107 |
+
"step": 65
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.5691056910569106,
|
111 |
+
"grad_norm": 1.621045635617722,
|
112 |
+
"learning_rate": 2.3572779728430797e-07,
|
113 |
+
"loss": 1.166,
|
114 |
+
"step": 70
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.6097560975609756,
|
118 |
+
"grad_norm": 1.6041377989080807,
|
119 |
+
"learning_rate": 2.0035238333856368e-07,
|
120 |
+
"loss": 1.1698,
|
121 |
+
"step": 75
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.6504065040650406,
|
125 |
+
"grad_norm": 1.6387599262025716,
|
126 |
+
"learning_rate": 1.6598765169614244e-07,
|
127 |
+
"loss": 1.1467,
|
128 |
+
"step": 80
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.6910569105691057,
|
132 |
+
"grad_norm": 1.5728900163922992,
|
133 |
+
"learning_rate": 1.3333316919358157e-07,
|
134 |
+
"loss": 1.1588,
|
135 |
+
"step": 85
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.7317073170731707,
|
139 |
+
"grad_norm": 1.630523905646432,
|
140 |
+
"learning_rate": 1.0305368692688174e-07,
|
141 |
+
"loss": 1.1511,
|
142 |
+
"step": 90
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 0.7723577235772358,
|
146 |
+
"grad_norm": 1.6142247634044153,
|
147 |
+
"learning_rate": 7.576560783617667e-08,
|
148 |
+
"loss": 1.1514,
|
149 |
+
"step": 95
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 0.8130081300813008,
|
153 |
+
"grad_norm": 1.6635344099346825,
|
154 |
+
"learning_rate": 5.202443851943125e-08,
|
155 |
+
"loss": 1.1339,
|
156 |
+
"step": 100
|
157 |
+
},
|
158 |
+
{
|
159 |
+
"epoch": 0.8536585365853658,
|
160 |
+
"grad_norm": 1.6142940019540397,
|
161 |
+
"learning_rate": 3.231348072005574e-08,
|
162 |
+
"loss": 1.1436,
|
163 |
+
"step": 105
|
164 |
+
},
|
165 |
+
{
|
166 |
+
"epoch": 0.8943089430894309,
|
167 |
+
"grad_norm": 1.7064997556493062,
|
168 |
+
"learning_rate": 1.7033992697136928e-08,
|
169 |
+
"loss": 1.1522,
|
170 |
+
"step": 110
|
171 |
+
},
|
172 |
+
{
|
173 |
+
"epoch": 0.9349593495934959,
|
174 |
+
"grad_norm": 1.5806639080165765,
|
175 |
+
"learning_rate": 6.497020764416633e-09,
|
176 |
+
"loss": 1.1297,
|
177 |
+
"step": 115
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.975609756097561,
|
181 |
+
"grad_norm": 1.649978945004722,
|
182 |
+
"learning_rate": 9.170672843271666e-10,
|
183 |
+
"loss": 1.1588,
|
184 |
+
"step": 120
|
185 |
+
},
|
186 |
+
{
|
187 |
+
"epoch": 1.0,
|
188 |
+
"eval_loss": 1.137434482574463,
|
189 |
+
"eval_runtime": 4.7008,
|
190 |
+
"eval_samples_per_second": 108.067,
|
191 |
+
"eval_steps_per_second": 1.702,
|
192 |
+
"step": 123
|
193 |
+
},
|
194 |
+
{
|
195 |
+
"epoch": 1.0,
|
196 |
+
"step": 123,
|
197 |
+
"total_flos": 51507395297280.0,
|
198 |
+
"train_loss": 1.1927482141711847,
|
199 |
+
"train_runtime": 664.3286,
|
200 |
+
"train_samples_per_second": 23.68,
|
201 |
+
"train_steps_per_second": 0.185
|
202 |
+
}
|
203 |
+
],
|
204 |
+
"logging_steps": 5,
|
205 |
+
"max_steps": 123,
|
206 |
+
"num_input_tokens_seen": 0,
|
207 |
+
"num_train_epochs": 1,
|
208 |
+
"save_steps": 100,
|
209 |
+
"stateful_callbacks": {
|
210 |
+
"TrainerControl": {
|
211 |
+
"args": {
|
212 |
+
"should_epoch_stop": false,
|
213 |
+
"should_evaluate": false,
|
214 |
+
"should_log": false,
|
215 |
+
"should_save": true,
|
216 |
+
"should_training_stop": true
|
217 |
+
},
|
218 |
+
"attributes": {}
|
219 |
+
}
|
220 |
+
},
|
221 |
+
"total_flos": 51507395297280.0,
|
222 |
+
"train_batch_size": 16,
|
223 |
+
"trial_name": null,
|
224 |
+
"trial_params": null
|
225 |
+
}
|