CharlesLi commited on
Commit
53b0e31
1 Parent(s): 09e373e

Model save

Browse files
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.8180
20
- - Rewards/chosen: -14.9375
21
- - Rewards/rejected: -17.25
22
- - Rewards/accuracies: 0.6270
23
- - Rewards/margins: 2.3125
24
- - Logps/rejected: -2016.0
25
- - Logps/chosen: -1816.0
26
- - Logits/rejected: 1.4375
27
- - Logits/chosen: -0.3125
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.5108 | 0.1047 | 100 | 0.6708 | -1.2344 | -1.4531 | 0.6094 | 0.2178 | -434.0 | -442.0 | -10.375 | -10.8125 |
65
- | 0.4452 | 0.2094 | 200 | 0.7220 | -2.8281 | -3.2812 | 0.6172 | 0.4434 | -616.0 | -600.0 | -9.625 | -10.1875 |
66
- | 0.4197 | 0.3141 | 300 | 0.7966 | -3.9844 | -4.5938 | 0.6055 | 0.6133 | -748.0 | -716.0 | -7.5 | -8.375 |
67
- | 0.4624 | 0.4188 | 400 | 0.7233 | -3.5625 | -4.0625 | 0.6055 | 0.4941 | -692.0 | -676.0 | -11.3125 | -12.3125 |
68
- | 0.373 | 0.5236 | 500 | 0.8017 | -4.5 | -5.1875 | 0.6270 | 0.6758 | -808.0 | -768.0 | -7.3125 | -8.6875 |
69
- | 0.418 | 0.6283 | 600 | 0.8381 | -4.4688 | -5.2812 | 0.6133 | 0.7812 | -816.0 | -768.0 | -9.8125 | -11.0 |
70
- | 0.4 | 0.7330 | 700 | 0.7900 | -4.3125 | -5.125 | 0.6465 | 0.8008 | -800.0 | -752.0 | -10.75 | -11.6875 |
71
- | 0.384 | 0.8377 | 800 | 0.8198 | -5.25 | -6.0312 | 0.6367 | 0.7773 | -892.0 | -844.0 | -7.2188 | -8.6875 |
72
- | 0.3594 | 0.9424 | 900 | 1.0285 | -7.25 | -8.4375 | 0.6289 | 1.1719 | -1128.0 | -1040.0 | -5.7188 | -7.0938 |
73
- | 0.0833 | 1.0471 | 1000 | 1.1501 | -9.25 | -10.375 | 0.6055 | 1.1562 | -1328.0 | -1240.0 | -2.5781 | -4.0938 |
74
- | 0.0953 | 1.1518 | 1100 | 1.2000 | -9.5 | -10.75 | 0.5938 | 1.2422 | -1360.0 | -1264.0 | -2.0 | -3.5938 |
75
- | 0.1198 | 1.2565 | 1200 | 1.2179 | -8.5625 | -9.75 | 0.6074 | 1.1641 | -1264.0 | -1176.0 | -2.9375 | -4.9688 |
76
- | 0.1291 | 1.3613 | 1300 | 1.1658 | -8.75 | -10.0625 | 0.6133 | 1.2969 | -1296.0 | -1192.0 | -2.6562 | -4.5938 |
77
- | 0.0877 | 1.4660 | 1400 | 1.1249 | -9.0 | -10.375 | 0.625 | 1.3438 | -1320.0 | -1216.0 | -1.3359 | -3.2969 |
78
- | 0.1044 | 1.5707 | 1500 | 1.1523 | -9.75 | -11.375 | 0.6484 | 1.6328 | -1424.0 | -1296.0 | 0.3184 | -1.5312 |
79
- | 0.0798 | 1.6754 | 1600 | 1.3625 | -11.6875 | -13.375 | 0.6172 | 1.6562 | -1624.0 | -1488.0 | -0.3613 | -2.2344 |
80
- | 0.0847 | 1.7801 | 1700 | 1.3074 | -12.25 | -13.6875 | 0.6211 | 1.4375 | -1656.0 | -1544.0 | 0.5781 | -1.0938 |
81
- | 0.1018 | 1.8848 | 1800 | 1.1160 | -9.4375 | -10.8125 | 0.6387 | 1.4219 | -1376.0 | -1264.0 | -1.4219 | -3.3125 |
82
- | 0.0649 | 1.9895 | 1900 | 1.3142 | -10.75 | -12.4375 | 0.6211 | 1.6797 | -1536.0 | -1392.0 | -1.0312 | -3.0469 |
83
- | 0.0155 | 2.0942 | 2000 | 1.7397 | -14.4375 | -16.5 | 0.6309 | 2.0781 | -1944.0 | -1768.0 | 0.6602 | -1.1641 |
84
- | 0.0091 | 2.1990 | 2100 | 1.7227 | -14.0 | -16.125 | 0.625 | 2.1562 | -1904.0 | -1720.0 | 0.5039 | -1.3672 |
85
- | 0.0101 | 2.3037 | 2200 | 1.8446 | -15.0625 | -17.25 | 0.6406 | 2.2344 | -2016.0 | -1824.0 | 0.9844 | -0.8359 |
86
- | 0.0145 | 2.4084 | 2300 | 1.7911 | -14.5 | -16.75 | 0.6289 | 2.2656 | -1968.0 | -1768.0 | 1.1719 | -0.6680 |
87
- | 0.0114 | 2.5131 | 2400 | 1.7978 | -14.75 | -17.0 | 0.6270 | 2.2812 | -1992.0 | -1792.0 | 1.2344 | -0.5430 |
88
- | 0.012 | 2.6178 | 2500 | 1.7940 | -14.6875 | -17.0 | 0.6309 | 2.2812 | -1984.0 | -1784.0 | 1.2656 | -0.5234 |
89
- | 0.0075 | 2.7225 | 2600 | 1.8009 | -14.75 | -17.0 | 0.6309 | 2.2656 | -1992.0 | -1792.0 | 1.3594 | -0.4062 |
90
- | 0.0142 | 2.8272 | 2700 | 1.8148 | -14.9375 | -17.25 | 0.6309 | 2.2969 | -2016.0 | -1816.0 | 1.4453 | -0.3027 |
91
- | 0.0102 | 2.9319 | 2800 | 1.8180 | -14.9375 | -17.25 | 0.6270 | 2.3125 | -2016.0 | -1816.0 | 1.4375 | -0.3125 |
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.17683555641411486,
5
- "train_runtime": 12375.7398,
6
  "train_samples": 61119,
7
- "train_samples_per_second": 14.816,
8
- "train_steps_per_second": 0.232
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:3af7b92d5a73b7001c327515eef3f001bfd5c0276b9dafe803ba130f4151b35f
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.17683555641411486,
5
- "train_runtime": 12375.7398,
6
  "train_samples": 61119,
7
- "train_samples_per_second": 14.816,
8
- "train_steps_per_second": 0.232
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:cd15e28f5000cd841bdc29870054528ec894efeb7c92d63b797b46a47af74062
3
  size 7672
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4588f8ba7518a00b845fa04e6b538633fac32f501b7a5170f937b77a48ccb7c9
3
  size 7672