Model save
Browse files- README.md +45 -44
- all_results.json +16 -3
- eval_results.json +16 -0
- model.safetensors +1 -1
- runs/Oct05_06-10-41_xe8545-a100-14/events.out.tfevents.1728114897.xe8545-a100-14.957316.1 +3 -0
- runs/Oct06_14-30-18_xe8545-a100-22/events.out.tfevents.1728218423.xe8545-a100-22.2422281.0 +3 -0
- train_results.json +3 -3
- trainer_state.json +0 -0
- training_args.bin +1 -1
README.md
CHANGED
@@ -3,6 +3,7 @@ library_name: transformers
|
|
3 |
tags:
|
4 |
- trl
|
5 |
- dpo
|
|
|
6 |
- generated_from_trainer
|
7 |
model-index:
|
8 |
- name: OpenELM-1_1B-DPO-full-max-4-reward
|
@@ -16,15 +17,15 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
This model was trained from scratch on an unknown dataset.
|
18 |
It achieves the following results on the evaluation set:
|
19 |
-
- Loss: 1.
|
20 |
-
- Rewards/chosen: -13.
|
21 |
-
- Rewards/rejected: -14.
|
22 |
-
- Rewards/accuracies: 0.
|
23 |
-
- Rewards/margins: 1.
|
24 |
-
- Logps/rejected: -
|
25 |
-
- Logps/chosen: -
|
26 |
-
- Logits/rejected:
|
27 |
-
- Logits/chosen:
|
28 |
|
29 |
## Model description
|
30 |
|
@@ -61,41 +62,41 @@ The following hyperparameters were used during training:
|
|
61 |
|
62 |
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
63 |
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
64 |
-
| 0.
|
65 |
-
| 0.
|
66 |
-
| 0.
|
67 |
-
| 0.
|
68 |
-
| 0.
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
-
| 0.
|
77 |
-
| 0.
|
78 |
-
| 0.
|
79 |
-
| 0.
|
80 |
-
| 0.
|
81 |
-
| 0.
|
82 |
-
| 0.
|
83 |
-
| 0.
|
84 |
-
| 0.
|
85 |
-
| 0.
|
86 |
-
| 0.
|
87 |
-
| 0.
|
88 |
-
| 0.
|
89 |
-
| 0.
|
90 |
-
| 0.
|
91 |
-
| 0.
|
92 |
-
| 0.
|
93 |
-
| 0.
|
94 |
-
| 0.
|
95 |
-
| 0.
|
96 |
-
| 0.
|
97 |
-
| 0.
|
98 |
-
| 0.0163 | 2.9319 | 2800 | 1.
|
99 |
|
100 |
|
101 |
### Framework versions
|
|
|
3 |
tags:
|
4 |
- trl
|
5 |
- dpo
|
6 |
+
- alignment-handbook
|
7 |
- generated_from_trainer
|
8 |
model-index:
|
9 |
- name: OpenELM-1_1B-DPO-full-max-4-reward
|
|
|
17 |
|
18 |
This model was trained from scratch on an unknown dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.5703
|
21 |
+
- Rewards/chosen: -13.1875
|
22 |
+
- Rewards/rejected: -14.6875
|
23 |
+
- Rewards/accuracies: 0.5898
|
24 |
+
- Rewards/margins: 1.5
|
25 |
+
- Logps/rejected: -1760.0
|
26 |
+
- Logps/chosen: -1640.0
|
27 |
+
- Logits/rejected: 8.0
|
28 |
+
- Logits/chosen: 6.0312
|
29 |
|
30 |
## Model description
|
31 |
|
|
|
62 |
|
63 |
| Training Loss | Epoch | Step | Validation Loss | Rewards/chosen | Rewards/rejected | Rewards/accuracies | Rewards/margins | Logps/rejected | Logps/chosen | Logits/rejected | Logits/chosen |
|
64 |
|:-------------:|:------:|:----:|:---------------:|:--------------:|:----------------:|:------------------:|:---------------:|:--------------:|:------------:|:---------------:|:-------------:|
|
65 |
+
| 0.6384 | 0.0838 | 80 | 0.6899 | -0.7109 | -0.7969 | 0.5566 | 0.0854 | -368.0 | -390.0 | -9.8125 | -10.125 |
|
66 |
+
| 0.6225 | 0.1675 | 160 | 0.7090 | -1.4844 | -1.6094 | 0.5508 | 0.1279 | -450.0 | -466.0 | -9.25 | -9.6875 |
|
67 |
+
| 0.6067 | 0.2513 | 240 | 0.7372 | -2.1875 | -2.375 | 0.5625 | 0.1865 | -528.0 | -540.0 | -6.75 | -7.5312 |
|
68 |
+
| 0.63 | 0.3351 | 320 | 0.7781 | -2.9688 | -3.1719 | 0.5723 | 0.2051 | -604.0 | -616.0 | -4.3125 | -5.2188 |
|
69 |
+
| 0.6294 | 0.4188 | 400 | 0.7330 | -2.5938 | -2.8594 | 0.5977 | 0.2773 | -576.0 | -576.0 | -4.6562 | -5.75 |
|
70 |
+
| 0.6199 | 0.5026 | 480 | 0.7532 | -3.3438 | -3.6719 | 0.5820 | 0.3301 | -656.0 | -652.0 | -7.9688 | -8.9375 |
|
71 |
+
| 0.5935 | 0.5864 | 560 | 0.7359 | -4.0625 | -4.4062 | 0.5859 | 0.3262 | -728.0 | -724.0 | -7.9062 | -8.875 |
|
72 |
+
| 0.5859 | 0.6702 | 640 | 0.7149 | -3.6719 | -4.125 | 0.6191 | 0.4648 | -704.0 | -684.0 | -5.125 | -6.4062 |
|
73 |
+
| 0.6127 | 0.7539 | 720 | 0.7057 | -3.7031 | -4.0312 | 0.6016 | 0.3320 | -692.0 | -688.0 | -6.875 | -8.0 |
|
74 |
+
| 0.6012 | 0.8377 | 800 | 0.7512 | -3.6406 | -3.9375 | 0.5938 | 0.2988 | -684.0 | -684.0 | -10.75 | -11.125 |
|
75 |
+
| 0.5948 | 0.9215 | 880 | 0.7496 | -3.0938 | -3.4531 | 0.5918 | 0.3457 | -632.0 | -628.0 | -4.9688 | -6.875 |
|
76 |
+
| 0.434 | 1.0052 | 960 | 0.7349 | -4.4062 | -4.9688 | 0.6289 | 0.5703 | -784.0 | -760.0 | -2.8906 | -4.75 |
|
77 |
+
| 0.1948 | 1.0890 | 1040 | 1.0377 | -7.0 | -7.75 | 0.6211 | 0.7539 | -1064.0 | -1016.0 | 1.125 | -0.8477 |
|
78 |
+
| 0.2139 | 1.1728 | 1120 | 0.9297 | -7.7188 | -8.375 | 0.6133 | 0.6562 | -1128.0 | -1088.0 | 3.2969 | 1.5469 |
|
79 |
+
| 0.1666 | 1.2565 | 1200 | 1.0332 | -8.375 | -9.0625 | 0.5840 | 0.7109 | -1200.0 | -1152.0 | 2.9219 | 1.0859 |
|
80 |
+
| 0.1994 | 1.3403 | 1280 | 0.9937 | -7.4688 | -8.25 | 0.5918 | 0.7969 | -1112.0 | -1064.0 | 0.4863 | -1.6797 |
|
81 |
+
| 0.1836 | 1.4241 | 1360 | 0.9652 | -7.4688 | -8.3125 | 0.6074 | 0.8359 | -1120.0 | -1064.0 | 1.3984 | -0.7383 |
|
82 |
+
| 0.153 | 1.5079 | 1440 | 1.1797 | -9.6875 | -10.625 | 0.5938 | 0.9102 | -1352.0 | -1288.0 | 4.0 | 1.9219 |
|
83 |
+
| 0.1398 | 1.5916 | 1520 | 1.0459 | -9.0 | -9.9375 | 0.5996 | 0.9609 | -1280.0 | -1216.0 | 4.1875 | 2.1562 |
|
84 |
+
| 0.1634 | 1.6754 | 1600 | 1.0131 | -9.0625 | -10.0 | 0.5977 | 0.9375 | -1288.0 | -1224.0 | 2.4062 | 0.1006 |
|
85 |
+
| 0.1777 | 1.7592 | 1680 | 1.0902 | -8.6875 | -9.625 | 0.625 | 0.9219 | -1248.0 | -1192.0 | 3.5312 | 1.1875 |
|
86 |
+
| 0.1536 | 1.8429 | 1760 | 1.0046 | -9.125 | -10.0625 | 0.6074 | 0.9180 | -1296.0 | -1232.0 | 3.8281 | 1.6797 |
|
87 |
+
| 0.1713 | 1.9267 | 1840 | 1.0627 | -9.3125 | -10.375 | 0.6230 | 1.0781 | -1328.0 | -1248.0 | 5.2812 | 3.0781 |
|
88 |
+
| 0.0282 | 2.0105 | 1920 | 1.0638 | -9.0625 | -10.125 | 0.6133 | 1.0625 | -1304.0 | -1224.0 | 4.125 | 1.8281 |
|
89 |
+
| 0.0234 | 2.0942 | 2000 | 1.3751 | -11.625 | -12.8125 | 0.5957 | 1.2266 | -1568.0 | -1480.0 | 6.5938 | 4.5 |
|
90 |
+
| 0.0167 | 2.1780 | 2080 | 1.4855 | -12.625 | -14.0 | 0.5977 | 1.375 | -1688.0 | -1584.0 | 7.5 | 5.4375 |
|
91 |
+
| 0.0366 | 2.2618 | 2160 | 1.4665 | -12.1875 | -13.5625 | 0.5957 | 1.3594 | -1648.0 | -1536.0 | 7.3125 | 5.25 |
|
92 |
+
| 0.0268 | 2.3455 | 2240 | 1.5465 | -12.8125 | -14.1875 | 0.5996 | 1.3594 | -1712.0 | -1600.0 | 7.6875 | 5.7188 |
|
93 |
+
| 0.0241 | 2.4293 | 2320 | 1.5025 | -12.25 | -13.6875 | 0.5996 | 1.4219 | -1656.0 | -1544.0 | 7.25 | 5.1875 |
|
94 |
+
| 0.0261 | 2.5131 | 2400 | 1.5371 | -12.75 | -14.1875 | 0.5938 | 1.4375 | -1712.0 | -1592.0 | 7.5312 | 5.5 |
|
95 |
+
| 0.0245 | 2.5969 | 2480 | 1.5284 | -12.625 | -14.0625 | 0.5977 | 1.4453 | -1696.0 | -1584.0 | 7.625 | 5.5625 |
|
96 |
+
| 0.0249 | 2.6806 | 2560 | 1.5392 | -12.8125 | -14.25 | 0.5938 | 1.4766 | -1712.0 | -1600.0 | 7.7812 | 5.7188 |
|
97 |
+
| 0.02 | 2.7644 | 2640 | 1.5571 | -13.0625 | -14.5625 | 0.5898 | 1.4922 | -1744.0 | -1624.0 | 7.9375 | 5.9375 |
|
98 |
+
| 0.0194 | 2.8482 | 2720 | 1.5688 | -13.1875 | -14.6875 | 0.5898 | 1.5 | -1760.0 | -1640.0 | 8.0625 | 6.0312 |
|
99 |
+
| 0.0163 | 2.9319 | 2800 | 1.5703 | -13.1875 | -14.6875 | 0.5898 | 1.5 | -1760.0 | -1640.0 | 8.0 | 6.0312 |
|
100 |
|
101 |
|
102 |
### Framework versions
|
all_results.json
CHANGED
@@ -1,9 +1,22 @@
|
|
1 |
{
|
2 |
"epoch": 3.0,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"total_flos": 0.0,
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 61119,
|
7 |
-
"train_samples_per_second": 14.
|
8 |
"train_steps_per_second": 0.227
|
9 |
}
|
|
|
1 |
{
|
2 |
"epoch": 3.0,
|
3 |
+
"eval_logits/chosen": 0.53125,
|
4 |
+
"eval_logits/rejected": 2.40625,
|
5 |
+
"eval_logps/chosen": -1632.0,
|
6 |
+
"eval_logps/rejected": -1728.0,
|
7 |
+
"eval_loss": 1.5954219102859497,
|
8 |
+
"eval_rewards/accuracies": 0.60546875,
|
9 |
+
"eval_rewards/chosen": -13.125,
|
10 |
+
"eval_rewards/margins": 1.3046875,
|
11 |
+
"eval_rewards/rejected": -14.4375,
|
12 |
+
"eval_runtime": 46.8279,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 42.71,
|
15 |
+
"eval_steps_per_second": 0.683,
|
16 |
"total_flos": 0.0,
|
17 |
+
"train_loss": 0.27230105622692674,
|
18 |
+
"train_runtime": 12616.2292,
|
19 |
"train_samples": 61119,
|
20 |
+
"train_samples_per_second": 14.533,
|
21 |
"train_steps_per_second": 0.227
|
22 |
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_logits/chosen": 0.53125,
|
4 |
+
"eval_logits/rejected": 2.40625,
|
5 |
+
"eval_logps/chosen": -1632.0,
|
6 |
+
"eval_logps/rejected": -1728.0,
|
7 |
+
"eval_loss": 1.5954219102859497,
|
8 |
+
"eval_rewards/accuracies": 0.60546875,
|
9 |
+
"eval_rewards/chosen": -13.125,
|
10 |
+
"eval_rewards/margins": 1.3046875,
|
11 |
+
"eval_rewards/rejected": -14.4375,
|
12 |
+
"eval_runtime": 46.8279,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 42.71,
|
15 |
+
"eval_steps_per_second": 0.683
|
16 |
+
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 2159808696
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:21670fe06ce3aa8d2e6bf2fd073f536f60f474a108bdf2afaada591e3297982b
|
3 |
size 2159808696
|
runs/Oct05_06-10-41_xe8545-a100-14/events.out.tfevents.1728114897.xe8545-a100-14.957316.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9744ee6e45130ec88ac281a55659c8406be289a443c5126b4690febb197445c9
|
3 |
+
size 828
|
runs/Oct06_14-30-18_xe8545-a100-22/events.out.tfevents.1728218423.xe8545-a100-22.2422281.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9529b1e99fb367ab84445ab28666e76311f93d4cd35c4342e6fbaace9271134f
|
3 |
+
size 230886
|
train_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
"epoch": 3.0,
|
3 |
"total_flos": 0.0,
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 61119,
|
7 |
-
"train_samples_per_second": 14.
|
8 |
"train_steps_per_second": 0.227
|
9 |
}
|
|
|
1 |
{
|
2 |
"epoch": 3.0,
|
3 |
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.27230105622692674,
|
5 |
+
"train_runtime": 12616.2292,
|
6 |
"train_samples": 61119,
|
7 |
+
"train_samples_per_second": 14.533,
|
8 |
"train_steps_per_second": 0.227
|
9 |
}
|
trainer_state.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 7672
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:dbd3173082e109bde939d1add2fe75f094a12ea0232ad4b3ed9313a57e7e5a80
|
3 |
size 7672
|