notrichardren
commited on
Commit
•
10d11d9
1
Parent(s):
04e8867
Model save
Browse files- README.md +67 -0
- adapter_model.safetensors +1 -1
- all_results.json +13 -0
- eval_results.json +8 -0
- runs/May11_10-08-44_compute-permanent-node-918/events.out.tfevents.1715422205.compute-permanent-node-918.228966.0 +2 -2
- runs/May11_10-08-44_compute-permanent-node-918/events.out.tfevents.1715423573.compute-permanent-node-918.228966.1 +3 -0
- train_results.json +8 -0
- trainer_state.json +248 -0
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
license: apache-2.0
|
3 |
+
library_name: peft
|
4 |
+
tags:
|
5 |
+
- trl
|
6 |
+
- sft
|
7 |
+
- generated_from_trainer
|
8 |
+
base_model: mistralai/Mistral-7B-v0.1
|
9 |
+
datasets:
|
10 |
+
- generator
|
11 |
+
model-index:
|
12 |
+
- name: zephyr-7b-sft-qlora-alignment-10000
|
13 |
+
results: []
|
14 |
+
---
|
15 |
+
|
16 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
17 |
+
should probably proofread and complete it, then remove this comment. -->
|
18 |
+
|
19 |
+
# zephyr-7b-sft-qlora-alignment-10000
|
20 |
+
|
21 |
+
This model is a fine-tuned version of [mistralai/Mistral-7B-v0.1](https://huggingface.co/mistralai/Mistral-7B-v0.1) on the generator dataset.
|
22 |
+
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 1.2067
|
24 |
+
|
25 |
+
## Model description
|
26 |
+
|
27 |
+
More information needed
|
28 |
+
|
29 |
+
## Intended uses & limitations
|
30 |
+
|
31 |
+
More information needed
|
32 |
+
|
33 |
+
## Training and evaluation data
|
34 |
+
|
35 |
+
More information needed
|
36 |
+
|
37 |
+
## Training procedure
|
38 |
+
|
39 |
+
### Training hyperparameters
|
40 |
+
|
41 |
+
The following hyperparameters were used during training:
|
42 |
+
- learning_rate: 0.0002
|
43 |
+
- train_batch_size: 2
|
44 |
+
- eval_batch_size: 4
|
45 |
+
- seed: 42
|
46 |
+
- distributed_type: multi-GPU
|
47 |
+
- gradient_accumulation_steps: 2
|
48 |
+
- total_train_batch_size: 4
|
49 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
+
- lr_scheduler_type: cosine
|
51 |
+
- lr_scheduler_warmup_ratio: 0.1
|
52 |
+
- num_epochs: 1
|
53 |
+
|
54 |
+
### Training results
|
55 |
+
|
56 |
+
| Training Loss | Epoch | Step | Validation Loss |
|
57 |
+
|:-------------:|:-----:|:----:|:---------------:|
|
58 |
+
| 1.1641 | 1.0 | 171 | 1.2067 |
|
59 |
+
|
60 |
+
|
61 |
+
### Framework versions
|
62 |
+
|
63 |
+
- PEFT 0.7.1
|
64 |
+
- Transformers 4.36.2
|
65 |
+
- Pytorch 2.1.2
|
66 |
+
- Datasets 2.14.6
|
67 |
+
- Tokenizers 0.15.2
|
adapter_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 83946192
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:594c27c3cd5a129a1d5879c80a524689e09a19ca13b325258060567f6242da21
|
3 |
size 83946192
|
all_results.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 1.2067391872406006,
|
4 |
+
"eval_runtime": 235.4446,
|
5 |
+
"eval_samples": 9907,
|
6 |
+
"eval_samples_per_second": 2.68,
|
7 |
+
"eval_steps_per_second": 0.671,
|
8 |
+
"train_loss": 1.2207316202029848,
|
9 |
+
"train_runtime": 1132.3581,
|
10 |
+
"train_samples": 10853,
|
11 |
+
"train_samples_per_second": 0.604,
|
12 |
+
"train_steps_per_second": 0.151
|
13 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"eval_loss": 1.2067391872406006,
|
4 |
+
"eval_runtime": 235.4446,
|
5 |
+
"eval_samples": 9907,
|
6 |
+
"eval_samples_per_second": 2.68,
|
7 |
+
"eval_steps_per_second": 0.671
|
8 |
+
}
|
runs/May11_10-08-44_compute-permanent-node-918/events.out.tfevents.1715422205.compute-permanent-node-918.228966.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0fde32d635f06ed0b169cc688d394ae106abe550eff127883a38962659016669
|
3 |
+
size 10939
|
runs/May11_10-08-44_compute-permanent-node-918/events.out.tfevents.1715423573.compute-permanent-node-918.228966.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fc93ed69bfd5c35e1e8babedca83675103cb47e0931c08ef1dbbc0c251c8a45
|
3 |
+
size 359
|
train_results.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"train_loss": 1.2207316202029848,
|
4 |
+
"train_runtime": 1132.3581,
|
5 |
+
"train_samples": 10853,
|
6 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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 171,
|
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.01,
|
13 |
+
"learning_rate": 1.1111111111111112e-05,
|
14 |
+
"loss": 1.8643,
|
15 |
+
"step": 1
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"epoch": 0.03,
|
19 |
+
"learning_rate": 5.555555555555556e-05,
|
20 |
+
"loss": 1.7663,
|
21 |
+
"step": 5
|
22 |
+
},
|
23 |
+
{
|
24 |
+
"epoch": 0.06,
|
25 |
+
"learning_rate": 0.00011111111111111112,
|
26 |
+
"loss": 1.4851,
|
27 |
+
"step": 10
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 0.09,
|
31 |
+
"learning_rate": 0.0001666666666666667,
|
32 |
+
"loss": 1.3257,
|
33 |
+
"step": 15
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 0.12,
|
37 |
+
"learning_rate": 0.0001999156886888064,
|
38 |
+
"loss": 1.2837,
|
39 |
+
"step": 20
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.15,
|
43 |
+
"learning_rate": 0.00019896881839082556,
|
44 |
+
"loss": 1.2272,
|
45 |
+
"step": 25
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 0.18,
|
49 |
+
"learning_rate": 0.00019697969360350098,
|
50 |
+
"loss": 1.2551,
|
51 |
+
"step": 30
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.2,
|
55 |
+
"learning_rate": 0.00019396926207859084,
|
56 |
+
"loss": 1.2263,
|
57 |
+
"step": 35
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 0.23,
|
61 |
+
"learning_rate": 0.00018996922709216455,
|
62 |
+
"loss": 1.2222,
|
63 |
+
"step": 40
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 0.26,
|
67 |
+
"learning_rate": 0.00018502171357296144,
|
68 |
+
"loss": 1.242,
|
69 |
+
"step": 45
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.29,
|
73 |
+
"learning_rate": 0.00017917882447886582,
|
74 |
+
"loss": 1.214,
|
75 |
+
"step": 50
|
76 |
+
},
|
77 |
+
{
|
78 |
+
"epoch": 0.32,
|
79 |
+
"learning_rate": 0.00017250209209335927,
|
80 |
+
"loss": 1.2186,
|
81 |
+
"step": 55
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 0.35,
|
85 |
+
"learning_rate": 0.0001650618300204242,
|
86 |
+
"loss": 1.2202,
|
87 |
+
"step": 60
|
88 |
+
},
|
89 |
+
{
|
90 |
+
"epoch": 0.38,
|
91 |
+
"learning_rate": 0.00015693639270213136,
|
92 |
+
"loss": 1.1952,
|
93 |
+
"step": 65
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.41,
|
97 |
+
"learning_rate": 0.0001482113502570349,
|
98 |
+
"loss": 1.2162,
|
99 |
+
"step": 70
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.44,
|
103 |
+
"learning_rate": 0.00013897858732926793,
|
104 |
+
"loss": 1.1951,
|
105 |
+
"step": 75
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 0.47,
|
109 |
+
"learning_rate": 0.00012933533543848461,
|
110 |
+
"loss": 1.1806,
|
111 |
+
"step": 80
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 0.5,
|
115 |
+
"learning_rate": 0.00011938314902110701,
|
116 |
+
"loss": 1.2158,
|
117 |
+
"step": 85
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 0.53,
|
121 |
+
"learning_rate": 0.00010922683594633021,
|
122 |
+
"loss": 1.1702,
|
123 |
+
"step": 90
|
124 |
+
},
|
125 |
+
{
|
126 |
+
"epoch": 0.56,
|
127 |
+
"learning_rate": 9.897335376977102e-05,
|
128 |
+
"loss": 1.186,
|
129 |
+
"step": 95
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.58,
|
133 |
+
"learning_rate": 8.87306833484679e-05,
|
134 |
+
"loss": 1.1802,
|
135 |
+
"step": 100
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.61,
|
139 |
+
"learning_rate": 7.860669167935028e-05,
|
140 |
+
"loss": 1.1626,
|
141 |
+
"step": 105
|
142 |
+
},
|
143 |
+
{
|
144 |
+
"epoch": 0.64,
|
145 |
+
"learning_rate": 6.870799593678459e-05,
|
146 |
+
"loss": 1.177,
|
147 |
+
"step": 110
|
148 |
+
},
|
149 |
+
{
|
150 |
+
"epoch": 0.67,
|
151 |
+
"learning_rate": 5.913884067217685e-05,
|
152 |
+
"loss": 1.1495,
|
153 |
+
"step": 115
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 0.7,
|
157 |
+
"learning_rate": 5.000000000000002e-05,
|
158 |
+
"loss": 1.1842,
|
159 |
+
"step": 120
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 0.73,
|
163 |
+
"learning_rate": 4.1387716331478565e-05,
|
164 |
+
"loss": 1.1736,
|
165 |
+
"step": 125
|
166 |
+
},
|
167 |
+
{
|
168 |
+
"epoch": 0.76,
|
169 |
+
"learning_rate": 3.339268683227499e-05,
|
170 |
+
"loss": 1.1638,
|
171 |
+
"step": 130
|
172 |
+
},
|
173 |
+
{
|
174 |
+
"epoch": 0.79,
|
175 |
+
"learning_rate": 2.6099108277934103e-05,
|
176 |
+
"loss": 1.1465,
|
177 |
+
"step": 135
|
178 |
+
},
|
179 |
+
{
|
180 |
+
"epoch": 0.82,
|
181 |
+
"learning_rate": 1.9583790365845822e-05,
|
182 |
+
"loss": 1.1706,
|
183 |
+
"step": 140
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"epoch": 0.85,
|
187 |
+
"learning_rate": 1.3915346821563235e-05,
|
188 |
+
"loss": 1.152,
|
189 |
+
"step": 145
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 0.88,
|
193 |
+
"learning_rate": 9.153472818047625e-06,
|
194 |
+
"loss": 1.1454,
|
195 |
+
"step": 150
|
196 |
+
},
|
197 |
+
{
|
198 |
+
"epoch": 0.91,
|
199 |
+
"learning_rate": 5.348316317440549e-06,
|
200 |
+
"loss": 1.1639,
|
201 |
+
"step": 155
|
202 |
+
},
|
203 |
+
{
|
204 |
+
"epoch": 0.94,
|
205 |
+
"learning_rate": 2.539949955849985e-06,
|
206 |
+
"loss": 1.1614,
|
207 |
+
"step": 160
|
208 |
+
},
|
209 |
+
{
|
210 |
+
"epoch": 0.96,
|
211 |
+
"learning_rate": 7.579490328064265e-07,
|
212 |
+
"loss": 1.1605,
|
213 |
+
"step": 165
|
214 |
+
},
|
215 |
+
{
|
216 |
+
"epoch": 0.99,
|
217 |
+
"learning_rate": 2.108004964086474e-08,
|
218 |
+
"loss": 1.1641,
|
219 |
+
"step": 170
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 1.0,
|
223 |
+
"eval_loss": 1.2067391872406006,
|
224 |
+
"eval_runtime": 235.4134,
|
225 |
+
"eval_samples_per_second": 2.68,
|
226 |
+
"eval_steps_per_second": 0.671,
|
227 |
+
"step": 171
|
228 |
+
},
|
229 |
+
{
|
230 |
+
"epoch": 1.0,
|
231 |
+
"step": 171,
|
232 |
+
"total_flos": 6.011757435184742e+16,
|
233 |
+
"train_loss": 1.2207316202029848,
|
234 |
+
"train_runtime": 1132.3581,
|
235 |
+
"train_samples_per_second": 0.604,
|
236 |
+
"train_steps_per_second": 0.151
|
237 |
+
}
|
238 |
+
],
|
239 |
+
"logging_steps": 5,
|
240 |
+
"max_steps": 171,
|
241 |
+
"num_input_tokens_seen": 0,
|
242 |
+
"num_train_epochs": 1,
|
243 |
+
"save_steps": 100,
|
244 |
+
"total_flos": 6.011757435184742e+16,
|
245 |
+
"train_batch_size": 2,
|
246 |
+
"trial_name": null,
|
247 |
+
"trial_params": null
|
248 |
+
}
|