hZzy commited on
Commit
de38ea9
1 Parent(s): 75d5236

Model save

Browse files
README.md ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: hZzy/qwen2.5-0.5b-sft-news-IFT
4
+ tags:
5
+ - trl
6
+ - expo
7
+ - generated_from_trainer
8
+ model-index:
9
+ - name: qwen2.5-0.5b-expo-L2EXPO-ES-0.1
10
+ results: []
11
+ ---
12
+
13
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
14
+ should probably proofread and complete it, then remove this comment. -->
15
+
16
+ [<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/zhiyuzha-university-of-florida/huggingface/runs/z6ixm6bo)
17
+ # qwen2.5-0.5b-expo-L2EXPO-ES-0.1
18
+
19
+ This model is a fine-tuned version of [hZzy/qwen2.5-0.5b-sft-news-IFT](https://huggingface.co/hZzy/qwen2.5-0.5b-sft-news-IFT) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.4210
22
+ - Logps: -88.9607
23
+ - Logits: -1.3982
24
+ - Objective: 0.4141
25
+ - Dpo Loss: 0.6792
26
+ - Regularize: 0.4141
27
+ - Ranking Simple: 0.5336
28
+ - Ranking Idealized: 0.6030
29
+ - Ranking Idealized Expo: 0.5223
30
+ - Wo Beta: 16.0444
31
+
32
+ ## Model description
33
+
34
+ More information needed
35
+
36
+ ## Intended uses & limitations
37
+
38
+ More information needed
39
+
40
+ ## Training and evaluation data
41
+
42
+ More information needed
43
+
44
+ ## Training procedure
45
+
46
+ ### Training hyperparameters
47
+
48
+ The following hyperparameters were used during training:
49
+ - learning_rate: 1e-06
50
+ - train_batch_size: 4
51
+ - eval_batch_size: 4
52
+ - seed: 42
53
+ - distributed_type: multi-GPU
54
+ - num_devices: 3
55
+ - gradient_accumulation_steps: 12
56
+ - total_train_batch_size: 144
57
+ - total_eval_batch_size: 12
58
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
59
+ - lr_scheduler_type: cosine
60
+ - lr_scheduler_warmup_ratio: 0.1
61
+ - num_epochs: 5
62
+
63
+ ### Training results
64
+
65
+ | Training Loss | Epoch | Step | Dpo Loss | Logits | Logps | Validation Loss | Objective | Ranking Idealized | Ranking Idealized Expo | Ranking Simple | Regularize | Wo Beta |
66
+ |:-------------:|:------:|:----:|:--------:|:-------:|:--------:|:---------------:|:---------:|:-----------------:|:----------------------:|:--------------:|:----------:|:-------:|
67
+ | 0.4117 | 0.1417 | 50 | 0.6893 | -1.4691 | -90.8535 | 0.4102 | 0.4090 | 0.6030 | 0.5223 | 0.5248 | 0.4090 | 16.3208 |
68
+ | 0.3871 | 0.2834 | 100 | 0.6833 | -1.5346 | -91.2757 | 0.4049 | 0.4029 | 0.6030 | 0.5223 | 0.5316 | 0.4029 | 16.2699 |
69
+ | 0.3451 | 0.4251 | 150 | 0.6789 | -1.4902 | -91.1637 | 0.4013 | 0.3996 | 0.6030 | 0.5223 | 0.5347 | 0.3996 | 16.5907 |
70
+ | 0.3166 | 0.5668 | 200 | 0.6811 | -1.4523 | -93.2695 | 0.4148 | 0.4132 | 0.6030 | 0.5223 | 0.5316 | 0.4132 | 16.3512 |
71
+ | 0.2939 | 0.7085 | 250 | 0.6790 | -1.5465 | -90.5537 | 0.4131 | 0.4077 | 0.6030 | 0.5223 | 0.5342 | 0.4077 | 16.4807 |
72
+ | 0.2655 | 0.8503 | 300 | 0.6806 | -1.4553 | -91.3521 | 0.4126 | 0.4082 | 0.6030 | 0.5223 | 0.5311 | 0.4082 | 16.4429 |
73
+ | 0.2513 | 0.9920 | 350 | 0.6782 | -1.4532 | -91.2408 | 0.4110 | 0.4044 | 0.6030 | 0.5223 | 0.5352 | 0.4044 | 16.3768 |
74
+ | 0.2206 | 1.1337 | 400 | 0.4128 | -87.3470| -1.4764 | 0.4049 | 0.6769 | 0.4049 | 0.5336 | 0.6030 | 0.5223 | 16.2024 |
75
+ | 0.2077 | 1.2754 | 450 | 0.4144 | -89.8793| -1.4177 | 0.4106 | 0.6788 | 0.4106 | 0.5331 | 0.6030 | 0.5223 | 16.1977 |
76
+ | 0.1943 | 1.4171 | 500 | 0.4169 | -87.6699| -1.4544 | 0.4092 | 0.6782 | 0.4092 | 0.5352 | 0.6030 | 0.5223 | 16.0510 |
77
+ | 0.1879 | 1.5588 | 550 | 0.4173 | -89.0111| -1.4268 | 0.4102 | 0.6787 | 0.4102 | 0.5347 | 0.6030 | 0.5223 | 16.0707 |
78
+ | 0.1768 | 1.7005 | 600 | 0.4190 | -87.0605| -1.4411 | 0.4116 | 0.6796 | 0.4116 | 0.5352 | 0.6030 | 0.5223 | 16.0697 |
79
+ | 0.1736 | 1.8422 | 650 | 0.4219 | -90.0508| -1.4601 | 0.4144 | 0.6802 | 0.4144 | 0.5347 | 0.6030 | 0.5223 | 16.1057 |
80
+ | 0.1598 | 1.9839 | 700 | 0.4217 | -90.5630| -1.4110 | 0.4148 | 0.6799 | 0.4148 | 0.5362 | 0.6030 | 0.5223 | 16.0493 |
81
+ | 0.1454 | 2.1256 | 750 | 0.4215 | -89.5433| -1.3859 | 0.4151 | 0.6797 | 0.4151 | 0.5316 | 0.6030 | 0.5223 | 16.0459 |
82
+ | 0.1333 | 2.2674 | 800 | 0.4217 | -89.1060| -1.3837 | 0.4142 | 0.6791 | 0.4142 | 0.5347 | 0.6030 | 0.5223 | 15.9847 |
83
+ | 0.1287 | 2.4091 | 850 | 0.4241 | -88.6145| -1.3856 | 0.4153 | 0.6795 | 0.4153 | 0.5357 | 0.6030 | 0.5223 | 15.9979 |
84
+ | 0.12 | 2.5508 | 900 | 0.4207 | -88.6663| -1.3921 | 0.4129 | 0.6795 | 0.4129 | 0.5331 | 0.6030 | 0.5223 | 16.0698 |
85
+ | 0.1148 | 2.6925 | 950 | 0.4215 | -88.2854| -1.3690 | 0.4149 | 0.6792 | 0.4149 | 0.5336 | 0.6030 | 0.5223 | 16.0513 |
86
+ | 0.1068 | 2.8342 | 1000 | 0.4229 | -89.1782| -1.3724 | 0.4168 | 0.6809 | 0.4168 | 0.5321 | 0.6030 | 0.5223 | 16.0722 |
87
+ | 0.0991 | 2.9759 | 1050 | 0.4210 | -88.9607| -1.3982 | 0.4141 | 0.6792 | 0.4141 | 0.5336 | 0.6030 | 0.5223 | 16.0444 |
88
+
89
+
90
+ ### Framework versions
91
+
92
+ - Transformers 4.42.0
93
+ - Pytorch 2.3.0+cu121
94
+ - Datasets 2.19.1
95
+ - Tokenizers 0.19.1
all_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.975909305621162,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.10327800432840983,
5
+ "train_runtime": 29791.2438,
6
+ "train_samples": 50802,
7
+ "train_samples_per_second": 8.526,
8
+ "train_steps_per_second": 0.059
9
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token_id": 151644,
3
+ "eos_token_id": 151645,
4
+ "max_new_tokens": 2048,
5
+ "pad_token_id": 151645,
6
+ "transformers_version": "4.42.0"
7
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7717a671d1b0a5fe4d74ea7e66c7e4bc6782cc89fcc66bfd303c165e10d410e5
3
  size 1975192208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9468ed3cf0bffef935dd97ce64fe9d76e42af26dc6b0beb0866f65a511f979d
3
  size 1975192208
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 2.975909305621162,
3
+ "total_flos": 0.0,
4
+ "train_loss": 0.10327800432840983,
5
+ "train_runtime": 29791.2438,
6
+ "train_samples": 50802,
7
+ "train_samples_per_second": 8.526,
8
+ "train_steps_per_second": 0.059
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,760 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 15.984663963317871,
3
+ "best_model_checkpoint": "./qwen2.5-0.5b/qwen2.5-0.5b-expo-L2EXPO-ES-0.1/checkpoint-800",
4
+ "epoch": 2.975909305621162,
5
+ "eval_steps": 50,
6
+ "global_step": 1050,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "dpo_loss": 0.6931471824645996,
13
+ "epoch": 0.002834199338686821,
14
+ "grad_norm": 36.88506026977242,
15
+ "learning_rate": 5.681818181818181e-09,
16
+ "logits": -1.359458565711975,
17
+ "logps": -84.69721221923828,
18
+ "loss": 0.3913,
19
+ "objective": 0.3618059456348419,
20
+ "ranking_idealized": 0.6458333134651184,
21
+ "ranking_idealized_expo": 0.5833333134651184,
22
+ "ranking_simple": 0.5833333134651184,
23
+ "regularize": 0.3618059456348419,
24
+ "step": 1,
25
+ "wo_beta": 14.830931663513184
26
+ },
27
+ {
28
+ "dpo_loss": 0.689619779586792,
29
+ "epoch": 0.14170996693434104,
30
+ "grad_norm": 35.61374868059241,
31
+ "learning_rate": 2.840909090909091e-07,
32
+ "logits": -1.4646235704421997,
33
+ "logps": -83.92658996582031,
34
+ "loss": 0.4117,
35
+ "objective": 0.4160037934780121,
36
+ "ranking_idealized": 0.608418345451355,
37
+ "ranking_idealized_expo": 0.5229591727256775,
38
+ "ranking_simple": 0.5255101919174194,
39
+ "regularize": 0.4160037934780121,
40
+ "step": 50,
41
+ "wo_beta": 15.691085815429688
42
+ },
43
+ {
44
+ "epoch": 0.14170996693434104,
45
+ "eval_dpo_loss": 0.6893064975738525,
46
+ "eval_logits": -1.4691106081008911,
47
+ "eval_logps": -90.8535385131836,
48
+ "eval_loss": 0.4102482497692108,
49
+ "eval_objective": 0.4089997410774231,
50
+ "eval_ranking_idealized": 0.6030020713806152,
51
+ "eval_ranking_idealized_expo": 0.5222567319869995,
52
+ "eval_ranking_simple": 0.5248447060585022,
53
+ "eval_regularize": 0.4089997410774231,
54
+ "eval_runtime": 309.1952,
55
+ "eval_samples_per_second": 18.726,
56
+ "eval_steps_per_second": 1.562,
57
+ "eval_wo_beta": 16.32078742980957,
58
+ "step": 50
59
+ },
60
+ {
61
+ "dpo_loss": 0.666653573513031,
62
+ "epoch": 0.2834199338686821,
63
+ "grad_norm": 39.001717769013226,
64
+ "learning_rate": 5.681818181818182e-07,
65
+ "logits": -1.5049233436584473,
66
+ "logps": -84.32721710205078,
67
+ "loss": 0.3871,
68
+ "objective": 0.3919191360473633,
69
+ "ranking_idealized": 0.6016666889190674,
70
+ "ranking_idealized_expo": 0.5141666531562805,
71
+ "ranking_simple": 0.5274999737739563,
72
+ "regularize": 0.3919191360473633,
73
+ "step": 100,
74
+ "wo_beta": 15.436232566833496
75
+ },
76
+ {
77
+ "epoch": 0.2834199338686821,
78
+ "eval_dpo_loss": 0.6833388805389404,
79
+ "eval_logits": -1.5346405506134033,
80
+ "eval_logps": -91.27565002441406,
81
+ "eval_loss": 0.4049375057220459,
82
+ "eval_objective": 0.40290772914886475,
83
+ "eval_ranking_idealized": 0.6030020713806152,
84
+ "eval_ranking_idealized_expo": 0.5222567319869995,
85
+ "eval_ranking_simple": 0.531573474407196,
86
+ "eval_regularize": 0.40290772914886475,
87
+ "eval_runtime": 308.7302,
88
+ "eval_samples_per_second": 18.754,
89
+ "eval_steps_per_second": 1.564,
90
+ "eval_wo_beta": 16.269933700561523,
91
+ "step": 100
92
+ },
93
+ {
94
+ "dpo_loss": 0.6460586190223694,
95
+ "epoch": 0.42512990080302315,
96
+ "grad_norm": 33.54647406338888,
97
+ "learning_rate": 8.522727272727273e-07,
98
+ "logits": -1.5278972387313843,
99
+ "logps": -86.29918670654297,
100
+ "loss": 0.3451,
101
+ "objective": 0.3537640869617462,
102
+ "ranking_idealized": 0.6066666841506958,
103
+ "ranking_idealized_expo": 0.5287500023841858,
104
+ "ranking_simple": 0.5441666841506958,
105
+ "regularize": 0.3537640869617462,
106
+ "step": 150,
107
+ "wo_beta": 15.559906005859375
108
+ },
109
+ {
110
+ "epoch": 0.42512990080302315,
111
+ "eval_dpo_loss": 0.6788700819015503,
112
+ "eval_logits": -1.4902477264404297,
113
+ "eval_logps": -91.16365051269531,
114
+ "eval_loss": 0.40134957432746887,
115
+ "eval_objective": 0.39963677525520325,
116
+ "eval_ranking_idealized": 0.6030020713806152,
117
+ "eval_ranking_idealized_expo": 0.5222567319869995,
118
+ "eval_ranking_simple": 0.534679114818573,
119
+ "eval_regularize": 0.39963677525520325,
120
+ "eval_runtime": 313.2125,
121
+ "eval_samples_per_second": 18.486,
122
+ "eval_steps_per_second": 1.542,
123
+ "eval_wo_beta": 16.59067726135254,
124
+ "step": 150
125
+ },
126
+ {
127
+ "dpo_loss": 0.616335928440094,
128
+ "epoch": 0.5668398677373642,
129
+ "grad_norm": 40.07384713581775,
130
+ "learning_rate": 9.99433669591504e-07,
131
+ "logits": -1.5112419128417969,
132
+ "logps": -85.97952270507812,
133
+ "loss": 0.3166,
134
+ "objective": 0.31608816981315613,
135
+ "ranking_idealized": 0.5924999713897705,
136
+ "ranking_idealized_expo": 0.5166666507720947,
137
+ "ranking_simple": 0.5454166531562805,
138
+ "regularize": 0.31608816981315613,
139
+ "step": 200,
140
+ "wo_beta": 15.945281982421875
141
+ },
142
+ {
143
+ "epoch": 0.5668398677373642,
144
+ "eval_dpo_loss": 0.681080162525177,
145
+ "eval_logits": -1.4522831439971924,
146
+ "eval_logps": -93.26953887939453,
147
+ "eval_loss": 0.4148460626602173,
148
+ "eval_objective": 0.41316577792167664,
149
+ "eval_ranking_idealized": 0.6030020713806152,
150
+ "eval_ranking_idealized_expo": 0.5222567319869995,
151
+ "eval_ranking_simple": 0.531573474407196,
152
+ "eval_regularize": 0.41316577792167664,
153
+ "eval_runtime": 308.9819,
154
+ "eval_samples_per_second": 18.739,
155
+ "eval_steps_per_second": 1.563,
156
+ "eval_wo_beta": 16.35118865966797,
157
+ "step": 200
158
+ },
159
+ {
160
+ "dpo_loss": 0.5952258110046387,
161
+ "epoch": 0.7085498346717053,
162
+ "grad_norm": 34.54234310666894,
163
+ "learning_rate": 9.94624571028813e-07,
164
+ "logits": -1.5106024742126465,
165
+ "logps": -84.41282653808594,
166
+ "loss": 0.2939,
167
+ "objective": 0.2922481894493103,
168
+ "ranking_idealized": 0.5991666913032532,
169
+ "ranking_idealized_expo": 0.5170833468437195,
170
+ "ranking_simple": 0.5612499713897705,
171
+ "regularize": 0.2922481894493103,
172
+ "step": 250,
173
+ "wo_beta": 16.29503631591797
174
+ },
175
+ {
176
+ "epoch": 0.7085498346717053,
177
+ "eval_dpo_loss": 0.679045557975769,
178
+ "eval_logits": -1.5465130805969238,
179
+ "eval_logps": -90.55366516113281,
180
+ "eval_loss": 0.4130644202232361,
181
+ "eval_objective": 0.4076613783836365,
182
+ "eval_ranking_idealized": 0.6030020713806152,
183
+ "eval_ranking_idealized_expo": 0.5222567319869995,
184
+ "eval_ranking_simple": 0.5341615080833435,
185
+ "eval_regularize": 0.4076613783836365,
186
+ "eval_runtime": 308.7233,
187
+ "eval_samples_per_second": 18.755,
188
+ "eval_steps_per_second": 1.565,
189
+ "eval_wo_beta": 16.480682373046875,
190
+ "step": 250
191
+ },
192
+ {
193
+ "dpo_loss": 0.586772620677948,
194
+ "epoch": 0.8502598016060463,
195
+ "grad_norm": 34.42071615370769,
196
+ "learning_rate": 9.849553282839024e-07,
197
+ "logits": -1.5501227378845215,
198
+ "logps": -85.52662658691406,
199
+ "loss": 0.2655,
200
+ "objective": 0.27248048782348633,
201
+ "ranking_idealized": 0.5799999833106995,
202
+ "ranking_idealized_expo": 0.4970833361148834,
203
+ "ranking_simple": 0.5445833206176758,
204
+ "regularize": 0.27248048782348633,
205
+ "step": 300,
206
+ "wo_beta": 15.878409385681152
207
+ },
208
+ {
209
+ "epoch": 0.8502598016060463,
210
+ "eval_dpo_loss": 0.6806344985961914,
211
+ "eval_logits": -1.4552550315856934,
212
+ "eval_logps": -91.35205078125,
213
+ "eval_loss": 0.4126306176185608,
214
+ "eval_objective": 0.4082447588443756,
215
+ "eval_ranking_idealized": 0.6030020713806152,
216
+ "eval_ranking_idealized_expo": 0.5222567319869995,
217
+ "eval_ranking_simple": 0.5310559272766113,
218
+ "eval_regularize": 0.4082447588443756,
219
+ "eval_runtime": 467.8777,
220
+ "eval_samples_per_second": 12.375,
221
+ "eval_steps_per_second": 1.032,
222
+ "eval_wo_beta": 16.44291877746582,
223
+ "step": 300
224
+ },
225
+ {
226
+ "dpo_loss": 0.5711151361465454,
227
+ "epoch": 0.9919697685403873,
228
+ "grad_norm": 31.544141880018735,
229
+ "learning_rate": 9.705209506155634e-07,
230
+ "logits": -1.468552589416504,
231
+ "logps": -85.4828872680664,
232
+ "loss": 0.2513,
233
+ "objective": 0.24532364308834076,
234
+ "ranking_idealized": 0.60916668176651,
235
+ "ranking_idealized_expo": 0.5270833373069763,
236
+ "ranking_simple": 0.5920833349227905,
237
+ "regularize": 0.24532364308834076,
238
+ "step": 350,
239
+ "wo_beta": 15.914597511291504
240
+ },
241
+ {
242
+ "epoch": 0.9919697685403873,
243
+ "eval_dpo_loss": 0.6781877279281616,
244
+ "eval_logits": -1.4532182216644287,
245
+ "eval_logps": -91.24078369140625,
246
+ "eval_loss": 0.41097965836524963,
247
+ "eval_objective": 0.4043864607810974,
248
+ "eval_ranking_idealized": 0.6030020713806152,
249
+ "eval_ranking_idealized_expo": 0.5222567319869995,
250
+ "eval_ranking_simple": 0.5351966619491577,
251
+ "eval_regularize": 0.4043864607810974,
252
+ "eval_runtime": 471.3464,
253
+ "eval_samples_per_second": 12.284,
254
+ "eval_steps_per_second": 1.025,
255
+ "eval_wo_beta": 16.376806259155273,
256
+ "step": 350
257
+ },
258
+ {
259
+ "dpo_loss": 0.5529460906982422,
260
+ "epoch": 1.1336797354747283,
261
+ "grad_norm": 30.9851919334132,
262
+ "learning_rate": 9.514632691433106e-07,
263
+ "logits": -1.4837555885314941,
264
+ "logps": -83.03319549560547,
265
+ "loss": 0.2206,
266
+ "objective": 0.2209722399711609,
267
+ "ranking_idealized": 0.6087499856948853,
268
+ "ranking_idealized_expo": 0.5337499976158142,
269
+ "ranking_simple": 0.5941666960716248,
270
+ "regularize": 0.2209722399711609,
271
+ "step": 400,
272
+ "wo_beta": 16.069154739379883
273
+ },
274
+ {
275
+ "epoch": 1.1336797354747283,
276
+ "eval_dpo_loss": 0.6769281625747681,
277
+ "eval_logits": -1.4763766527175903,
278
+ "eval_logps": -87.34698486328125,
279
+ "eval_loss": 0.41283363103866577,
280
+ "eval_objective": 0.4048711359500885,
281
+ "eval_ranking_idealized": 0.6030020713806152,
282
+ "eval_ranking_idealized_expo": 0.5222567319869995,
283
+ "eval_ranking_simple": 0.533643901348114,
284
+ "eval_regularize": 0.4048711359500885,
285
+ "eval_runtime": 481.9587,
286
+ "eval_samples_per_second": 12.013,
287
+ "eval_steps_per_second": 1.002,
288
+ "eval_wo_beta": 16.20241355895996,
289
+ "step": 400
290
+ },
291
+ {
292
+ "dpo_loss": 0.5509263277053833,
293
+ "epoch": 1.2753897024090695,
294
+ "grad_norm": 33.28599031549051,
295
+ "learning_rate": 9.279695432253708e-07,
296
+ "logits": -1.4624412059783936,
297
+ "logps": -82.20590209960938,
298
+ "loss": 0.2077,
299
+ "objective": 0.2058807760477066,
300
+ "ranking_idealized": 0.5975000262260437,
301
+ "ranking_idealized_expo": 0.5199999809265137,
302
+ "ranking_simple": 0.5841666460037231,
303
+ "regularize": 0.2058807760477066,
304
+ "step": 450,
305
+ "wo_beta": 16.36168098449707
306
+ },
307
+ {
308
+ "epoch": 1.2753897024090695,
309
+ "eval_dpo_loss": 0.6788477897644043,
310
+ "eval_logits": -1.417741060256958,
311
+ "eval_logps": -89.87925720214844,
312
+ "eval_loss": 0.41441377997398376,
313
+ "eval_objective": 0.4105576276779175,
314
+ "eval_ranking_idealized": 0.6030020713806152,
315
+ "eval_ranking_idealized_expo": 0.5222567319869995,
316
+ "eval_ranking_simple": 0.5331262946128845,
317
+ "eval_regularize": 0.4105576276779175,
318
+ "eval_runtime": 479.889,
319
+ "eval_samples_per_second": 12.065,
320
+ "eval_steps_per_second": 1.006,
321
+ "eval_wo_beta": 16.197683334350586,
322
+ "step": 450
323
+ },
324
+ {
325
+ "dpo_loss": 0.5497527718544006,
326
+ "epoch": 1.4170996693434104,
327
+ "grad_norm": 28.875129958259482,
328
+ "learning_rate": 9.002706204621802e-07,
329
+ "logits": -1.4527512788772583,
330
+ "logps": -82.58905029296875,
331
+ "loss": 0.1943,
332
+ "objective": 0.19459716975688934,
333
+ "ranking_idealized": 0.57833331823349,
334
+ "ranking_idealized_expo": 0.4983333349227905,
335
+ "ranking_simple": 0.5625,
336
+ "regularize": 0.19459716975688934,
337
+ "step": 500,
338
+ "wo_beta": 15.90869426727295
339
+ },
340
+ {
341
+ "epoch": 1.4170996693434104,
342
+ "eval_dpo_loss": 0.6781710982322693,
343
+ "eval_logits": -1.454372763633728,
344
+ "eval_logps": -87.66993713378906,
345
+ "eval_loss": 0.4168953001499176,
346
+ "eval_objective": 0.40915447473526,
347
+ "eval_ranking_idealized": 0.6030020713806152,
348
+ "eval_ranking_idealized_expo": 0.5222567319869995,
349
+ "eval_ranking_simple": 0.5351966619491577,
350
+ "eval_regularize": 0.40915447473526,
351
+ "eval_runtime": 488.9325,
352
+ "eval_samples_per_second": 11.842,
353
+ "eval_steps_per_second": 0.988,
354
+ "eval_wo_beta": 16.050954818725586,
355
+ "step": 500
356
+ },
357
+ {
358
+ "dpo_loss": 0.5426554083824158,
359
+ "epoch": 1.5588096362777515,
360
+ "grad_norm": 30.318446040470374,
361
+ "learning_rate": 8.68638668405062e-07,
362
+ "logits": -1.4643546342849731,
363
+ "logps": -82.28606414794922,
364
+ "loss": 0.1879,
365
+ "objective": 0.1849183589220047,
366
+ "ranking_idealized": 0.5945833325386047,
367
+ "ranking_idealized_expo": 0.5116666555404663,
368
+ "ranking_simple": 0.5854166746139526,
369
+ "regularize": 0.1849183589220047,
370
+ "step": 550,
371
+ "wo_beta": 15.804949760437012
372
+ },
373
+ {
374
+ "epoch": 1.5588096362777515,
375
+ "eval_dpo_loss": 0.6786677241325378,
376
+ "eval_logits": -1.4267942905426025,
377
+ "eval_logps": -89.01109313964844,
378
+ "eval_loss": 0.4173260033130646,
379
+ "eval_objective": 0.41023388504981995,
380
+ "eval_ranking_idealized": 0.6030020713806152,
381
+ "eval_ranking_idealized_expo": 0.5222567319869995,
382
+ "eval_ranking_simple": 0.534679114818573,
383
+ "eval_regularize": 0.41023388504981995,
384
+ "eval_runtime": 497.8976,
385
+ "eval_samples_per_second": 11.629,
386
+ "eval_steps_per_second": 0.97,
387
+ "eval_wo_beta": 16.070680618286133,
388
+ "step": 550
389
+ },
390
+ {
391
+ "dpo_loss": 0.5401077270507812,
392
+ "epoch": 1.7005196032120926,
393
+ "grad_norm": 28.092335905186818,
394
+ "learning_rate": 8.333845002581458e-07,
395
+ "logits": -1.4184807538986206,
396
+ "logps": -81.81605529785156,
397
+ "loss": 0.1768,
398
+ "objective": 0.1826876848936081,
399
+ "ranking_idealized": 0.6004166603088379,
400
+ "ranking_idealized_expo": 0.51583331823349,
401
+ "ranking_simple": 0.5870833396911621,
402
+ "regularize": 0.1826876848936081,
403
+ "step": 600,
404
+ "wo_beta": 15.617234230041504
405
+ },
406
+ {
407
+ "epoch": 1.7005196032120926,
408
+ "eval_dpo_loss": 0.6796310544013977,
409
+ "eval_logits": -1.4410563707351685,
410
+ "eval_logps": -87.06050872802734,
411
+ "eval_loss": 0.4189995527267456,
412
+ "eval_objective": 0.411603182554245,
413
+ "eval_ranking_idealized": 0.6030020713806152,
414
+ "eval_ranking_idealized_expo": 0.5222567319869995,
415
+ "eval_ranking_simple": 0.5351966619491577,
416
+ "eval_regularize": 0.411603182554245,
417
+ "eval_runtime": 490.295,
418
+ "eval_samples_per_second": 11.809,
419
+ "eval_steps_per_second": 0.985,
420
+ "eval_wo_beta": 16.06967544555664,
421
+ "step": 600
422
+ },
423
+ {
424
+ "dpo_loss": 0.5417632460594177,
425
+ "epoch": 1.8422295701464337,
426
+ "grad_norm": 30.564010457091317,
427
+ "learning_rate": 7.948545208509811e-07,
428
+ "logits": -1.4855570793151855,
429
+ "logps": -82.33342742919922,
430
+ "loss": 0.1736,
431
+ "objective": 0.16996659338474274,
432
+ "ranking_idealized": 0.6058333516120911,
433
+ "ranking_idealized_expo": 0.5295833349227905,
434
+ "ranking_simple": 0.5916666388511658,
435
+ "regularize": 0.16996659338474274,
436
+ "step": 650,
437
+ "wo_beta": 16.523035049438477
438
+ },
439
+ {
440
+ "epoch": 1.8422295701464337,
441
+ "eval_dpo_loss": 0.680221676826477,
442
+ "eval_logits": -1.4600505828857422,
443
+ "eval_logps": -90.0507583618164,
444
+ "eval_loss": 0.4218791425228119,
445
+ "eval_objective": 0.4143694341182709,
446
+ "eval_ranking_idealized": 0.6030020713806152,
447
+ "eval_ranking_idealized_expo": 0.5222567319869995,
448
+ "eval_ranking_simple": 0.534679114818573,
449
+ "eval_regularize": 0.4143694341182709,
450
+ "eval_runtime": 465.9154,
451
+ "eval_samples_per_second": 12.427,
452
+ "eval_steps_per_second": 1.037,
453
+ "eval_wo_beta": 16.10569953918457,
454
+ "step": 650
455
+ },
456
+ {
457
+ "dpo_loss": 0.5461080074310303,
458
+ "epoch": 1.9839395370807746,
459
+ "grad_norm": 29.849998371301844,
460
+ "learning_rate": 7.534273228904915e-07,
461
+ "logits": -1.4225118160247803,
462
+ "logps": -84.2075424194336,
463
+ "loss": 0.1598,
464
+ "objective": 0.16184575855731964,
465
+ "ranking_idealized": 0.5954166650772095,
466
+ "ranking_idealized_expo": 0.5129166841506958,
467
+ "ranking_simple": 0.5870833396911621,
468
+ "regularize": 0.16184575855731964,
469
+ "step": 700,
470
+ "wo_beta": 15.974614143371582
471
+ },
472
+ {
473
+ "epoch": 1.9839395370807746,
474
+ "eval_dpo_loss": 0.6798617243766785,
475
+ "eval_logits": -1.411017656326294,
476
+ "eval_logps": -90.56302642822266,
477
+ "eval_loss": 0.4216688573360443,
478
+ "eval_objective": 0.41477063298225403,
479
+ "eval_ranking_idealized": 0.6030020713806152,
480
+ "eval_ranking_idealized_expo": 0.5222567319869995,
481
+ "eval_ranking_simple": 0.5362318754196167,
482
+ "eval_regularize": 0.41477063298225403,
483
+ "eval_runtime": 468.8368,
484
+ "eval_samples_per_second": 12.35,
485
+ "eval_steps_per_second": 1.03,
486
+ "eval_wo_beta": 16.049283981323242,
487
+ "step": 700
488
+ },
489
+ {
490
+ "dpo_loss": 0.5335285663604736,
491
+ "epoch": 2.1256495040151155,
492
+ "grad_norm": 27.349376686984996,
493
+ "learning_rate": 7.095099669372443e-07,
494
+ "logits": -1.4041997194290161,
495
+ "logps": -83.5035400390625,
496
+ "loss": 0.1454,
497
+ "objective": 0.14657247066497803,
498
+ "ranking_idealized": 0.6066666841506958,
499
+ "ranking_idealized_expo": 0.5133333206176758,
500
+ "ranking_simple": 0.596666693687439,
501
+ "regularize": 0.14657247066497803,
502
+ "step": 750,
503
+ "wo_beta": 16.065366744995117
504
+ },
505
+ {
506
+ "epoch": 2.1256495040151155,
507
+ "eval_dpo_loss": 0.6797157526016235,
508
+ "eval_logits": -1.3859150409698486,
509
+ "eval_logps": -89.54334259033203,
510
+ "eval_loss": 0.4214833676815033,
511
+ "eval_objective": 0.41514915227890015,
512
+ "eval_ranking_idealized": 0.6030020713806152,
513
+ "eval_ranking_idealized_expo": 0.5222567319869995,
514
+ "eval_ranking_simple": 0.531573474407196,
515
+ "eval_regularize": 0.41514915227890015,
516
+ "eval_runtime": 480.0022,
517
+ "eval_samples_per_second": 12.062,
518
+ "eval_steps_per_second": 1.006,
519
+ "eval_wo_beta": 16.04585075378418,
520
+ "step": 750
521
+ },
522
+ {
523
+ "dpo_loss": 0.5314897894859314,
524
+ "epoch": 2.2673594709494567,
525
+ "grad_norm": 28.42084450535516,
526
+ "learning_rate": 6.635339816587108e-07,
527
+ "logits": -1.3851786851882935,
528
+ "logps": -83.51881408691406,
529
+ "loss": 0.1333,
530
+ "objective": 0.13326440751552582,
531
+ "ranking_idealized": 0.5941666960716248,
532
+ "ranking_idealized_expo": 0.5129166841506958,
533
+ "ranking_simple": 0.5874999761581421,
534
+ "regularize": 0.13326440751552582,
535
+ "step": 800,
536
+ "wo_beta": 15.551568984985352
537
+ },
538
+ {
539
+ "epoch": 2.2673594709494567,
540
+ "eval_dpo_loss": 0.6790949106216431,
541
+ "eval_logits": -1.383711576461792,
542
+ "eval_logps": -89.10604858398438,
543
+ "eval_loss": 0.4217349588871002,
544
+ "eval_objective": 0.4141845107078552,
545
+ "eval_ranking_idealized": 0.6030020713806152,
546
+ "eval_ranking_idealized_expo": 0.5222567319869995,
547
+ "eval_ranking_simple": 0.534679114818573,
548
+ "eval_regularize": 0.4141845107078552,
549
+ "eval_runtime": 479.8627,
550
+ "eval_samples_per_second": 12.066,
551
+ "eval_steps_per_second": 1.007,
552
+ "eval_wo_beta": 15.984663963317871,
553
+ "step": 800
554
+ },
555
+ {
556
+ "dpo_loss": 0.5344111919403076,
557
+ "epoch": 2.409069437883798,
558
+ "grad_norm": 27.376346461788764,
559
+ "learning_rate": 6.159511236607315e-07,
560
+ "logits": -1.4081922769546509,
561
+ "logps": -83.36618041992188,
562
+ "loss": 0.1287,
563
+ "objective": 0.12692613899707794,
564
+ "ranking_idealized": 0.5979166626930237,
565
+ "ranking_idealized_expo": 0.5166666507720947,
566
+ "ranking_simple": 0.5933333039283752,
567
+ "regularize": 0.12692613899707794,
568
+ "step": 850,
569
+ "wo_beta": 15.760154724121094
570
+ },
571
+ {
572
+ "epoch": 2.409069437883798,
573
+ "eval_dpo_loss": 0.6794790625572205,
574
+ "eval_logits": -1.3856061697006226,
575
+ "eval_logps": -88.614501953125,
576
+ "eval_loss": 0.4240662753582001,
577
+ "eval_objective": 0.4153030812740326,
578
+ "eval_ranking_idealized": 0.6030020713806152,
579
+ "eval_ranking_idealized_expo": 0.5222567319869995,
580
+ "eval_ranking_simple": 0.5357142686843872,
581
+ "eval_regularize": 0.4153030812740326,
582
+ "eval_runtime": 481.1385,
583
+ "eval_samples_per_second": 12.034,
584
+ "eval_steps_per_second": 1.004,
585
+ "eval_wo_beta": 15.997852325439453,
586
+ "step": 850
587
+ },
588
+ {
589
+ "dpo_loss": 0.5347414016723633,
590
+ "epoch": 2.550779404818139,
591
+ "grad_norm": 29.1093651939844,
592
+ "learning_rate": 5.67228938560766e-07,
593
+ "logits": -1.3715587854385376,
594
+ "logps": -82.14668273925781,
595
+ "loss": 0.12,
596
+ "objective": 0.12150037288665771,
597
+ "ranking_idealized": 0.5887500047683716,
598
+ "ranking_idealized_expo": 0.518750011920929,
599
+ "ranking_simple": 0.5891666412353516,
600
+ "regularize": 0.12150037288665771,
601
+ "step": 900,
602
+ "wo_beta": 16.280019760131836
603
+ },
604
+ {
605
+ "epoch": 2.550779404818139,
606
+ "eval_dpo_loss": 0.6795074343681335,
607
+ "eval_logits": -1.3921464681625366,
608
+ "eval_logps": -88.66633605957031,
609
+ "eval_loss": 0.4207339584827423,
610
+ "eval_objective": 0.4128892719745636,
611
+ "eval_ranking_idealized": 0.6030020713806152,
612
+ "eval_ranking_idealized_expo": 0.5222567319869995,
613
+ "eval_ranking_simple": 0.5331262946128845,
614
+ "eval_regularize": 0.4128892719745636,
615
+ "eval_runtime": 493.2688,
616
+ "eval_samples_per_second": 11.738,
617
+ "eval_steps_per_second": 0.979,
618
+ "eval_wo_beta": 16.06983184814453,
619
+ "step": 900
620
+ },
621
+ {
622
+ "dpo_loss": 0.5318446159362793,
623
+ "epoch": 2.69248937175248,
624
+ "grad_norm": 28.62178309135148,
625
+ "learning_rate": 5.178461669194903e-07,
626
+ "logits": -1.3740975856781006,
627
+ "logps": -82.18826293945312,
628
+ "loss": 0.1148,
629
+ "objective": 0.11303483694791794,
630
+ "ranking_idealized": 0.5975000262260437,
631
+ "ranking_idealized_expo": 0.5087500214576721,
632
+ "ranking_simple": 0.5929166674613953,
633
+ "regularize": 0.11303483694791794,
634
+ "step": 950,
635
+ "wo_beta": 16.24332618713379
636
+ },
637
+ {
638
+ "epoch": 2.69248937175248,
639
+ "eval_dpo_loss": 0.6791985034942627,
640
+ "eval_logits": -1.3689535856246948,
641
+ "eval_logps": -88.28536224365234,
642
+ "eval_loss": 0.421545147895813,
643
+ "eval_objective": 0.41494688391685486,
644
+ "eval_ranking_idealized": 0.6030020713806152,
645
+ "eval_ranking_idealized_expo": 0.5222567319869995,
646
+ "eval_ranking_simple": 0.533643901348114,
647
+ "eval_regularize": 0.41494688391685486,
648
+ "eval_runtime": 492.3545,
649
+ "eval_samples_per_second": 11.76,
650
+ "eval_steps_per_second": 0.981,
651
+ "eval_wo_beta": 16.05128288269043,
652
+ "step": 950
653
+ },
654
+ {
655
+ "dpo_loss": 0.5294139385223389,
656
+ "epoch": 2.8341993386868207,
657
+ "grad_norm": 27.974854830973783,
658
+ "learning_rate": 4.682880401717177e-07,
659
+ "logits": -1.3566088676452637,
660
+ "logps": -81.84488677978516,
661
+ "loss": 0.1068,
662
+ "objective": 0.109143927693367,
663
+ "ranking_idealized": 0.6020833253860474,
664
+ "ranking_idealized_expo": 0.5104166865348816,
665
+ "ranking_simple": 0.5975000262260437,
666
+ "regularize": 0.109143927693367,
667
+ "step": 1000,
668
+ "wo_beta": 15.627644538879395
669
+ },
670
+ {
671
+ "epoch": 2.8341993386868207,
672
+ "eval_dpo_loss": 0.6808813214302063,
673
+ "eval_logits": -1.3724371194839478,
674
+ "eval_logps": -89.17817687988281,
675
+ "eval_loss": 0.42285358905792236,
676
+ "eval_objective": 0.41681256890296936,
677
+ "eval_ranking_idealized": 0.6030020713806152,
678
+ "eval_ranking_idealized_expo": 0.5222567319869995,
679
+ "eval_ranking_simple": 0.5320910811424255,
680
+ "eval_regularize": 0.41681256890296936,
681
+ "eval_runtime": 490.5576,
682
+ "eval_samples_per_second": 11.803,
683
+ "eval_steps_per_second": 0.985,
684
+ "eval_wo_beta": 16.072154998779297,
685
+ "step": 1000
686
+ },
687
+ {
688
+ "dpo_loss": 0.5339093208312988,
689
+ "epoch": 2.975909305621162,
690
+ "grad_norm": 27.555604149776222,
691
+ "learning_rate": 4.1904151277847305e-07,
692
+ "logits": -1.3810933828353882,
693
+ "logps": -82.09051513671875,
694
+ "loss": 0.0991,
695
+ "objective": 0.09846866875886917,
696
+ "ranking_idealized": 0.6075000166893005,
697
+ "ranking_idealized_expo": 0.5179166793823242,
698
+ "ranking_simple": 0.5975000262260437,
699
+ "regularize": 0.09846866875886917,
700
+ "step": 1050,
701
+ "wo_beta": 16.260292053222656
702
+ },
703
+ {
704
+ "epoch": 2.975909305621162,
705
+ "eval_dpo_loss": 0.6791900992393494,
706
+ "eval_logits": -1.398189663887024,
707
+ "eval_logps": -88.96070098876953,
708
+ "eval_loss": 0.421024352312088,
709
+ "eval_objective": 0.4140646755695343,
710
+ "eval_ranking_idealized": 0.6030020713806152,
711
+ "eval_ranking_idealized_expo": 0.5222567319869995,
712
+ "eval_ranking_simple": 0.533643901348114,
713
+ "eval_regularize": 0.4140646755695343,
714
+ "eval_runtime": 468.6466,
715
+ "eval_samples_per_second": 12.355,
716
+ "eval_steps_per_second": 1.031,
717
+ "eval_wo_beta": 16.04439353942871,
718
+ "step": 1050
719
+ },
720
+ {
721
+ "epoch": 2.975909305621162,
722
+ "step": 1050,
723
+ "total_flos": 0.0,
724
+ "train_loss": 0.10327800432840983,
725
+ "train_runtime": 29791.2438,
726
+ "train_samples_per_second": 8.526,
727
+ "train_steps_per_second": 0.059
728
+ }
729
+ ],
730
+ "logging_steps": 50,
731
+ "max_steps": 1760,
732
+ "num_input_tokens_seen": 0,
733
+ "num_train_epochs": 5,
734
+ "save_steps": 50,
735
+ "stateful_callbacks": {
736
+ "EarlyStoppingCallback": {
737
+ "args": {
738
+ "early_stopping_patience": 5,
739
+ "early_stopping_threshold": 0.0
740
+ },
741
+ "attributes": {
742
+ "early_stopping_patience_counter": 0
743
+ }
744
+ },
745
+ "TrainerControl": {
746
+ "args": {
747
+ "should_epoch_stop": false,
748
+ "should_evaluate": false,
749
+ "should_log": false,
750
+ "should_save": true,
751
+ "should_training_stop": true
752
+ },
753
+ "attributes": {}
754
+ }
755
+ },
756
+ "total_flos": 0.0,
757
+ "train_batch_size": 4,
758
+ "trial_name": null,
759
+ "trial_params": null
760
+ }