bigheiniuJ
commited on
Commit
•
a86918d
1
Parent(s):
20c5bbf
Model save
Browse files- README.md +68 -0
- all_results.json +9 -0
- generation_config.json +6 -0
- train_results.json +9 -0
- trainer_state.json +762 -0
README.md
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
base_model: alignment-handbook/zephyr-7b-sft-full
|
3 |
+
library_name: transformers
|
4 |
+
model_name: zephyr-7b-dpo-full-prompt-extend-bad
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
- trl
|
8 |
+
- dpo
|
9 |
+
licence: license
|
10 |
+
---
|
11 |
+
|
12 |
+
# Model Card for zephyr-7b-dpo-full-prompt-extend-bad
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [alignment-handbook/zephyr-7b-sft-full](https://huggingface.co/alignment-handbook/zephyr-7b-sft-full).
|
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="bigheiniuJ/zephyr-7b-dpo-full-prompt-extend-bad", 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 |
+
|
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.1
|
37 |
+
- Transformers: 4.46.3
|
38 |
+
- Pytorch: 2.5.1
|
39 |
+
- Datasets: 2.21.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": 1.0,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.2521152513795318,
|
5 |
+
"train_runtime": 7015.4228,
|
6 |
+
"train_samples": 61135,
|
7 |
+
"train_samples_per_second": 8.714,
|
8 |
+
"train_steps_per_second": 0.068
|
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.46.3"
|
6 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 1.0,
|
3 |
+
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.2521152513795318,
|
5 |
+
"train_runtime": 7015.4228,
|
6 |
+
"train_samples": 61135,
|
7 |
+
"train_samples_per_second": 8.714,
|
8 |
+
"train_steps_per_second": 0.068
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,762 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 1.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 478,
|
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.0020920502092050207,
|
13 |
+
"grad_norm": 9.179426872640752,
|
14 |
+
"learning_rate": 1.0416666666666666e-08,
|
15 |
+
"logits/chosen": -3.15625,
|
16 |
+
"logits/rejected": -3.21875,
|
17 |
+
"logps/chosen": -194.0,
|
18 |
+
"logps/rejected": -344.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.02092050209205021,
|
28 |
+
"grad_norm": 8.141488615674298,
|
29 |
+
"learning_rate": 1.0416666666666667e-07,
|
30 |
+
"logits/chosen": -3.25,
|
31 |
+
"logits/rejected": -3.265625,
|
32 |
+
"logps/chosen": -258.0,
|
33 |
+
"logps/rejected": -284.0,
|
34 |
+
"loss": 0.6922,
|
35 |
+
"rewards/accuracies": 0.1944444477558136,
|
36 |
+
"rewards/chosen": 0.00104522705078125,
|
37 |
+
"rewards/margins": 0.0001544952392578125,
|
38 |
+
"rewards/rejected": 0.000888824462890625,
|
39 |
+
"step": 10
|
40 |
+
},
|
41 |
+
{
|
42 |
+
"epoch": 0.04184100418410042,
|
43 |
+
"grad_norm": 9.082683460317224,
|
44 |
+
"learning_rate": 2.0833333333333333e-07,
|
45 |
+
"logits/chosen": -3.15625,
|
46 |
+
"logits/rejected": -3.203125,
|
47 |
+
"logps/chosen": -284.0,
|
48 |
+
"logps/rejected": -306.0,
|
49 |
+
"loss": 0.6907,
|
50 |
+
"rewards/accuracies": 0.4437499940395355,
|
51 |
+
"rewards/chosen": 0.005645751953125,
|
52 |
+
"rewards/margins": 0.00439453125,
|
53 |
+
"rewards/rejected": 0.00127410888671875,
|
54 |
+
"step": 20
|
55 |
+
},
|
56 |
+
{
|
57 |
+
"epoch": 0.06276150627615062,
|
58 |
+
"grad_norm": 8.16076946925618,
|
59 |
+
"learning_rate": 3.1249999999999997e-07,
|
60 |
+
"logits/chosen": -3.25,
|
61 |
+
"logits/rejected": -3.25,
|
62 |
+
"logps/chosen": -240.0,
|
63 |
+
"logps/rejected": -280.0,
|
64 |
+
"loss": 0.685,
|
65 |
+
"rewards/accuracies": 0.625,
|
66 |
+
"rewards/chosen": 0.023193359375,
|
67 |
+
"rewards/margins": 0.018310546875,
|
68 |
+
"rewards/rejected": 0.0048828125,
|
69 |
+
"step": 30
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"epoch": 0.08368200836820083,
|
73 |
+
"grad_norm": 8.287837872072064,
|
74 |
+
"learning_rate": 4.1666666666666667e-07,
|
75 |
+
"logits/chosen": -3.1875,
|
76 |
+
"logits/rejected": -3.296875,
|
77 |
+
"logps/chosen": -282.0,
|
78 |
+
"logps/rejected": -288.0,
|
79 |
+
"loss": 0.6643,
|
80 |
+
"rewards/accuracies": 0.6937500238418579,
|
81 |
+
"rewards/chosen": 0.0517578125,
|
82 |
+
"rewards/margins": 0.05615234375,
|
83 |
+
"rewards/rejected": -0.0045166015625,
|
84 |
+
"step": 40
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 0.10460251046025104,
|
88 |
+
"grad_norm": 9.606561637669815,
|
89 |
+
"learning_rate": 4.999733114418725e-07,
|
90 |
+
"logits/chosen": -3.28125,
|
91 |
+
"logits/rejected": -3.328125,
|
92 |
+
"logps/chosen": -262.0,
|
93 |
+
"logps/rejected": -304.0,
|
94 |
+
"loss": 0.6325,
|
95 |
+
"rewards/accuracies": 0.78125,
|
96 |
+
"rewards/chosen": 0.02392578125,
|
97 |
+
"rewards/margins": 0.1435546875,
|
98 |
+
"rewards/rejected": -0.119140625,
|
99 |
+
"step": 50
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 0.12552301255230125,
|
103 |
+
"grad_norm": 16.63131726373972,
|
104 |
+
"learning_rate": 4.990398100856366e-07,
|
105 |
+
"logits/chosen": -3.390625,
|
106 |
+
"logits/rejected": -3.375,
|
107 |
+
"logps/chosen": -312.0,
|
108 |
+
"logps/rejected": -352.0,
|
109 |
+
"loss": 0.5891,
|
110 |
+
"rewards/accuracies": 0.7562500238418579,
|
111 |
+
"rewards/chosen": -0.1298828125,
|
112 |
+
"rewards/margins": 0.283203125,
|
113 |
+
"rewards/rejected": -0.412109375,
|
114 |
+
"step": 60
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.14644351464435146,
|
118 |
+
"grad_norm": 21.421381161941554,
|
119 |
+
"learning_rate": 4.967775735898179e-07,
|
120 |
+
"logits/chosen": -3.515625,
|
121 |
+
"logits/rejected": -3.46875,
|
122 |
+
"logps/chosen": -330.0,
|
123 |
+
"logps/rejected": -422.0,
|
124 |
+
"loss": 0.4871,
|
125 |
+
"rewards/accuracies": 0.862500011920929,
|
126 |
+
"rewards/chosen": -0.443359375,
|
127 |
+
"rewards/margins": 0.6328125,
|
128 |
+
"rewards/rejected": -1.078125,
|
129 |
+
"step": 70
|
130 |
+
},
|
131 |
+
{
|
132 |
+
"epoch": 0.16736401673640167,
|
133 |
+
"grad_norm": 22.981089648710746,
|
134 |
+
"learning_rate": 4.931986719649298e-07,
|
135 |
+
"logits/chosen": -3.5625,
|
136 |
+
"logits/rejected": -3.453125,
|
137 |
+
"logps/chosen": -378.0,
|
138 |
+
"logps/rejected": -524.0,
|
139 |
+
"loss": 0.3838,
|
140 |
+
"rewards/accuracies": 0.8812500238418579,
|
141 |
+
"rewards/chosen": -0.9453125,
|
142 |
+
"rewards/margins": 1.1953125,
|
143 |
+
"rewards/rejected": -2.140625,
|
144 |
+
"step": 80
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 0.18828451882845187,
|
148 |
+
"grad_norm": 49.65622310516201,
|
149 |
+
"learning_rate": 4.883222001996351e-07,
|
150 |
+
"logits/chosen": -3.5,
|
151 |
+
"logits/rejected": -3.453125,
|
152 |
+
"logps/chosen": -362.0,
|
153 |
+
"logps/rejected": -596.0,
|
154 |
+
"loss": 0.3306,
|
155 |
+
"rewards/accuracies": 0.875,
|
156 |
+
"rewards/chosen": -1.015625,
|
157 |
+
"rewards/margins": 1.984375,
|
158 |
+
"rewards/rejected": -3.0,
|
159 |
+
"step": 90
|
160 |
+
},
|
161 |
+
{
|
162 |
+
"epoch": 0.20920502092050208,
|
163 |
+
"grad_norm": 40.70267796836403,
|
164 |
+
"learning_rate": 4.821741763807186e-07,
|
165 |
+
"logits/chosen": -3.5,
|
166 |
+
"logits/rejected": -3.453125,
|
167 |
+
"logps/chosen": -370.0,
|
168 |
+
"logps/rejected": -632.0,
|
169 |
+
"loss": 0.2865,
|
170 |
+
"rewards/accuracies": 0.90625,
|
171 |
+
"rewards/chosen": -1.1640625,
|
172 |
+
"rewards/margins": 2.453125,
|
173 |
+
"rewards/rejected": -3.625,
|
174 |
+
"step": 100
|
175 |
+
},
|
176 |
+
{
|
177 |
+
"epoch": 0.2301255230125523,
|
178 |
+
"grad_norm": 21.60396640423782,
|
179 |
+
"learning_rate": 4.747874028753375e-07,
|
180 |
+
"logits/chosen": -3.421875,
|
181 |
+
"logits/rejected": -3.40625,
|
182 |
+
"logps/chosen": -406.0,
|
183 |
+
"logps/rejected": -764.0,
|
184 |
+
"loss": 0.2824,
|
185 |
+
"rewards/accuracies": 0.9125000238418579,
|
186 |
+
"rewards/chosen": -1.421875,
|
187 |
+
"rewards/margins": 3.3125,
|
188 |
+
"rewards/rejected": -4.75,
|
189 |
+
"step": 110
|
190 |
+
},
|
191 |
+
{
|
192 |
+
"epoch": 0.2510460251046025,
|
193 |
+
"grad_norm": 30.693758944208717,
|
194 |
+
"learning_rate": 4.662012913161997e-07,
|
195 |
+
"logits/chosen": -3.453125,
|
196 |
+
"logits/rejected": -3.453125,
|
197 |
+
"logps/chosen": -382.0,
|
198 |
+
"logps/rejected": -748.0,
|
199 |
+
"loss": 0.2596,
|
200 |
+
"rewards/accuracies": 0.925000011920929,
|
201 |
+
"rewards/chosen": -1.359375,
|
202 |
+
"rewards/margins": 3.328125,
|
203 |
+
"rewards/rejected": -4.6875,
|
204 |
+
"step": 120
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"epoch": 0.2719665271966527,
|
208 |
+
"grad_norm": 38.17865118077698,
|
209 |
+
"learning_rate": 4.5646165232345103e-07,
|
210 |
+
"logits/chosen": -3.453125,
|
211 |
+
"logits/rejected": -3.375,
|
212 |
+
"logps/chosen": -406.0,
|
213 |
+
"logps/rejected": -812.0,
|
214 |
+
"loss": 0.2441,
|
215 |
+
"rewards/accuracies": 0.8999999761581421,
|
216 |
+
"rewards/chosen": -1.484375,
|
217 |
+
"rewards/margins": 3.65625,
|
218 |
+
"rewards/rejected": -5.125,
|
219 |
+
"step": 130
|
220 |
+
},
|
221 |
+
{
|
222 |
+
"epoch": 0.2928870292887029,
|
223 |
+
"grad_norm": 37.560083058930886,
|
224 |
+
"learning_rate": 4.456204510851956e-07,
|
225 |
+
"logits/chosen": -3.390625,
|
226 |
+
"logits/rejected": -3.28125,
|
227 |
+
"logps/chosen": -446.0,
|
228 |
+
"logps/rejected": -804.0,
|
229 |
+
"loss": 0.2539,
|
230 |
+
"rewards/accuracies": 0.8500000238418579,
|
231 |
+
"rewards/chosen": -1.71875,
|
232 |
+
"rewards/margins": 3.25,
|
233 |
+
"rewards/rejected": -4.96875,
|
234 |
+
"step": 140
|
235 |
+
},
|
236 |
+
{
|
237 |
+
"epoch": 0.3138075313807531,
|
238 |
+
"grad_norm": 19.482065261711334,
|
239 |
+
"learning_rate": 4.337355301007335e-07,
|
240 |
+
"logits/chosen": -3.421875,
|
241 |
+
"logits/rejected": -3.328125,
|
242 |
+
"logps/chosen": -416.0,
|
243 |
+
"logps/rejected": -828.0,
|
244 |
+
"loss": 0.2635,
|
245 |
+
"rewards/accuracies": 0.875,
|
246 |
+
"rewards/chosen": -1.546875,
|
247 |
+
"rewards/margins": 3.828125,
|
248 |
+
"rewards/rejected": -5.375,
|
249 |
+
"step": 150
|
250 |
+
},
|
251 |
+
{
|
252 |
+
"epoch": 0.33472803347280333,
|
253 |
+
"grad_norm": 37.99112464719011,
|
254 |
+
"learning_rate": 4.2087030056579986e-07,
|
255 |
+
"logits/chosen": -3.359375,
|
256 |
+
"logits/rejected": -3.28125,
|
257 |
+
"logps/chosen": -390.0,
|
258 |
+
"logps/rejected": -760.0,
|
259 |
+
"loss": 0.2458,
|
260 |
+
"rewards/accuracies": 0.9125000238418579,
|
261 |
+
"rewards/chosen": -1.4765625,
|
262 |
+
"rewards/margins": 3.484375,
|
263 |
+
"rewards/rejected": -4.96875,
|
264 |
+
"step": 160
|
265 |
+
},
|
266 |
+
{
|
267 |
+
"epoch": 0.35564853556485354,
|
268 |
+
"grad_norm": 38.3980683297455,
|
269 |
+
"learning_rate": 4.070934040463998e-07,
|
270 |
+
"logits/chosen": -3.25,
|
271 |
+
"logits/rejected": -3.34375,
|
272 |
+
"logps/chosen": -422.0,
|
273 |
+
"logps/rejected": -964.0,
|
274 |
+
"loss": 0.2064,
|
275 |
+
"rewards/accuracies": 0.887499988079071,
|
276 |
+
"rewards/chosen": -1.6640625,
|
277 |
+
"rewards/margins": 4.875,
|
278 |
+
"rewards/rejected": -6.5625,
|
279 |
+
"step": 170
|
280 |
+
},
|
281 |
+
{
|
282 |
+
"epoch": 0.37656903765690375,
|
283 |
+
"grad_norm": 23.15841813857398,
|
284 |
+
"learning_rate": 3.9247834624635404e-07,
|
285 |
+
"logits/chosen": -3.3125,
|
286 |
+
"logits/rejected": -3.3125,
|
287 |
+
"logps/chosen": -494.0,
|
288 |
+
"logps/rejected": -1080.0,
|
289 |
+
"loss": 0.177,
|
290 |
+
"rewards/accuracies": 0.925000011920929,
|
291 |
+
"rewards/chosen": -2.078125,
|
292 |
+
"rewards/margins": 5.71875,
|
293 |
+
"rewards/rejected": -7.8125,
|
294 |
+
"step": 180
|
295 |
+
},
|
296 |
+
{
|
297 |
+
"epoch": 0.39748953974895396,
|
298 |
+
"grad_norm": 33.22017416138887,
|
299 |
+
"learning_rate": 3.7710310482256523e-07,
|
300 |
+
"logits/chosen": -3.328125,
|
301 |
+
"logits/rejected": -3.296875,
|
302 |
+
"logps/chosen": -494.0,
|
303 |
+
"logps/rejected": -1216.0,
|
304 |
+
"loss": 0.1968,
|
305 |
+
"rewards/accuracies": 0.9125000238418579,
|
306 |
+
"rewards/chosen": -2.46875,
|
307 |
+
"rewards/margins": 6.71875,
|
308 |
+
"rewards/rejected": -9.1875,
|
309 |
+
"step": 190
|
310 |
+
},
|
311 |
+
{
|
312 |
+
"epoch": 0.41841004184100417,
|
313 |
+
"grad_norm": 36.59859322366375,
|
314 |
+
"learning_rate": 3.610497133404795e-07,
|
315 |
+
"logits/chosen": -3.203125,
|
316 |
+
"logits/rejected": -3.265625,
|
317 |
+
"logps/chosen": -540.0,
|
318 |
+
"logps/rejected": -1088.0,
|
319 |
+
"loss": 0.1855,
|
320 |
+
"rewards/accuracies": 0.918749988079071,
|
321 |
+
"rewards/chosen": -2.515625,
|
322 |
+
"rewards/margins": 5.4375,
|
323 |
+
"rewards/rejected": -7.96875,
|
324 |
+
"step": 200
|
325 |
+
},
|
326 |
+
{
|
327 |
+
"epoch": 0.4393305439330544,
|
328 |
+
"grad_norm": 36.840734409464304,
|
329 |
+
"learning_rate": 3.4440382358952115e-07,
|
330 |
+
"logits/chosen": -3.234375,
|
331 |
+
"logits/rejected": -3.171875,
|
332 |
+
"logps/chosen": -446.0,
|
333 |
+
"logps/rejected": -904.0,
|
334 |
+
"loss": 0.1862,
|
335 |
+
"rewards/accuracies": 0.8812500238418579,
|
336 |
+
"rewards/chosen": -2.015625,
|
337 |
+
"rewards/margins": 4.375,
|
338 |
+
"rewards/rejected": -6.375,
|
339 |
+
"step": 210
|
340 |
+
},
|
341 |
+
{
|
342 |
+
"epoch": 0.4602510460251046,
|
343 |
+
"grad_norm": 30.146625845778278,
|
344 |
+
"learning_rate": 3.272542485937368e-07,
|
345 |
+
"logits/chosen": -3.25,
|
346 |
+
"logits/rejected": -3.234375,
|
347 |
+
"logps/chosen": -442.0,
|
348 |
+
"logps/rejected": -948.0,
|
349 |
+
"loss": 0.1748,
|
350 |
+
"rewards/accuracies": 0.9312499761581421,
|
351 |
+
"rewards/chosen": -1.71875,
|
352 |
+
"rewards/margins": 4.96875,
|
353 |
+
"rewards/rejected": -6.6875,
|
354 |
+
"step": 220
|
355 |
+
},
|
356 |
+
{
|
357 |
+
"epoch": 0.4811715481171548,
|
358 |
+
"grad_norm": 35.07669431518915,
|
359 |
+
"learning_rate": 3.096924887558854e-07,
|
360 |
+
"logits/chosen": -3.328125,
|
361 |
+
"logits/rejected": -3.25,
|
362 |
+
"logps/chosen": -548.0,
|
363 |
+
"logps/rejected": -1296.0,
|
364 |
+
"loss": 0.1756,
|
365 |
+
"rewards/accuracies": 0.925000011920929,
|
366 |
+
"rewards/chosen": -2.625,
|
367 |
+
"rewards/margins": 6.875,
|
368 |
+
"rewards/rejected": -9.5,
|
369 |
+
"step": 230
|
370 |
+
},
|
371 |
+
{
|
372 |
+
"epoch": 0.502092050209205,
|
373 |
+
"grad_norm": 21.539495671811064,
|
374 |
+
"learning_rate": 2.9181224366319943e-07,
|
375 |
+
"logits/chosen": -3.1875,
|
376 |
+
"logits/rejected": -3.0,
|
377 |
+
"logps/chosen": -524.0,
|
378 |
+
"logps/rejected": -1072.0,
|
379 |
+
"loss": 0.1623,
|
380 |
+
"rewards/accuracies": 0.925000011920929,
|
381 |
+
"rewards/chosen": -2.65625,
|
382 |
+
"rewards/margins": 5.5,
|
383 |
+
"rewards/rejected": -8.1875,
|
384 |
+
"step": 240
|
385 |
+
},
|
386 |
+
{
|
387 |
+
"epoch": 0.5230125523012552,
|
388 |
+
"grad_norm": 58.51867172243014,
|
389 |
+
"learning_rate": 2.7370891215954565e-07,
|
390 |
+
"logits/chosen": -3.171875,
|
391 |
+
"logits/rejected": -3.078125,
|
392 |
+
"logps/chosen": -476.0,
|
393 |
+
"logps/rejected": -1024.0,
|
394 |
+
"loss": 0.1623,
|
395 |
+
"rewards/accuracies": 0.9312499761581421,
|
396 |
+
"rewards/chosen": -2.203125,
|
397 |
+
"rewards/margins": 5.1875,
|
398 |
+
"rewards/rejected": -7.40625,
|
399 |
+
"step": 250
|
400 |
+
},
|
401 |
+
{
|
402 |
+
"epoch": 0.5439330543933054,
|
403 |
+
"grad_norm": 25.48762152166077,
|
404 |
+
"learning_rate": 2.55479083351317e-07,
|
405 |
+
"logits/chosen": -3.1875,
|
406 |
+
"logits/rejected": -3.09375,
|
407 |
+
"logps/chosen": -486.0,
|
408 |
+
"logps/rejected": -1056.0,
|
409 |
+
"loss": 0.1609,
|
410 |
+
"rewards/accuracies": 0.918749988079071,
|
411 |
+
"rewards/chosen": -2.234375,
|
412 |
+
"rewards/margins": 5.40625,
|
413 |
+
"rewards/rejected": -7.625,
|
414 |
+
"step": 260
|
415 |
+
},
|
416 |
+
{
|
417 |
+
"epoch": 0.5648535564853556,
|
418 |
+
"grad_norm": 21.73789476591961,
|
419 |
+
"learning_rate": 2.3722002126275822e-07,
|
420 |
+
"logits/chosen": -3.125,
|
421 |
+
"logits/rejected": -3.09375,
|
422 |
+
"logps/chosen": -474.0,
|
423 |
+
"logps/rejected": -1032.0,
|
424 |
+
"loss": 0.1593,
|
425 |
+
"rewards/accuracies": 0.9375,
|
426 |
+
"rewards/chosen": -2.296875,
|
427 |
+
"rewards/margins": 5.40625,
|
428 |
+
"rewards/rejected": -7.71875,
|
429 |
+
"step": 270
|
430 |
+
},
|
431 |
+
{
|
432 |
+
"epoch": 0.5857740585774058,
|
433 |
+
"grad_norm": 30.111586407368343,
|
434 |
+
"learning_rate": 2.19029145890313e-07,
|
435 |
+
"logits/chosen": -3.125,
|
436 |
+
"logits/rejected": -3.046875,
|
437 |
+
"logps/chosen": -504.0,
|
438 |
+
"logps/rejected": -1104.0,
|
439 |
+
"loss": 0.1712,
|
440 |
+
"rewards/accuracies": 0.925000011920929,
|
441 |
+
"rewards/chosen": -2.25,
|
442 |
+
"rewards/margins": 5.71875,
|
443 |
+
"rewards/rejected": -7.96875,
|
444 |
+
"step": 280
|
445 |
+
},
|
446 |
+
{
|
447 |
+
"epoch": 0.606694560669456,
|
448 |
+
"grad_norm": 14.995982162867495,
|
449 |
+
"learning_rate": 2.0100351342479216e-07,
|
450 |
+
"logits/chosen": -3.09375,
|
451 |
+
"logits/rejected": -3.140625,
|
452 |
+
"logps/chosen": -506.0,
|
453 |
+
"logps/rejected": -1152.0,
|
454 |
+
"loss": 0.1555,
|
455 |
+
"rewards/accuracies": 0.9312499761581421,
|
456 |
+
"rewards/chosen": -2.40625,
|
457 |
+
"rewards/margins": 6.28125,
|
458 |
+
"rewards/rejected": -8.6875,
|
459 |
+
"step": 290
|
460 |
+
},
|
461 |
+
{
|
462 |
+
"epoch": 0.6276150627615062,
|
463 |
+
"grad_norm": 23.125573548897137,
|
464 |
+
"learning_rate": 1.8323929841460178e-07,
|
465 |
+
"logits/chosen": -3.15625,
|
466 |
+
"logits/rejected": -3.109375,
|
467 |
+
"logps/chosen": -442.0,
|
468 |
+
"logps/rejected": -972.0,
|
469 |
+
"loss": 0.1522,
|
470 |
+
"rewards/accuracies": 0.96875,
|
471 |
+
"rewards/chosen": -1.9375,
|
472 |
+
"rewards/margins": 5.03125,
|
473 |
+
"rewards/rejected": -6.96875,
|
474 |
+
"step": 300
|
475 |
+
},
|
476 |
+
{
|
477 |
+
"epoch": 0.6485355648535565,
|
478 |
+
"grad_norm": 30.186334084740086,
|
479 |
+
"learning_rate": 1.6583128063291573e-07,
|
480 |
+
"logits/chosen": -3.15625,
|
481 |
+
"logits/rejected": -3.125,
|
482 |
+
"logps/chosen": -488.0,
|
483 |
+
"logps/rejected": -1176.0,
|
484 |
+
"loss": 0.1534,
|
485 |
+
"rewards/accuracies": 0.9437500238418579,
|
486 |
+
"rewards/chosen": -2.296875,
|
487 |
+
"rewards/margins": 6.46875,
|
488 |
+
"rewards/rejected": -8.75,
|
489 |
+
"step": 310
|
490 |
+
},
|
491 |
+
{
|
492 |
+
"epoch": 0.6694560669456067,
|
493 |
+
"grad_norm": 26.599242178946497,
|
494 |
+
"learning_rate": 1.488723393865766e-07,
|
495 |
+
"logits/chosen": -3.125,
|
496 |
+
"logits/rejected": -3.140625,
|
497 |
+
"logps/chosen": -572.0,
|
498 |
+
"logps/rejected": -1256.0,
|
499 |
+
"loss": 0.1466,
|
500 |
+
"rewards/accuracies": 0.925000011920929,
|
501 |
+
"rewards/chosen": -2.71875,
|
502 |
+
"rewards/margins": 6.8125,
|
503 |
+
"rewards/rejected": -9.5625,
|
504 |
+
"step": 320
|
505 |
+
},
|
506 |
+
{
|
507 |
+
"epoch": 0.6903765690376569,
|
508 |
+
"grad_norm": 37.34252084072252,
|
509 |
+
"learning_rate": 1.3245295796480788e-07,
|
510 |
+
"logits/chosen": -3.109375,
|
511 |
+
"logits/rejected": -3.046875,
|
512 |
+
"logps/chosen": -536.0,
|
513 |
+
"logps/rejected": -1088.0,
|
514 |
+
"loss": 0.1493,
|
515 |
+
"rewards/accuracies": 0.949999988079071,
|
516 |
+
"rewards/chosen": -2.5625,
|
517 |
+
"rewards/margins": 5.4375,
|
518 |
+
"rewards/rejected": -8.0,
|
519 |
+
"step": 330
|
520 |
+
},
|
521 |
+
{
|
522 |
+
"epoch": 0.7112970711297071,
|
523 |
+
"grad_norm": 16.22820507236929,
|
524 |
+
"learning_rate": 1.1666074087171627e-07,
|
525 |
+
"logits/chosen": -3.125,
|
526 |
+
"logits/rejected": -3.125,
|
527 |
+
"logps/chosen": -496.0,
|
528 |
+
"logps/rejected": -1080.0,
|
529 |
+
"loss": 0.1674,
|
530 |
+
"rewards/accuracies": 0.918749988079071,
|
531 |
+
"rewards/chosen": -2.25,
|
532 |
+
"rewards/margins": 5.5625,
|
533 |
+
"rewards/rejected": -7.8125,
|
534 |
+
"step": 340
|
535 |
+
},
|
536 |
+
{
|
537 |
+
"epoch": 0.7322175732217573,
|
538 |
+
"grad_norm": 23.58336941904134,
|
539 |
+
"learning_rate": 1.0157994641835734e-07,
|
540 |
+
"logits/chosen": -3.171875,
|
541 |
+
"logits/rejected": -3.046875,
|
542 |
+
"logps/chosen": -478.0,
|
543 |
+
"logps/rejected": -1016.0,
|
544 |
+
"loss": 0.1654,
|
545 |
+
"rewards/accuracies": 0.918749988079071,
|
546 |
+
"rewards/chosen": -2.390625,
|
547 |
+
"rewards/margins": 5.125,
|
548 |
+
"rewards/rejected": -7.5,
|
549 |
+
"step": 350
|
550 |
+
},
|
551 |
+
{
|
552 |
+
"epoch": 0.7531380753138075,
|
553 |
+
"grad_norm": 26.434431463514024,
|
554 |
+
"learning_rate": 8.729103716819111e-08,
|
555 |
+
"logits/chosen": -3.078125,
|
556 |
+
"logits/rejected": -3.015625,
|
557 |
+
"logps/chosen": -508.0,
|
558 |
+
"logps/rejected": -1120.0,
|
559 |
+
"loss": 0.1582,
|
560 |
+
"rewards/accuracies": 0.9375,
|
561 |
+
"rewards/chosen": -2.34375,
|
562 |
+
"rewards/margins": 6.0,
|
563 |
+
"rewards/rejected": -8.3125,
|
564 |
+
"step": 360
|
565 |
+
},
|
566 |
+
{
|
567 |
+
"epoch": 0.7740585774058577,
|
568 |
+
"grad_norm": 29.800428401303478,
|
569 |
+
"learning_rate": 7.387025063449081e-08,
|
570 |
+
"logits/chosen": -3.171875,
|
571 |
+
"logits/rejected": -3.109375,
|
572 |
+
"logps/chosen": -448.0,
|
573 |
+
"logps/rejected": -1048.0,
|
574 |
+
"loss": 0.1459,
|
575 |
+
"rewards/accuracies": 0.9375,
|
576 |
+
"rewards/chosen": -2.078125,
|
577 |
+
"rewards/margins": 5.625,
|
578 |
+
"rewards/rejected": -7.6875,
|
579 |
+
"step": 370
|
580 |
+
},
|
581 |
+
{
|
582 |
+
"epoch": 0.7949790794979079,
|
583 |
+
"grad_norm": 31.34756549971759,
|
584 |
+
"learning_rate": 6.138919252022435e-08,
|
585 |
+
"logits/chosen": -3.140625,
|
586 |
+
"logits/rejected": -3.09375,
|
587 |
+
"logps/chosen": -508.0,
|
588 |
+
"logps/rejected": -1200.0,
|
589 |
+
"loss": 0.1439,
|
590 |
+
"rewards/accuracies": 0.9437500238418579,
|
591 |
+
"rewards/chosen": -2.515625,
|
592 |
+
"rewards/margins": 6.4375,
|
593 |
+
"rewards/rejected": -8.9375,
|
594 |
+
"step": 380
|
595 |
+
},
|
596 |
+
{
|
597 |
+
"epoch": 0.8158995815899581,
|
598 |
+
"grad_norm": 22.257076474784643,
|
599 |
+
"learning_rate": 4.991445467064689e-08,
|
600 |
+
"logits/chosen": -3.140625,
|
601 |
+
"logits/rejected": -3.0625,
|
602 |
+
"logps/chosen": -528.0,
|
603 |
+
"logps/rejected": -1200.0,
|
604 |
+
"loss": 0.1479,
|
605 |
+
"rewards/accuracies": 0.9437500238418579,
|
606 |
+
"rewards/chosen": -2.75,
|
607 |
+
"rewards/margins": 6.1875,
|
608 |
+
"rewards/rejected": -8.9375,
|
609 |
+
"step": 390
|
610 |
+
},
|
611 |
+
{
|
612 |
+
"epoch": 0.8368200836820083,
|
613 |
+
"grad_norm": 35.692448570951086,
|
614 |
+
"learning_rate": 3.9507259776993954e-08,
|
615 |
+
"logits/chosen": -3.0625,
|
616 |
+
"logits/rejected": -3.03125,
|
617 |
+
"logps/chosen": -520.0,
|
618 |
+
"logps/rejected": -1128.0,
|
619 |
+
"loss": 0.149,
|
620 |
+
"rewards/accuracies": 0.925000011920929,
|
621 |
+
"rewards/chosen": -2.640625,
|
622 |
+
"rewards/margins": 5.78125,
|
623 |
+
"rewards/rejected": -8.4375,
|
624 |
+
"step": 400
|
625 |
+
},
|
626 |
+
{
|
627 |
+
"epoch": 0.8577405857740585,
|
628 |
+
"grad_norm": 32.863561080859476,
|
629 |
+
"learning_rate": 3.022313472693447e-08,
|
630 |
+
"logits/chosen": -3.1875,
|
631 |
+
"logits/rejected": -3.125,
|
632 |
+
"logps/chosen": -500.0,
|
633 |
+
"logps/rejected": -1144.0,
|
634 |
+
"loss": 0.1347,
|
635 |
+
"rewards/accuracies": 0.925000011920929,
|
636 |
+
"rewards/chosen": -2.46875,
|
637 |
+
"rewards/margins": 5.9375,
|
638 |
+
"rewards/rejected": -8.375,
|
639 |
+
"step": 410
|
640 |
+
},
|
641 |
+
{
|
642 |
+
"epoch": 0.8786610878661087,
|
643 |
+
"grad_norm": 26.587923562401375,
|
644 |
+
"learning_rate": 2.2111614344599684e-08,
|
645 |
+
"logits/chosen": -3.078125,
|
646 |
+
"logits/rejected": -3.03125,
|
647 |
+
"logps/chosen": -506.0,
|
648 |
+
"logps/rejected": -1184.0,
|
649 |
+
"loss": 0.1351,
|
650 |
+
"rewards/accuracies": 0.9375,
|
651 |
+
"rewards/chosen": -2.4375,
|
652 |
+
"rewards/margins": 6.5,
|
653 |
+
"rewards/rejected": -8.9375,
|
654 |
+
"step": 420
|
655 |
+
},
|
656 |
+
{
|
657 |
+
"epoch": 0.899581589958159,
|
658 |
+
"grad_norm": 27.928112295198204,
|
659 |
+
"learning_rate": 1.521597710086439e-08,
|
660 |
+
"logits/chosen": -3.1875,
|
661 |
+
"logits/rejected": -3.109375,
|
662 |
+
"logps/chosen": -494.0,
|
663 |
+
"logps/rejected": -1136.0,
|
664 |
+
"loss": 0.1451,
|
665 |
+
"rewards/accuracies": 0.918749988079071,
|
666 |
+
"rewards/chosen": -2.265625,
|
667 |
+
"rewards/margins": 5.9375,
|
668 |
+
"rewards/rejected": -8.1875,
|
669 |
+
"step": 430
|
670 |
+
},
|
671 |
+
{
|
672 |
+
"epoch": 0.9205020920502092,
|
673 |
+
"grad_norm": 26.82028432012561,
|
674 |
+
"learning_rate": 9.57301420397924e-09,
|
675 |
+
"logits/chosen": -3.1875,
|
676 |
+
"logits/rejected": -3.171875,
|
677 |
+
"logps/chosen": -498.0,
|
678 |
+
"logps/rejected": -1144.0,
|
679 |
+
"loss": 0.1447,
|
680 |
+
"rewards/accuracies": 0.9125000238418579,
|
681 |
+
"rewards/chosen": -2.25,
|
682 |
+
"rewards/margins": 6.1875,
|
683 |
+
"rewards/rejected": -8.4375,
|
684 |
+
"step": 440
|
685 |
+
},
|
686 |
+
{
|
687 |
+
"epoch": 0.9414225941422594,
|
688 |
+
"grad_norm": 29.41953589986162,
|
689 |
+
"learning_rate": 5.212833302556258e-09,
|
690 |
+
"logits/chosen": -3.09375,
|
691 |
+
"logits/rejected": -3.09375,
|
692 |
+
"logps/chosen": -492.0,
|
693 |
+
"logps/rejected": -1128.0,
|
694 |
+
"loss": 0.1319,
|
695 |
+
"rewards/accuracies": 0.9312499761581421,
|
696 |
+
"rewards/chosen": -2.375,
|
697 |
+
"rewards/margins": 6.0,
|
698 |
+
"rewards/rejected": -8.375,
|
699 |
+
"step": 450
|
700 |
+
},
|
701 |
+
{
|
702 |
+
"epoch": 0.9623430962343096,
|
703 |
+
"grad_norm": 29.613565103499333,
|
704 |
+
"learning_rate": 2.158697848236607e-09,
|
705 |
+
"logits/chosen": -3.078125,
|
706 |
+
"logits/rejected": -3.015625,
|
707 |
+
"logps/chosen": -548.0,
|
708 |
+
"logps/rejected": -1192.0,
|
709 |
+
"loss": 0.1455,
|
710 |
+
"rewards/accuracies": 0.9312499761581421,
|
711 |
+
"rewards/chosen": -2.53125,
|
712 |
+
"rewards/margins": 6.1875,
|
713 |
+
"rewards/rejected": -8.75,
|
714 |
+
"step": 460
|
715 |
+
},
|
716 |
+
{
|
717 |
+
"epoch": 0.9832635983263598,
|
718 |
+
"grad_norm": 37.33025704068877,
|
719 |
+
"learning_rate": 4.269029751107489e-10,
|
720 |
+
"logits/chosen": -3.1875,
|
721 |
+
"logits/rejected": -3.046875,
|
722 |
+
"logps/chosen": -464.0,
|
723 |
+
"logps/rejected": -1104.0,
|
724 |
+
"loss": 0.1534,
|
725 |
+
"rewards/accuracies": 0.9312499761581421,
|
726 |
+
"rewards/chosen": -2.28125,
|
727 |
+
"rewards/margins": 6.125,
|
728 |
+
"rewards/rejected": -8.375,
|
729 |
+
"step": 470
|
730 |
+
},
|
731 |
+
{
|
732 |
+
"epoch": 1.0,
|
733 |
+
"step": 478,
|
734 |
+
"total_flos": 0.0,
|
735 |
+
"train_loss": 0.2521152513795318,
|
736 |
+
"train_runtime": 7015.4228,
|
737 |
+
"train_samples_per_second": 8.714,
|
738 |
+
"train_steps_per_second": 0.068
|
739 |
+
}
|
740 |
+
],
|
741 |
+
"logging_steps": 10,
|
742 |
+
"max_steps": 478,
|
743 |
+
"num_input_tokens_seen": 0,
|
744 |
+
"num_train_epochs": 1,
|
745 |
+
"save_steps": 100,
|
746 |
+
"stateful_callbacks": {
|
747 |
+
"TrainerControl": {
|
748 |
+
"args": {
|
749 |
+
"should_epoch_stop": false,
|
750 |
+
"should_evaluate": false,
|
751 |
+
"should_log": false,
|
752 |
+
"should_save": true,
|
753 |
+
"should_training_stop": true
|
754 |
+
},
|
755 |
+
"attributes": {}
|
756 |
+
}
|
757 |
+
},
|
758 |
+
"total_flos": 0.0,
|
759 |
+
"train_batch_size": 8,
|
760 |
+
"trial_name": null,
|
761 |
+
"trial_params": null
|
762 |
+
}
|