Model save
Browse files- README.md +38 -37
- all_results.json +17 -4
- eval_results.json +16 -0
- model.safetensors +1 -1
- runs/Oct05_14-24-10_xe8545-a100-14/events.out.tfevents.1728144323.xe8545-a100-14.964085.1 +3 -0
- runs/Oct06_22-40-26_xe8545-a100-22/events.out.tfevents.1728247840.xe8545-a100-22.2429082.0 +3 -0
- train_results.json +4 -4
- 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-8-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: -
|
21 |
-
- Rewards/rejected: -
|
22 |
-
- Rewards/accuracies: 0.
|
23 |
-
- Rewards/margins: 2.
|
24 |
-
- Logps/rejected: -
|
25 |
-
- Logps/chosen: -
|
26 |
-
- Logits/rejected: 1.
|
27 |
-
- Logits/chosen:
|
28 |
|
29 |
## Model description
|
30 |
|
@@ -61,34 +62,34 @@ 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 |
|
93 |
|
94 |
### 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-8-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.7073
|
21 |
+
- Rewards/chosen: -13.0625
|
22 |
+
- Rewards/rejected: -15.125
|
23 |
+
- Rewards/accuracies: 0.6289
|
24 |
+
- Rewards/margins: 2.1094
|
25 |
+
- Logps/rejected: -1808.0
|
26 |
+
- Logps/chosen: -1624.0
|
27 |
+
- Logits/rejected: 1.7188
|
28 |
+
- Logits/chosen: 0.1670
|
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.5172 | 0.1047 | 100 | 0.6643 | -1.3984 | -1.6016 | 0.5840 | 0.2109 | -450.0 | -458.0 | -9.875 | -10.3125 |
|
66 |
+
| 0.4478 | 0.2094 | 200 | 0.7485 | -3.0 | -3.4688 | 0.5996 | 0.4727 | -636.0 | -620.0 | -9.25 | -9.75 |
|
67 |
+
| 0.4548 | 0.3141 | 300 | 0.8017 | -3.2031 | -3.6406 | 0.5586 | 0.4395 | -652.0 | -640.0 | -8.25 | -9.0625 |
|
68 |
+
| 0.4474 | 0.4188 | 400 | 0.7341 | -3.1875 | -3.75 | 0.6270 | 0.5625 | -664.0 | -636.0 | -9.125 | -10.0625 |
|
69 |
+
| 0.398 | 0.5236 | 500 | 0.8245 | -3.7344 | -4.4688 | 0.6367 | 0.7266 | -736.0 | -692.0 | -6.6875 | -8.125 |
|
70 |
+
| 0.4063 | 0.6283 | 600 | 0.8894 | -5.375 | -6.2188 | 0.6172 | 0.8477 | -912.0 | -856.0 | -8.0625 | -9.1875 |
|
71 |
+
| 0.3877 | 0.7330 | 700 | 0.8034 | -4.5 | -5.4688 | 0.6406 | 0.9453 | -836.0 | -768.0 | -5.5938 | -7.125 |
|
72 |
+
| 0.4087 | 0.8377 | 800 | 0.7859 | -4.9688 | -5.75 | 0.6113 | 0.7930 | -864.0 | -816.0 | -4.375 | -5.8438 |
|
73 |
+
| 0.3409 | 0.9424 | 900 | 0.9967 | -7.4688 | -8.6875 | 0.625 | 1.2031 | -1160.0 | -1064.0 | -2.8594 | -4.3125 |
|
74 |
+
| 0.095 | 1.0471 | 1000 | 1.2728 | -6.9375 | -8.25 | 0.5996 | 1.3047 | -1112.0 | -1012.0 | -4.5625 | -6.2188 |
|
75 |
+
| 0.0768 | 1.1518 | 1100 | 1.4990 | -10.375 | -11.9375 | 0.5977 | 1.5625 | -1480.0 | -1352.0 | -0.8711 | -2.4688 |
|
76 |
+
| 0.1176 | 1.2565 | 1200 | 1.0659 | -6.4688 | -7.5 | 0.6113 | 1.0312 | -1040.0 | -964.0 | -1.0391 | -2.5781 |
|
77 |
+
| 0.0885 | 1.3613 | 1300 | 1.1804 | -7.375 | -8.75 | 0.6172 | 1.3672 | -1160.0 | -1056.0 | -2.6562 | -4.2812 |
|
78 |
+
| 0.0942 | 1.4660 | 1400 | 1.1682 | -8.8125 | -10.3125 | 0.6074 | 1.5 | -1320.0 | -1200.0 | 0.0698 | -1.4531 |
|
79 |
+
| 0.1054 | 1.5707 | 1500 | 1.0602 | -7.1875 | -8.6875 | 0.6348 | 1.5078 | -1160.0 | -1040.0 | -0.0232 | -1.6719 |
|
80 |
+
| 0.0799 | 1.6754 | 1600 | 1.1262 | -8.4375 | -9.875 | 0.6387 | 1.4453 | -1272.0 | -1160.0 | 0.6484 | -1.0391 |
|
81 |
+
| 0.0894 | 1.7801 | 1700 | 1.1620 | -8.6875 | -10.1875 | 0.6367 | 1.5234 | -1304.0 | -1184.0 | -0.6094 | -2.125 |
|
82 |
+
| 0.1011 | 1.8848 | 1800 | 1.0582 | -7.7812 | -9.1875 | 0.6445 | 1.3984 | -1208.0 | -1096.0 | -0.2539 | -1.7891 |
|
83 |
+
| 0.068 | 1.9895 | 1900 | 1.2470 | -9.25 | -10.8125 | 0.6367 | 1.5625 | -1368.0 | -1248.0 | 0.5078 | -1.0625 |
|
84 |
+
| 0.0203 | 2.0942 | 2000 | 1.5382 | -11.875 | -13.625 | 0.6211 | 1.7266 | -1648.0 | -1504.0 | 1.3828 | -0.1348 |
|
85 |
+
| 0.033 | 2.1990 | 2100 | 1.6683 | -12.25 | -14.3125 | 0.6367 | 2.0625 | -1720.0 | -1544.0 | 1.3359 | -0.2432 |
|
86 |
+
| 0.0123 | 2.3037 | 2200 | 1.6836 | -13.0 | -15.0 | 0.6289 | 2.0312 | -1792.0 | -1616.0 | 1.6641 | 0.1426 |
|
87 |
+
| 0.0123 | 2.4084 | 2300 | 1.7316 | -13.375 | -15.5625 | 0.6270 | 2.2031 | -1848.0 | -1656.0 | 1.75 | 0.1934 |
|
88 |
+
| 0.0167 | 2.5131 | 2400 | 1.6171 | -11.8125 | -13.8125 | 0.6309 | 2.0312 | -1672.0 | -1496.0 | 1.4688 | -0.1260 |
|
89 |
+
| 0.0138 | 2.6178 | 2500 | 1.7572 | -13.4375 | -15.625 | 0.6270 | 2.1406 | -1848.0 | -1664.0 | 1.75 | 0.2041 |
|
90 |
+
| 0.0097 | 2.7225 | 2600 | 1.6906 | -12.9375 | -15.0625 | 0.6230 | 2.1094 | -1792.0 | -1616.0 | 1.7031 | 0.1445 |
|
91 |
+
| 0.0149 | 2.8272 | 2700 | 1.7064 | -13.125 | -15.25 | 0.6289 | 2.1094 | -1808.0 | -1632.0 | 1.7344 | 0.1836 |
|
92 |
+
| 0.0092 | 2.9319 | 2800 | 1.7073 | -13.0625 | -15.125 | 0.6289 | 2.1094 | -1808.0 | -1624.0 | 1.7188 | 0.1670 |
|
93 |
|
94 |
|
95 |
### 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":
|
8 |
-
"train_steps_per_second": 0.
|
9 |
}
|
|
|
1 |
{
|
2 |
"epoch": 3.0,
|
3 |
+
"eval_logits/chosen": -0.31640625,
|
4 |
+
"eval_logits/rejected": 1.4375,
|
5 |
+
"eval_logps/chosen": -1816.0,
|
6 |
+
"eval_logps/rejected": -2016.0,
|
7 |
+
"eval_loss": 1.8165313005447388,
|
8 |
+
"eval_rewards/accuracies": 0.625,
|
9 |
+
"eval_rewards/chosen": -15.0,
|
10 |
+
"eval_rewards/margins": 2.3125,
|
11 |
+
"eval_rewards/rejected": -17.25,
|
12 |
+
"eval_runtime": 46.8679,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 42.673,
|
15 |
+
"eval_steps_per_second": 0.683,
|
16 |
"total_flos": 0.0,
|
17 |
+
"train_loss": 0.17899337792687808,
|
18 |
+
"train_runtime": 12124.1231,
|
19 |
"train_samples": 61119,
|
20 |
+
"train_samples_per_second": 15.123,
|
21 |
+
"train_steps_per_second": 0.236
|
22 |
}
|
eval_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_logits/chosen": -0.31640625,
|
4 |
+
"eval_logits/rejected": 1.4375,
|
5 |
+
"eval_logps/chosen": -1816.0,
|
6 |
+
"eval_logps/rejected": -2016.0,
|
7 |
+
"eval_loss": 1.8165313005447388,
|
8 |
+
"eval_rewards/accuracies": 0.625,
|
9 |
+
"eval_rewards/chosen": -15.0,
|
10 |
+
"eval_rewards/margins": 2.3125,
|
11 |
+
"eval_rewards/rejected": -17.25,
|
12 |
+
"eval_runtime": 46.8679,
|
13 |
+
"eval_samples": 2000,
|
14 |
+
"eval_samples_per_second": 42.673,
|
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:f3cdb594048df8d598dce5133b155664b09b2223836d3dbef235c5a234bdb552
|
3 |
size 2159808696
|
runs/Oct05_14-24-10_xe8545-a100-14/events.out.tfevents.1728144323.xe8545-a100-14.964085.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4e82eeeeff635619546a92d8efa568fd5828c65fc8314425edcaba655a3c8a51
|
3 |
+
size 828
|
runs/Oct06_22-40-26_xe8545-a100-22/events.out.tfevents.1728247840.xe8545-a100-22.2429082.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6f0d9d7edd4a45dd9a28633bb016eb92a6a9443d9e0ac08a168e37a293dbef9e
|
3 |
+
size 225707
|
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":
|
8 |
-
"train_steps_per_second": 0.
|
9 |
}
|
|
|
1 |
{
|
2 |
"epoch": 3.0,
|
3 |
"total_flos": 0.0,
|
4 |
+
"train_loss": 0.17899337792687808,
|
5 |
+
"train_runtime": 12124.1231,
|
6 |
"train_samples": 61119,
|
7 |
+
"train_samples_per_second": 15.123,
|
8 |
+
"train_steps_per_second": 0.236
|
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:4588f8ba7518a00b845fa04e6b538633fac32f501b7a5170f937b77a48ccb7c9
|
3 |
size 7672
|