AmberYifan
commited on
Model save
Browse files- README.md +68 -0
- all_results.json +9 -0
- generation_config.json +10 -0
- train_results.json +9 -0
- trainer_state.json +795 -0
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: AmberYifan/llama2-7b-sft-ultrachat-safeRLHF
|
3 |
+
library_name: transformers
|
4 |
+
model_name: Llama-2-7b-sft-dpo-10k
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
- trl
|
8 |
+
- dpo
|
9 |
+
licence: license
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Card for Llama-2-7b-sft-dpo-10k
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [AmberYifan/llama2-7b-sft-ultrachat-safeRLHF](https://huggingface.co/AmberYifan/llama2-7b-sft-ultrachat-safeRLHF).
|
15 |
+
It has been trained using [TRL](https://github.com/huggingface/trl).
|
16 |
+
|
17 |
+
## Quick start
|
18 |
+
|
19 |
+
```python
|
20 |
+
from transformers import pipeline
|
21 |
+
|
22 |
+
question = "If you had a time machine, but could only go to the past or the future once and never return, which would you choose and why?"
|
23 |
+
generator = pipeline("text-generation", model="AmberYifan/Llama-2-7b-sft-dpo-10k", device="cuda")
|
24 |
+
output = generator([{"role": "user", "content": question}], max_new_tokens=128, return_full_text=False)[0]
|
25 |
+
print(output["generated_text"])
|
26 |
+
```
|
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/yifanwang/huggingface/runs/4pkkmh8s)
|
31 |
+
|
32 |
+
This model was trained with DPO, a method introduced in [Direct Preference Optimization: Your Language Model is Secretly a Reward Model](https://huggingface.co/papers/2305.18290).
|
33 |
+
|
34 |
+
### Framework versions
|
35 |
+
|
36 |
+
- TRL: 0.12.0
|
37 |
+
- Transformers: 4.46.3
|
38 |
+
- Pytorch: 2.1.2+cu121
|
39 |
+
- Datasets: 3.1.0
|
40 |
+
- Tokenizers: 0.20.3
|
41 |
+
|
42 |
+
## Citations
|
43 |
+
|
44 |
+
Cite DPO as:
|
45 |
+
|
46 |
+
```bibtex
|
47 |
+
@inproceedings{rafailov2023direct,
|
48 |
+
title = {{Direct Preference Optimization: Your Language Model is Secretly a Reward Model}},
|
49 |
+
author = {Rafael Rafailov and Archit Sharma and Eric Mitchell and Christopher D. Manning and Stefano Ermon and Chelsea Finn},
|
50 |
+
year = 2023,
|
51 |
+
booktitle = {Advances in Neural Information Processing Systems 36: Annual Conference on Neural Information Processing Systems 2023, NeurIPS 2023, New Orleans, LA, USA, December 10 - 16, 2023},
|
52 |
+
url = {http://papers.nips.cc/paper_files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html},
|
53 |
+
editor = {Alice Oh and Tristan Naumann and Amir Globerson and Kate Saenko and Moritz Hardt and Sergey Levine},
|
54 |
+
}
|
55 |
+
```
|
56 |
+
|
57 |
+
Cite TRL as:
|
58 |
+
|
59 |
+
```bibtex
|
60 |
+
@misc{vonwerra2022trl,
|
61 |
+
title = {{TRL: Transformer Reinforcement Learning}},
|
62 |
+
author = {Leandro von Werra and Younes Belkada and Lewis Tunstall and Edward Beeching and Tristan Thrush and Nathan Lambert and Shengyi Huang and Kashif Rasul and Quentin Gallouédec},
|
63 |
+
year = 2020,
|
64 |
+
journal = {GitHub repository},
|
65 |
+
publisher = {GitHub},
|
66 |
+
howpublished = {\url{https://github.com/huggingface/trl}}
|
67 |
+
}
|
68 |
+
```
|
all_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.9904153354632586,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.5567819970285791,
|
5 |
+
"train_runtime": 4306.1528,
|
6 |
+
"train_samples": 9998,
|
7 |
+
"train_samples_per_second": 6.965,
|
8 |
+
"train_steps_per_second": 0.109
|
9 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token_id": 1,
|
3 |
+
"do_sample": true,
|
4 |
+
"eos_token_id": 2,
|
5 |
+
"max_length": 4096,
|
6 |
+
"pad_token_id": 0,
|
7 |
+
"temperature": 0.6,
|
8 |
+
"top_p": 0.9,
|
9 |
+
"transformers_version": "4.46.3"
|
10 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 2.9904153354632586,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.5567819970285791,
|
5 |
+
"train_runtime": 4306.1528,
|
6 |
+
"train_samples": 9998,
|
7 |
+
"train_samples_per_second": 6.965,
|
8 |
+
"train_steps_per_second": 0.109
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,795 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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"eval_steps": 500,
|
6 |
+
"global_step": 468,
|
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.006389776357827476,
|
13 |
+
"grad_norm": 11.092770897372258,
|
14 |
+
"learning_rate": 1.0638297872340425e-08,
|
15 |
+
"logits/chosen": -1.4375,
|
16 |
+
"logits/rejected": -1.4765625,
|
17 |
+
"logps/chosen": -124.0,
|
18 |
+
"logps/rejected": -106.0,
|
19 |
+
"loss": 0.6914,
|
20 |
+
"rewards/accuracies": 0.0,
|
21 |
+
"rewards/chosen": 0.0,
|
22 |
+
"rewards/margins": 0.0,
|
23 |
+
"rewards/rejected": 0.0,
|
24 |
+
"step": 1
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"epoch": 0.06389776357827476,
|
28 |
+
"grad_norm": 11.4814018660731,
|
29 |
+
"learning_rate": 1.0638297872340425e-07,
|
30 |
+
"logits/chosen": -1.6171875,
|
31 |
+
"logits/rejected": -1.546875,
|
32 |
+
"logps/chosen": -148.0,
|
33 |
+
"logps/rejected": -131.0,
|
34 |
+
"loss": 0.693,
|
35 |
+
"rewards/accuracies": 0.2222222238779068,
|
36 |
+
"rewards/chosen": 0.000873565673828125,
|
37 |
+
"rewards/margins": -0.0019073486328125,
|
38 |
+
"rewards/rejected": 0.002777099609375,
|
39 |
+
"step": 10
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.12779552715654952,
|
43 |
+
"grad_norm": 10.808846928393402,
|
44 |
+
"learning_rate": 2.127659574468085e-07,
|
45 |
+
"logits/chosen": -1.59375,
|
46 |
+
"logits/rejected": -1.5,
|
47 |
+
"logps/chosen": -148.0,
|
48 |
+
"logps/rejected": -119.0,
|
49 |
+
"loss": 0.6909,
|
50 |
+
"rewards/accuracies": 0.30000001192092896,
|
51 |
+
"rewards/chosen": 0.00093841552734375,
|
52 |
+
"rewards/margins": 0.00909423828125,
|
53 |
+
"rewards/rejected": -0.00811767578125,
|
54 |
+
"step": 20
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.19169329073482427,
|
58 |
+
"grad_norm": 11.114832070482858,
|
59 |
+
"learning_rate": 3.1914893617021275e-07,
|
60 |
+
"logits/chosen": -1.5859375,
|
61 |
+
"logits/rejected": -1.53125,
|
62 |
+
"logps/chosen": -138.0,
|
63 |
+
"logps/rejected": -130.0,
|
64 |
+
"loss": 0.688,
|
65 |
+
"rewards/accuracies": 0.3812499940395355,
|
66 |
+
"rewards/chosen": -0.022705078125,
|
67 |
+
"rewards/margins": 0.01031494140625,
|
68 |
+
"rewards/rejected": -0.032958984375,
|
69 |
+
"step": 30
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.25559105431309903,
|
73 |
+
"grad_norm": 10.629612292618301,
|
74 |
+
"learning_rate": 4.25531914893617e-07,
|
75 |
+
"logits/chosen": -1.5546875,
|
76 |
+
"logits/rejected": -1.5234375,
|
77 |
+
"logps/chosen": -137.0,
|
78 |
+
"logps/rejected": -122.0,
|
79 |
+
"loss": 0.6849,
|
80 |
+
"rewards/accuracies": 0.48750001192092896,
|
81 |
+
"rewards/chosen": -0.0517578125,
|
82 |
+
"rewards/margins": 0.0220947265625,
|
83 |
+
"rewards/rejected": -0.07373046875,
|
84 |
+
"step": 40
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.3194888178913738,
|
88 |
+
"grad_norm": 10.309070114270924,
|
89 |
+
"learning_rate": 4.96437054631829e-07,
|
90 |
+
"logits/chosen": -1.59375,
|
91 |
+
"logits/rejected": -1.5703125,
|
92 |
+
"logps/chosen": -148.0,
|
93 |
+
"logps/rejected": -134.0,
|
94 |
+
"loss": 0.6751,
|
95 |
+
"rewards/accuracies": 0.5062500238418579,
|
96 |
+
"rewards/chosen": -0.11767578125,
|
97 |
+
"rewards/margins": 0.02880859375,
|
98 |
+
"rewards/rejected": -0.146484375,
|
99 |
+
"step": 50
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.38338658146964855,
|
103 |
+
"grad_norm": 10.691839409341034,
|
104 |
+
"learning_rate": 4.845605700712589e-07,
|
105 |
+
"logits/chosen": -1.5390625,
|
106 |
+
"logits/rejected": -1.5390625,
|
107 |
+
"logps/chosen": -138.0,
|
108 |
+
"logps/rejected": -126.0,
|
109 |
+
"loss": 0.6763,
|
110 |
+
"rewards/accuracies": 0.53125,
|
111 |
+
"rewards/chosen": -0.208984375,
|
112 |
+
"rewards/margins": 0.0380859375,
|
113 |
+
"rewards/rejected": -0.2470703125,
|
114 |
+
"step": 60
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.4472843450479233,
|
118 |
+
"grad_norm": 10.976743522383872,
|
119 |
+
"learning_rate": 4.7268408551068883e-07,
|
120 |
+
"logits/chosen": -1.578125,
|
121 |
+
"logits/rejected": -1.5078125,
|
122 |
+
"logps/chosen": -146.0,
|
123 |
+
"logps/rejected": -130.0,
|
124 |
+
"loss": 0.6659,
|
125 |
+
"rewards/accuracies": 0.6187499761581421,
|
126 |
+
"rewards/chosen": -0.158203125,
|
127 |
+
"rewards/margins": 0.08154296875,
|
128 |
+
"rewards/rejected": -0.2392578125,
|
129 |
+
"step": 70
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.5111821086261981,
|
133 |
+
"grad_norm": 9.937714950468724,
|
134 |
+
"learning_rate": 4.6080760095011875e-07,
|
135 |
+
"logits/chosen": -1.546875,
|
136 |
+
"logits/rejected": -1.5390625,
|
137 |
+
"logps/chosen": -139.0,
|
138 |
+
"logps/rejected": -134.0,
|
139 |
+
"loss": 0.6732,
|
140 |
+
"rewards/accuracies": 0.5562499761581421,
|
141 |
+
"rewards/chosen": -0.25390625,
|
142 |
+
"rewards/margins": 0.057373046875,
|
143 |
+
"rewards/rejected": -0.3125,
|
144 |
+
"step": 80
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 0.5750798722044729,
|
148 |
+
"grad_norm": 10.448001432920702,
|
149 |
+
"learning_rate": 4.4893111638954866e-07,
|
150 |
+
"logits/chosen": -1.53125,
|
151 |
+
"logits/rejected": -1.5078125,
|
152 |
+
"logps/chosen": -142.0,
|
153 |
+
"logps/rejected": -135.0,
|
154 |
+
"loss": 0.659,
|
155 |
+
"rewards/accuracies": 0.637499988079071,
|
156 |
+
"rewards/chosen": -0.3125,
|
157 |
+
"rewards/margins": 0.08935546875,
|
158 |
+
"rewards/rejected": -0.40234375,
|
159 |
+
"step": 90
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 0.6389776357827476,
|
163 |
+
"grad_norm": 10.03442318899385,
|
164 |
+
"learning_rate": 4.3705463182897863e-07,
|
165 |
+
"logits/chosen": -1.59375,
|
166 |
+
"logits/rejected": -1.5625,
|
167 |
+
"logps/chosen": -152.0,
|
168 |
+
"logps/rejected": -136.0,
|
169 |
+
"loss": 0.6485,
|
170 |
+
"rewards/accuracies": 0.65625,
|
171 |
+
"rewards/chosen": -0.306640625,
|
172 |
+
"rewards/margins": 0.154296875,
|
173 |
+
"rewards/rejected": -0.4609375,
|
174 |
+
"step": 100
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 0.7028753993610224,
|
178 |
+
"grad_norm": 10.349608536461915,
|
179 |
+
"learning_rate": 4.251781472684085e-07,
|
180 |
+
"logits/chosen": -1.5,
|
181 |
+
"logits/rejected": -1.484375,
|
182 |
+
"logps/chosen": -142.0,
|
183 |
+
"logps/rejected": -136.0,
|
184 |
+
"loss": 0.6387,
|
185 |
+
"rewards/accuracies": 0.6187499761581421,
|
186 |
+
"rewards/chosen": -0.49609375,
|
187 |
+
"rewards/margins": 0.130859375,
|
188 |
+
"rewards/rejected": -0.625,
|
189 |
+
"step": 110
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 0.7667731629392971,
|
193 |
+
"grad_norm": 10.539570985663747,
|
194 |
+
"learning_rate": 4.1330166270783846e-07,
|
195 |
+
"logits/chosen": -1.5078125,
|
196 |
+
"logits/rejected": -1.484375,
|
197 |
+
"logps/chosen": -140.0,
|
198 |
+
"logps/rejected": -132.0,
|
199 |
+
"loss": 0.6411,
|
200 |
+
"rewards/accuracies": 0.612500011920929,
|
201 |
+
"rewards/chosen": -0.59375,
|
202 |
+
"rewards/margins": 0.1728515625,
|
203 |
+
"rewards/rejected": -0.76953125,
|
204 |
+
"step": 120
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"epoch": 0.8306709265175719,
|
208 |
+
"grad_norm": 9.94604093638921,
|
209 |
+
"learning_rate": 4.0142517814726837e-07,
|
210 |
+
"logits/chosen": -1.5625,
|
211 |
+
"logits/rejected": -1.484375,
|
212 |
+
"logps/chosen": -153.0,
|
213 |
+
"logps/rejected": -127.5,
|
214 |
+
"loss": 0.6196,
|
215 |
+
"rewards/accuracies": 0.7250000238418579,
|
216 |
+
"rewards/chosen": -0.66015625,
|
217 |
+
"rewards/margins": 0.337890625,
|
218 |
+
"rewards/rejected": -0.99609375,
|
219 |
+
"step": 130
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.8945686900958466,
|
223 |
+
"grad_norm": 9.253374940542843,
|
224 |
+
"learning_rate": 3.8954869358669834e-07,
|
225 |
+
"logits/chosen": -1.5546875,
|
226 |
+
"logits/rejected": -1.4765625,
|
227 |
+
"logps/chosen": -155.0,
|
228 |
+
"logps/rejected": -141.0,
|
229 |
+
"loss": 0.6091,
|
230 |
+
"rewards/accuracies": 0.65625,
|
231 |
+
"rewards/chosen": -0.83984375,
|
232 |
+
"rewards/margins": 0.28125,
|
233 |
+
"rewards/rejected": -1.1171875,
|
234 |
+
"step": 140
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 0.9584664536741214,
|
238 |
+
"grad_norm": 9.147492605620393,
|
239 |
+
"learning_rate": 3.7767220902612825e-07,
|
240 |
+
"logits/chosen": -1.5390625,
|
241 |
+
"logits/rejected": -1.5078125,
|
242 |
+
"logps/chosen": -160.0,
|
243 |
+
"logps/rejected": -142.0,
|
244 |
+
"loss": 0.6096,
|
245 |
+
"rewards/accuracies": 0.71875,
|
246 |
+
"rewards/chosen": -0.80859375,
|
247 |
+
"rewards/margins": 0.349609375,
|
248 |
+
"rewards/rejected": -1.15625,
|
249 |
+
"step": 150
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 0.9968051118210862,
|
253 |
+
"eval_logits/chosen": -1.484375,
|
254 |
+
"eval_logits/rejected": -1.4765625,
|
255 |
+
"eval_logps/chosen": -145.0,
|
256 |
+
"eval_logps/rejected": -134.0,
|
257 |
+
"eval_loss": 0.6089843511581421,
|
258 |
+
"eval_rewards/accuracies": 0.6607142686843872,
|
259 |
+
"eval_rewards/chosen": -0.65234375,
|
260 |
+
"eval_rewards/margins": 0.34765625,
|
261 |
+
"eval_rewards/rejected": -1.0,
|
262 |
+
"eval_runtime": 11.4557,
|
263 |
+
"eval_samples_per_second": 17.459,
|
264 |
+
"eval_steps_per_second": 0.611,
|
265 |
+
"step": 156
|
266 |
+
},
|
267 |
+
{
|
268 |
+
"epoch": 1.0223642172523961,
|
269 |
+
"grad_norm": 9.22711379768867,
|
270 |
+
"learning_rate": 3.6579572446555817e-07,
|
271 |
+
"logits/chosen": -1.4921875,
|
272 |
+
"logits/rejected": -1.46875,
|
273 |
+
"logps/chosen": -141.0,
|
274 |
+
"logps/rejected": -139.0,
|
275 |
+
"loss": 0.5811,
|
276 |
+
"rewards/accuracies": 0.675000011920929,
|
277 |
+
"rewards/chosen": -0.8828125,
|
278 |
+
"rewards/margins": 0.34765625,
|
279 |
+
"rewards/rejected": -1.2265625,
|
280 |
+
"step": 160
|
281 |
+
},
|
282 |
+
{
|
283 |
+
"epoch": 1.0862619808306708,
|
284 |
+
"grad_norm": 9.508478185274804,
|
285 |
+
"learning_rate": 3.5391923990498813e-07,
|
286 |
+
"logits/chosen": -1.5078125,
|
287 |
+
"logits/rejected": -1.5,
|
288 |
+
"logps/chosen": -145.0,
|
289 |
+
"logps/rejected": -134.0,
|
290 |
+
"loss": 0.5337,
|
291 |
+
"rewards/accuracies": 0.78125,
|
292 |
+
"rewards/chosen": -0.71875,
|
293 |
+
"rewards/margins": 0.5546875,
|
294 |
+
"rewards/rejected": -1.2734375,
|
295 |
+
"step": 170
|
296 |
+
},
|
297 |
+
{
|
298 |
+
"epoch": 1.1501597444089458,
|
299 |
+
"grad_norm": 9.316918076373987,
|
300 |
+
"learning_rate": 3.42042755344418e-07,
|
301 |
+
"logits/chosen": -1.5625,
|
302 |
+
"logits/rejected": -1.53125,
|
303 |
+
"logps/chosen": -157.0,
|
304 |
+
"logps/rejected": -146.0,
|
305 |
+
"loss": 0.544,
|
306 |
+
"rewards/accuracies": 0.7875000238418579,
|
307 |
+
"rewards/chosen": -0.66015625,
|
308 |
+
"rewards/margins": 0.56640625,
|
309 |
+
"rewards/rejected": -1.2265625,
|
310 |
+
"step": 180
|
311 |
+
},
|
312 |
+
{
|
313 |
+
"epoch": 1.2140575079872205,
|
314 |
+
"grad_norm": 8.759483351227418,
|
315 |
+
"learning_rate": 3.3016627078384796e-07,
|
316 |
+
"logits/chosen": -1.5703125,
|
317 |
+
"logits/rejected": -1.5234375,
|
318 |
+
"logps/chosen": -152.0,
|
319 |
+
"logps/rejected": -146.0,
|
320 |
+
"loss": 0.5362,
|
321 |
+
"rewards/accuracies": 0.7250000238418579,
|
322 |
+
"rewards/chosen": -0.74609375,
|
323 |
+
"rewards/margins": 0.5,
|
324 |
+
"rewards/rejected": -1.25,
|
325 |
+
"step": 190
|
326 |
+
},
|
327 |
+
{
|
328 |
+
"epoch": 1.2779552715654952,
|
329 |
+
"grad_norm": 9.97195116624129,
|
330 |
+
"learning_rate": 3.182897862232779e-07,
|
331 |
+
"logits/chosen": -1.515625,
|
332 |
+
"logits/rejected": -1.515625,
|
333 |
+
"logps/chosen": -151.0,
|
334 |
+
"logps/rejected": -141.0,
|
335 |
+
"loss": 0.5373,
|
336 |
+
"rewards/accuracies": 0.768750011920929,
|
337 |
+
"rewards/chosen": -0.7890625,
|
338 |
+
"rewards/margins": 0.55859375,
|
339 |
+
"rewards/rejected": -1.34375,
|
340 |
+
"step": 200
|
341 |
+
},
|
342 |
+
{
|
343 |
+
"epoch": 1.34185303514377,
|
344 |
+
"grad_norm": 8.576220811968858,
|
345 |
+
"learning_rate": 3.0641330166270784e-07,
|
346 |
+
"logits/chosen": -1.578125,
|
347 |
+
"logits/rejected": -1.5234375,
|
348 |
+
"logps/chosen": -151.0,
|
349 |
+
"logps/rejected": -140.0,
|
350 |
+
"loss": 0.5339,
|
351 |
+
"rewards/accuracies": 0.6875,
|
352 |
+
"rewards/chosen": -0.83984375,
|
353 |
+
"rewards/margins": 0.462890625,
|
354 |
+
"rewards/rejected": -1.3046875,
|
355 |
+
"step": 210
|
356 |
+
},
|
357 |
+
{
|
358 |
+
"epoch": 1.4057507987220448,
|
359 |
+
"grad_norm": 8.688671845017401,
|
360 |
+
"learning_rate": 2.9453681710213776e-07,
|
361 |
+
"logits/chosen": -1.53125,
|
362 |
+
"logits/rejected": -1.53125,
|
363 |
+
"logps/chosen": -148.0,
|
364 |
+
"logps/rejected": -143.0,
|
365 |
+
"loss": 0.5366,
|
366 |
+
"rewards/accuracies": 0.731249988079071,
|
367 |
+
"rewards/chosen": -0.8671875,
|
368 |
+
"rewards/margins": 0.5078125,
|
369 |
+
"rewards/rejected": -1.375,
|
370 |
+
"step": 220
|
371 |
+
},
|
372 |
+
{
|
373 |
+
"epoch": 1.4696485623003195,
|
374 |
+
"grad_norm": 9.030983047385451,
|
375 |
+
"learning_rate": 2.8266033254156767e-07,
|
376 |
+
"logits/chosen": -1.546875,
|
377 |
+
"logits/rejected": -1.515625,
|
378 |
+
"logps/chosen": -145.0,
|
379 |
+
"logps/rejected": -142.0,
|
380 |
+
"loss": 0.5346,
|
381 |
+
"rewards/accuracies": 0.737500011920929,
|
382 |
+
"rewards/chosen": -0.8046875,
|
383 |
+
"rewards/margins": 0.53515625,
|
384 |
+
"rewards/rejected": -1.34375,
|
385 |
+
"step": 230
|
386 |
+
},
|
387 |
+
{
|
388 |
+
"epoch": 1.5335463258785942,
|
389 |
+
"grad_norm": 11.622095941624893,
|
390 |
+
"learning_rate": 2.7078384798099764e-07,
|
391 |
+
"logits/chosen": -1.484375,
|
392 |
+
"logits/rejected": -1.4609375,
|
393 |
+
"logps/chosen": -145.0,
|
394 |
+
"logps/rejected": -153.0,
|
395 |
+
"loss": 0.553,
|
396 |
+
"rewards/accuracies": 0.75,
|
397 |
+
"rewards/chosen": -0.80859375,
|
398 |
+
"rewards/margins": 0.51171875,
|
399 |
+
"rewards/rejected": -1.3203125,
|
400 |
+
"step": 240
|
401 |
+
},
|
402 |
+
{
|
403 |
+
"epoch": 1.5974440894568689,
|
404 |
+
"grad_norm": 9.38942767820535,
|
405 |
+
"learning_rate": 2.589073634204275e-07,
|
406 |
+
"logits/chosen": -1.5625,
|
407 |
+
"logits/rejected": -1.4765625,
|
408 |
+
"logps/chosen": -146.0,
|
409 |
+
"logps/rejected": -132.0,
|
410 |
+
"loss": 0.54,
|
411 |
+
"rewards/accuracies": 0.78125,
|
412 |
+
"rewards/chosen": -0.50390625,
|
413 |
+
"rewards/margins": 0.578125,
|
414 |
+
"rewards/rejected": -1.078125,
|
415 |
+
"step": 250
|
416 |
+
},
|
417 |
+
{
|
418 |
+
"epoch": 1.6613418530351438,
|
419 |
+
"grad_norm": 9.87005880531835,
|
420 |
+
"learning_rate": 2.4703087885985747e-07,
|
421 |
+
"logits/chosen": -1.5546875,
|
422 |
+
"logits/rejected": -1.5234375,
|
423 |
+
"logps/chosen": -160.0,
|
424 |
+
"logps/rejected": -148.0,
|
425 |
+
"loss": 0.5312,
|
426 |
+
"rewards/accuracies": 0.737500011920929,
|
427 |
+
"rewards/chosen": -0.55859375,
|
428 |
+
"rewards/margins": 0.5546875,
|
429 |
+
"rewards/rejected": -1.1171875,
|
430 |
+
"step": 260
|
431 |
+
},
|
432 |
+
{
|
433 |
+
"epoch": 1.7252396166134185,
|
434 |
+
"grad_norm": 8.251251897175216,
|
435 |
+
"learning_rate": 2.351543942992874e-07,
|
436 |
+
"logits/chosen": -1.5234375,
|
437 |
+
"logits/rejected": -1.4921875,
|
438 |
+
"logps/chosen": -146.0,
|
439 |
+
"logps/rejected": -143.0,
|
440 |
+
"loss": 0.5354,
|
441 |
+
"rewards/accuracies": 0.7875000238418579,
|
442 |
+
"rewards/chosen": -0.609375,
|
443 |
+
"rewards/margins": 0.56640625,
|
444 |
+
"rewards/rejected": -1.171875,
|
445 |
+
"step": 270
|
446 |
+
},
|
447 |
+
{
|
448 |
+
"epoch": 1.7891373801916934,
|
449 |
+
"grad_norm": 9.817987165601615,
|
450 |
+
"learning_rate": 2.2327790973871732e-07,
|
451 |
+
"logits/chosen": -1.53125,
|
452 |
+
"logits/rejected": -1.4921875,
|
453 |
+
"logps/chosen": -148.0,
|
454 |
+
"logps/rejected": -144.0,
|
455 |
+
"loss": 0.5347,
|
456 |
+
"rewards/accuracies": 0.78125,
|
457 |
+
"rewards/chosen": -0.5546875,
|
458 |
+
"rewards/margins": 0.58984375,
|
459 |
+
"rewards/rejected": -1.1484375,
|
460 |
+
"step": 280
|
461 |
+
},
|
462 |
+
{
|
463 |
+
"epoch": 1.8530351437699681,
|
464 |
+
"grad_norm": 9.610664273576093,
|
465 |
+
"learning_rate": 2.1140142517814726e-07,
|
466 |
+
"logits/chosen": -1.5390625,
|
467 |
+
"logits/rejected": -1.4921875,
|
468 |
+
"logps/chosen": -164.0,
|
469 |
+
"logps/rejected": -148.0,
|
470 |
+
"loss": 0.5186,
|
471 |
+
"rewards/accuracies": 0.762499988079071,
|
472 |
+
"rewards/chosen": -0.57421875,
|
473 |
+
"rewards/margins": 0.59375,
|
474 |
+
"rewards/rejected": -1.1640625,
|
475 |
+
"step": 290
|
476 |
+
},
|
477 |
+
{
|
478 |
+
"epoch": 1.9169329073482428,
|
479 |
+
"grad_norm": 9.80773406850179,
|
480 |
+
"learning_rate": 1.9952494061757718e-07,
|
481 |
+
"logits/chosen": -1.53125,
|
482 |
+
"logits/rejected": -1.5078125,
|
483 |
+
"logps/chosen": -151.0,
|
484 |
+
"logps/rejected": -148.0,
|
485 |
+
"loss": 0.5476,
|
486 |
+
"rewards/accuracies": 0.731249988079071,
|
487 |
+
"rewards/chosen": -0.75,
|
488 |
+
"rewards/margins": 0.439453125,
|
489 |
+
"rewards/rejected": -1.1875,
|
490 |
+
"step": 300
|
491 |
+
},
|
492 |
+
{
|
493 |
+
"epoch": 1.9808306709265175,
|
494 |
+
"grad_norm": 9.05899810741374,
|
495 |
+
"learning_rate": 1.876484560570071e-07,
|
496 |
+
"logits/chosen": -1.578125,
|
497 |
+
"logits/rejected": -1.53125,
|
498 |
+
"logps/chosen": -156.0,
|
499 |
+
"logps/rejected": -144.0,
|
500 |
+
"loss": 0.5245,
|
501 |
+
"rewards/accuracies": 0.8062499761581421,
|
502 |
+
"rewards/chosen": -0.71875,
|
503 |
+
"rewards/margins": 0.5703125,
|
504 |
+
"rewards/rejected": -1.2890625,
|
505 |
+
"step": 310
|
506 |
+
},
|
507 |
+
{
|
508 |
+
"epoch": 2.0,
|
509 |
+
"eval_logits/chosen": -1.5,
|
510 |
+
"eval_logits/rejected": -1.4921875,
|
511 |
+
"eval_logps/chosen": -144.0,
|
512 |
+
"eval_logps/rejected": -134.0,
|
513 |
+
"eval_loss": 0.5994531512260437,
|
514 |
+
"eval_rewards/accuracies": 0.6964285969734192,
|
515 |
+
"eval_rewards/chosen": -0.546875,
|
516 |
+
"eval_rewards/margins": 0.458984375,
|
517 |
+
"eval_rewards/rejected": -1.0078125,
|
518 |
+
"eval_runtime": 11.4667,
|
519 |
+
"eval_samples_per_second": 17.442,
|
520 |
+
"eval_steps_per_second": 0.61,
|
521 |
+
"step": 313
|
522 |
+
},
|
523 |
+
{
|
524 |
+
"epoch": 2.0447284345047922,
|
525 |
+
"grad_norm": 8.064019736193583,
|
526 |
+
"learning_rate": 1.7577197149643706e-07,
|
527 |
+
"logits/chosen": -1.546875,
|
528 |
+
"logits/rejected": -1.5,
|
529 |
+
"logps/chosen": -155.0,
|
530 |
+
"logps/rejected": -145.0,
|
531 |
+
"loss": 0.4849,
|
532 |
+
"rewards/accuracies": 0.793749988079071,
|
533 |
+
"rewards/chosen": -0.84765625,
|
534 |
+
"rewards/margins": 0.671875,
|
535 |
+
"rewards/rejected": -1.515625,
|
536 |
+
"step": 320
|
537 |
+
},
|
538 |
+
{
|
539 |
+
"epoch": 2.108626198083067,
|
540 |
+
"grad_norm": 7.485198225503147,
|
541 |
+
"learning_rate": 1.6389548693586697e-07,
|
542 |
+
"logits/chosen": -1.5625,
|
543 |
+
"logits/rejected": -1.5078125,
|
544 |
+
"logps/chosen": -144.0,
|
545 |
+
"logps/rejected": -136.0,
|
546 |
+
"loss": 0.495,
|
547 |
+
"rewards/accuracies": 0.7749999761581421,
|
548 |
+
"rewards/chosen": -0.8671875,
|
549 |
+
"rewards/margins": 0.60546875,
|
550 |
+
"rewards/rejected": -1.4765625,
|
551 |
+
"step": 330
|
552 |
+
},
|
553 |
+
{
|
554 |
+
"epoch": 2.1725239616613417,
|
555 |
+
"grad_norm": 9.966020126485736,
|
556 |
+
"learning_rate": 1.520190023752969e-07,
|
557 |
+
"logits/chosen": -1.546875,
|
558 |
+
"logits/rejected": -1.5,
|
559 |
+
"logps/chosen": -149.0,
|
560 |
+
"logps/rejected": -137.0,
|
561 |
+
"loss": 0.4747,
|
562 |
+
"rewards/accuracies": 0.8187500238418579,
|
563 |
+
"rewards/chosen": -0.83203125,
|
564 |
+
"rewards/margins": 0.7109375,
|
565 |
+
"rewards/rejected": -1.546875,
|
566 |
+
"step": 340
|
567 |
+
},
|
568 |
+
{
|
569 |
+
"epoch": 2.236421725239617,
|
570 |
+
"grad_norm": 9.297651299143556,
|
571 |
+
"learning_rate": 1.4014251781472683e-07,
|
572 |
+
"logits/chosen": -1.5625,
|
573 |
+
"logits/rejected": -1.53125,
|
574 |
+
"logps/chosen": -152.0,
|
575 |
+
"logps/rejected": -144.0,
|
576 |
+
"loss": 0.4823,
|
577 |
+
"rewards/accuracies": 0.8187500238418579,
|
578 |
+
"rewards/chosen": -0.8203125,
|
579 |
+
"rewards/margins": 0.640625,
|
580 |
+
"rewards/rejected": -1.4609375,
|
581 |
+
"step": 350
|
582 |
+
},
|
583 |
+
{
|
584 |
+
"epoch": 2.3003194888178915,
|
585 |
+
"grad_norm": 9.172329731503968,
|
586 |
+
"learning_rate": 1.2826603325415677e-07,
|
587 |
+
"logits/chosen": -1.53125,
|
588 |
+
"logits/rejected": -1.5078125,
|
589 |
+
"logps/chosen": -146.0,
|
590 |
+
"logps/rejected": -137.0,
|
591 |
+
"loss": 0.4743,
|
592 |
+
"rewards/accuracies": 0.800000011920929,
|
593 |
+
"rewards/chosen": -0.8046875,
|
594 |
+
"rewards/margins": 0.74609375,
|
595 |
+
"rewards/rejected": -1.546875,
|
596 |
+
"step": 360
|
597 |
+
},
|
598 |
+
{
|
599 |
+
"epoch": 2.364217252396166,
|
600 |
+
"grad_norm": 9.394249924534705,
|
601 |
+
"learning_rate": 1.163895486935867e-07,
|
602 |
+
"logits/chosen": -1.5859375,
|
603 |
+
"logits/rejected": -1.5390625,
|
604 |
+
"logps/chosen": -164.0,
|
605 |
+
"logps/rejected": -151.0,
|
606 |
+
"loss": 0.4695,
|
607 |
+
"rewards/accuracies": 0.8062499761581421,
|
608 |
+
"rewards/chosen": -0.5703125,
|
609 |
+
"rewards/margins": 0.69921875,
|
610 |
+
"rewards/rejected": -1.2734375,
|
611 |
+
"step": 370
|
612 |
+
},
|
613 |
+
{
|
614 |
+
"epoch": 2.428115015974441,
|
615 |
+
"grad_norm": 8.43211550191306,
|
616 |
+
"learning_rate": 1.0451306413301662e-07,
|
617 |
+
"logits/chosen": -1.546875,
|
618 |
+
"logits/rejected": -1.515625,
|
619 |
+
"logps/chosen": -141.0,
|
620 |
+
"logps/rejected": -136.0,
|
621 |
+
"loss": 0.4747,
|
622 |
+
"rewards/accuracies": 0.7875000238418579,
|
623 |
+
"rewards/chosen": -0.8515625,
|
624 |
+
"rewards/margins": 0.69140625,
|
625 |
+
"rewards/rejected": -1.5390625,
|
626 |
+
"step": 380
|
627 |
+
},
|
628 |
+
{
|
629 |
+
"epoch": 2.4920127795527156,
|
630 |
+
"grad_norm": 9.162321870225993,
|
631 |
+
"learning_rate": 9.263657957244655e-08,
|
632 |
+
"logits/chosen": -1.5234375,
|
633 |
+
"logits/rejected": -1.4921875,
|
634 |
+
"logps/chosen": -148.0,
|
635 |
+
"logps/rejected": -144.0,
|
636 |
+
"loss": 0.4763,
|
637 |
+
"rewards/accuracies": 0.8125,
|
638 |
+
"rewards/chosen": -0.8671875,
|
639 |
+
"rewards/margins": 0.6640625,
|
640 |
+
"rewards/rejected": -1.53125,
|
641 |
+
"step": 390
|
642 |
+
},
|
643 |
+
{
|
644 |
+
"epoch": 2.5559105431309903,
|
645 |
+
"grad_norm": 9.156556482449458,
|
646 |
+
"learning_rate": 8.076009501187649e-08,
|
647 |
+
"logits/chosen": -1.5703125,
|
648 |
+
"logits/rejected": -1.5234375,
|
649 |
+
"logps/chosen": -153.0,
|
650 |
+
"logps/rejected": -139.0,
|
651 |
+
"loss": 0.468,
|
652 |
+
"rewards/accuracies": 0.8125,
|
653 |
+
"rewards/chosen": -0.79296875,
|
654 |
+
"rewards/margins": 0.66796875,
|
655 |
+
"rewards/rejected": -1.4609375,
|
656 |
+
"step": 400
|
657 |
+
},
|
658 |
+
{
|
659 |
+
"epoch": 2.619808306709265,
|
660 |
+
"grad_norm": 8.694584668338557,
|
661 |
+
"learning_rate": 6.88836104513064e-08,
|
662 |
+
"logits/chosen": -1.5625,
|
663 |
+
"logits/rejected": -1.5,
|
664 |
+
"logps/chosen": -155.0,
|
665 |
+
"logps/rejected": -143.0,
|
666 |
+
"loss": 0.4845,
|
667 |
+
"rewards/accuracies": 0.793749988079071,
|
668 |
+
"rewards/chosen": -0.79296875,
|
669 |
+
"rewards/margins": 0.67578125,
|
670 |
+
"rewards/rejected": -1.46875,
|
671 |
+
"step": 410
|
672 |
+
},
|
673 |
+
{
|
674 |
+
"epoch": 2.68370607028754,
|
675 |
+
"grad_norm": 8.76105196917074,
|
676 |
+
"learning_rate": 5.700712589073634e-08,
|
677 |
+
"logits/chosen": -1.5390625,
|
678 |
+
"logits/rejected": -1.5,
|
679 |
+
"logps/chosen": -151.0,
|
680 |
+
"logps/rejected": -144.0,
|
681 |
+
"loss": 0.4679,
|
682 |
+
"rewards/accuracies": 0.793749988079071,
|
683 |
+
"rewards/chosen": -0.80078125,
|
684 |
+
"rewards/margins": 0.70703125,
|
685 |
+
"rewards/rejected": -1.5078125,
|
686 |
+
"step": 420
|
687 |
+
},
|
688 |
+
{
|
689 |
+
"epoch": 2.747603833865815,
|
690 |
+
"grad_norm": 10.082882017826297,
|
691 |
+
"learning_rate": 4.5130641330166267e-08,
|
692 |
+
"logits/chosen": -1.5078125,
|
693 |
+
"logits/rejected": -1.46875,
|
694 |
+
"logps/chosen": -145.0,
|
695 |
+
"logps/rejected": -142.0,
|
696 |
+
"loss": 0.4617,
|
697 |
+
"rewards/accuracies": 0.856249988079071,
|
698 |
+
"rewards/chosen": -0.765625,
|
699 |
+
"rewards/margins": 0.78125,
|
700 |
+
"rewards/rejected": -1.546875,
|
701 |
+
"step": 430
|
702 |
+
},
|
703 |
+
{
|
704 |
+
"epoch": 2.8115015974440896,
|
705 |
+
"grad_norm": 8.539769794548567,
|
706 |
+
"learning_rate": 3.32541567695962e-08,
|
707 |
+
"logits/chosen": -1.53125,
|
708 |
+
"logits/rejected": -1.4765625,
|
709 |
+
"logps/chosen": -142.0,
|
710 |
+
"logps/rejected": -136.0,
|
711 |
+
"loss": 0.4761,
|
712 |
+
"rewards/accuracies": 0.8062499761581421,
|
713 |
+
"rewards/chosen": -0.8203125,
|
714 |
+
"rewards/margins": 0.80859375,
|
715 |
+
"rewards/rejected": -1.625,
|
716 |
+
"step": 440
|
717 |
+
},
|
718 |
+
{
|
719 |
+
"epoch": 2.8753993610223643,
|
720 |
+
"grad_norm": 9.882517602717023,
|
721 |
+
"learning_rate": 2.1377672209026125e-08,
|
722 |
+
"logits/chosen": -1.5859375,
|
723 |
+
"logits/rejected": -1.5390625,
|
724 |
+
"logps/chosen": -149.0,
|
725 |
+
"logps/rejected": -148.0,
|
726 |
+
"loss": 0.4793,
|
727 |
+
"rewards/accuracies": 0.8187500238418579,
|
728 |
+
"rewards/chosen": -0.75390625,
|
729 |
+
"rewards/margins": 0.66796875,
|
730 |
+
"rewards/rejected": -1.421875,
|
731 |
+
"step": 450
|
732 |
+
},
|
733 |
+
{
|
734 |
+
"epoch": 2.939297124600639,
|
735 |
+
"grad_norm": 8.662355843337348,
|
736 |
+
"learning_rate": 9.501187648456057e-09,
|
737 |
+
"logits/chosen": -1.5546875,
|
738 |
+
"logits/rejected": -1.5,
|
739 |
+
"logps/chosen": -153.0,
|
740 |
+
"logps/rejected": -143.0,
|
741 |
+
"loss": 0.4931,
|
742 |
+
"rewards/accuracies": 0.7562500238418579,
|
743 |
+
"rewards/chosen": -0.87890625,
|
744 |
+
"rewards/margins": 0.6953125,
|
745 |
+
"rewards/rejected": -1.578125,
|
746 |
+
"step": 460
|
747 |
+
},
|
748 |
+
{
|
749 |
+
"epoch": 2.9904153354632586,
|
750 |
+
"eval_logits/chosen": -1.5,
|
751 |
+
"eval_logits/rejected": -1.4921875,
|
752 |
+
"eval_logps/chosen": -145.0,
|
753 |
+
"eval_logps/rejected": -135.0,
|
754 |
+
"eval_loss": 0.5950781106948853,
|
755 |
+
"eval_rewards/accuracies": 0.6785714030265808,
|
756 |
+
"eval_rewards/chosen": -0.59765625,
|
757 |
+
"eval_rewards/margins": 0.498046875,
|
758 |
+
"eval_rewards/rejected": -1.1015625,
|
759 |
+
"eval_runtime": 14.1407,
|
760 |
+
"eval_samples_per_second": 14.144,
|
761 |
+
"eval_steps_per_second": 0.495,
|
762 |
+
"step": 468
|
763 |
+
},
|
764 |
+
{
|
765 |
+
"epoch": 2.9904153354632586,
|
766 |
+
"step": 468,
|
767 |
+
"total_flos": 0.0,
|
768 |
+
"train_loss": 0.5567819970285791,
|
769 |
+
"train_runtime": 4306.1528,
|
770 |
+
"train_samples_per_second": 6.965,
|
771 |
+
"train_steps_per_second": 0.109
|
772 |
+
}
|
773 |
+
],
|
774 |
+
"logging_steps": 10,
|
775 |
+
"max_steps": 468,
|
776 |
+
"num_input_tokens_seen": 0,
|
777 |
+
"num_train_epochs": 3,
|
778 |
+
"save_steps": 500,
|
779 |
+
"stateful_callbacks": {
|
780 |
+
"TrainerControl": {
|
781 |
+
"args": {
|
782 |
+
"should_epoch_stop": false,
|
783 |
+
"should_evaluate": false,
|
784 |
+
"should_log": false,
|
785 |
+
"should_save": true,
|
786 |
+
"should_training_stop": true
|
787 |
+
},
|
788 |
+
"attributes": {}
|
789 |
+
}
|
790 |
+
},
|
791 |
+
"total_flos": 0.0,
|
792 |
+
"train_batch_size": 8,
|
793 |
+
"trial_name": null,
|
794 |
+
"trial_params": null
|
795 |
+
}
|