CharlesLi commited on
Commit
a81887f
1 Parent(s): d33ba1c

Model save

Browse files
README.md CHANGED
@@ -17,15 +17,15 @@ should probably proofread and complete it, then remove this comment. -->
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.2342
21
  - Rewards/chosen: -6.8438
22
  - Rewards/rejected: -7.25
23
- - Rewards/accuracies: 0.5410
24
- - Rewards/margins: 0.4062
25
- - Logps/rejected: -1016.0
26
  - Logps/chosen: -1004.0
27
- - Logits/rejected: -4.9688
28
- - Logits/chosen: -6.25
29
 
30
  ## Model description
31
 
@@ -62,39 +62,39 @@ The following hyperparameters were used during training:
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.6243 | 0.1047 | 100 | 0.6808 | -0.4668 | -0.5312 | 0.5488 | 0.0625 | -342.0 | -364.0 | -12.1875 | -12.4375 |
66
- | 0.6169 | 0.2093 | 200 | 0.6945 | -0.5977 | -0.6367 | 0.5059 | 0.0393 | -352.0 | -378.0 | -11.1875 | -11.5625 |
67
- | 0.6093 | 0.3140 | 300 | 0.7121 | -0.7305 | -0.7461 | 0.4941 | 0.0176 | -364.0 | -392.0 | -10.5 | -11.0 |
68
- | 0.6477 | 0.4186 | 400 | 0.6795 | -1.7422 | -1.8516 | 0.5488 | 0.1094 | -474.0 | -492.0 | -13.1875 | -13.5625 |
69
- | 0.6297 | 0.5233 | 500 | 0.7219 | -1.6719 | -1.8281 | 0.5430 | 0.1602 | -472.0 | -486.0 | -11.875 | -12.3125 |
70
- | 0.6442 | 0.6279 | 600 | 0.7078 | -1.125 | -1.1484 | 0.5039 | 0.0232 | -404.0 | -432.0 | -9.3125 | -9.75 |
71
- | 0.6076 | 0.7326 | 700 | 0.7151 | -1.1016 | -1.1406 | 0.5312 | 0.0425 | -404.0 | -428.0 | -10.25 | -10.625 |
72
- | 0.6221 | 0.8373 | 800 | 0.7139 | -1.2188 | -1.2891 | 0.5527 | 0.0684 | -418.0 | -440.0 | -12.0 | -12.25 |
73
- | 0.6163 | 0.9419 | 900 | 0.6779 | -1.7031 | -1.8984 | 0.5703 | 0.1914 | -478.0 | -488.0 | -9.375 | -10.0 |
74
- | 0.1598 | 1.0466 | 1000 | 0.8233 | -3.125 | -3.3438 | 0.5645 | 0.2344 | -624.0 | -632.0 | -11.3125 | -12.3125 |
75
- | 0.176 | 1.1512 | 1100 | 0.9250 | -2.9688 | -3.0781 | 0.5176 | 0.1177 | -596.0 | -616.0 | -11.125 | -12.0625 |
76
- | 0.1652 | 1.2559 | 1200 | 0.8757 | -3.75 | -3.9688 | 0.5449 | 0.2305 | -684.0 | -692.0 | -8.4375 | -9.5625 |
77
- | 0.1472 | 1.3605 | 1300 | 0.8840 | -3.4219 | -3.7188 | 0.5488 | 0.2910 | -660.0 | -660.0 | -9.5625 | -10.625 |
78
- | 0.1283 | 1.4652 | 1400 | 0.9069 | -3.9688 | -4.2812 | 0.5449 | 0.3125 | -716.0 | -716.0 | -8.625 | -9.8125 |
79
- | 0.1421 | 1.5699 | 1500 | 0.8969 | -3.625 | -3.9062 | 0.5488 | 0.2832 | -680.0 | -680.0 | -9.5 | -10.4375 |
80
- | 0.1378 | 1.6745 | 1600 | 0.9229 | -4.4062 | -4.75 | 0.5391 | 0.3320 | -764.0 | -760.0 | -8.5625 | -9.5 |
81
- | 0.1541 | 1.7792 | 1700 | 0.8930 | -3.9375 | -4.2812 | 0.5371 | 0.3379 | -716.0 | -712.0 | -8.8125 | -9.8125 |
82
- | 0.1227 | 1.8838 | 1800 | 0.9257 | -4.1875 | -4.5312 | 0.5410 | 0.3457 | -744.0 | -736.0 | -7.3438 | -8.5 |
83
- | 0.1246 | 1.9885 | 1900 | 0.8994 | -4.0938 | -4.375 | 0.5371 | 0.3086 | -728.0 | -728.0 | -8.1875 | -9.1875 |
84
- | 0.0233 | 2.0931 | 2000 | 1.0906 | -5.875 | -6.2188 | 0.5352 | 0.3262 | -912.0 | -908.0 | -6.2188 | -7.4062 |
85
- | 0.0197 | 2.1978 | 2100 | 1.2212 | -6.6875 | -7.0625 | 0.5391 | 0.3574 | -996.0 | -988.0 | -5.9375 | -7.125 |
86
- | 0.0158 | 2.3025 | 2200 | 1.1803 | -6.4062 | -6.8125 | 0.5430 | 0.4102 | -968.0 | -960.0 | -5.75 | -6.9688 |
87
- | 0.016 | 2.4071 | 2300 | 1.2299 | -6.75 | -7.1562 | 0.5410 | 0.3906 | -1004.0 | -996.0 | -5.3125 | -6.5625 |
88
- | 0.0135 | 2.5118 | 2400 | 1.2395 | -7.0312 | -7.4062 | 0.5391 | 0.3906 | -1032.0 | -1020.0 | -4.5625 | -5.8438 |
89
- | 0.0175 | 2.6164 | 2500 | 1.2537 | -6.8125 | -7.1875 | 0.5352 | 0.3867 | -1008.0 | -1000.0 | -4.9062 | -6.1875 |
90
- | 0.0144 | 2.7211 | 2600 | 1.2442 | -6.9375 | -7.3125 | 0.5371 | 0.4043 | -1020.0 | -1012.0 | -4.8125 | -6.0938 |
91
- | 0.0107 | 2.8257 | 2700 | 1.2346 | -6.875 | -7.2812 | 0.5352 | 0.4023 | -1016.0 | -1004.0 | -4.9062 | -6.1875 |
92
- | 0.0206 | 2.9304 | 2800 | 1.2342 | -6.8438 | -7.25 | 0.5410 | 0.4062 | -1016.0 | -1004.0 | -4.9688 | -6.25 |
93
 
94
 
95
  ### Framework versions
96
 
97
- - Transformers 4.44.2
98
  - Pytorch 2.3.0
99
- - Datasets 3.0.0
100
- - Tokenizers 0.19.1
 
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.2575
21
  - Rewards/chosen: -6.8438
22
  - Rewards/rejected: -7.25
23
+ - Rewards/accuracies: 0.5215
24
+ - Rewards/margins: 0.3887
25
+ - Logps/rejected: -1012.0
26
  - Logps/chosen: -1004.0
27
+ - Logits/rejected: -5.0
28
+ - Logits/chosen: -6.125
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.6224 | 0.1047 | 100 | 0.6811 | -0.4375 | -0.4980 | 0.5566 | 0.0618 | -338.0 | -362.0 | -12.25 | -12.5 |
66
+ | 0.624 | 0.2093 | 200 | 0.6957 | -0.8281 | -0.8867 | 0.5176 | 0.0569 | -378.0 | -402.0 | -11.0 | -11.4375 |
67
+ | 0.6062 | 0.3140 | 300 | 0.7007 | -0.5938 | -0.6289 | 0.5078 | 0.0337 | -352.0 | -378.0 | -12.25 | -12.4375 |
68
+ | 0.6334 | 0.4186 | 400 | 0.7011 | -1.2656 | -1.3438 | 0.5176 | 0.0815 | -424.0 | -444.0 | -11.375 | -11.75 |
69
+ | 0.6236 | 0.5233 | 500 | 0.7273 | -1.1172 | -1.1875 | 0.5527 | 0.0659 | -408.0 | -430.0 | -11.4375 | -11.8125 |
70
+ | 0.648 | 0.6279 | 600 | 0.6997 | -1.3438 | -1.3984 | 0.5059 | 0.0508 | -428.0 | -452.0 | -13.75 | -13.625 |
71
+ | 0.6131 | 0.7326 | 700 | 0.7108 | -1.4922 | -1.5312 | 0.5293 | 0.0396 | -442.0 | -468.0 | -12.8125 | -12.625 |
72
+ | 0.621 | 0.8373 | 800 | 0.7204 | -1.3516 | -1.4141 | 0.5371 | 0.0581 | -430.0 | -454.0 | -14.0625 | -14.0625 |
73
+ | 0.6114 | 0.9419 | 900 | 0.7060 | -1.6797 | -1.8125 | 0.5371 | 0.1328 | -470.0 | -486.0 | -13.875 | -13.8125 |
74
+ | 0.1659 | 1.0466 | 1000 | 0.8400 | -2.9688 | -3.2188 | 0.5645 | 0.2520 | -608.0 | -616.0 | -7.5 | -8.5625 |
75
+ | 0.1767 | 1.1512 | 1100 | 0.9194 | -3.0781 | -3.2188 | 0.5156 | 0.1406 | -612.0 | -624.0 | -12.125 | -13.0 |
76
+ | 0.1574 | 1.2559 | 1200 | 0.9110 | -3.8125 | -4.0938 | 0.5332 | 0.2715 | -696.0 | -700.0 | -11.9375 | -12.75 |
77
+ | 0.1637 | 1.3605 | 1300 | 0.8868 | -3.5312 | -3.7656 | 0.5410 | 0.2314 | -664.0 | -672.0 | -11.25 | -12.0 |
78
+ | 0.1275 | 1.4652 | 1400 | 0.9276 | -3.7031 | -3.9844 | 0.5488 | 0.2754 | -688.0 | -688.0 | -9.0625 | -10.1875 |
79
+ | 0.1468 | 1.5699 | 1500 | 0.9168 | -3.9688 | -4.1562 | 0.5352 | 0.1943 | -704.0 | -716.0 | -10.6875 | -11.3125 |
80
+ | 0.1427 | 1.6745 | 1600 | 0.9187 | -4.3125 | -4.5625 | 0.5234 | 0.2656 | -744.0 | -748.0 | -10.125 | -11.0 |
81
+ | 0.1592 | 1.7792 | 1700 | 0.8701 | -4.6875 | -5.0312 | 0.5586 | 0.3516 | -792.0 | -784.0 | -10.4375 | -11.25 |
82
+ | 0.1341 | 1.8838 | 1800 | 0.9226 | -3.9531 | -4.2188 | 0.5391 | 0.2598 | -708.0 | -712.0 | -9.625 | -10.5625 |
83
+ | 0.1366 | 1.9885 | 1900 | 0.9103 | -4.1562 | -4.4375 | 0.5234 | 0.2754 | -732.0 | -736.0 | -9.9375 | -10.75 |
84
+ | 0.026 | 2.0931 | 2000 | 1.0973 | -5.7812 | -6.125 | 0.5254 | 0.3379 | -900.0 | -896.0 | -6.5 | -7.5312 |
85
+ | 0.0178 | 2.1978 | 2100 | 1.1703 | -6.0312 | -6.4375 | 0.5293 | 0.3867 | -932.0 | -924.0 | -6.2188 | -7.2812 |
86
+ | 0.019 | 2.3025 | 2200 | 1.1800 | -6.4062 | -6.8125 | 0.5312 | 0.4004 | -968.0 | -960.0 | -5.9062 | -6.9688 |
87
+ | 0.0173 | 2.4071 | 2300 | 1.1893 | -6.3438 | -6.75 | 0.5293 | 0.3965 | -964.0 | -952.0 | -5.7188 | -6.7812 |
88
+ | 0.0147 | 2.5118 | 2400 | 1.2635 | -6.7188 | -7.125 | 0.5176 | 0.3926 | -1000.0 | -992.0 | -5.375 | -6.4688 |
89
+ | 0.016 | 2.6164 | 2500 | 1.2629 | -6.75 | -7.125 | 0.5195 | 0.375 | -1000.0 | -992.0 | -5.3125 | -6.4062 |
90
+ | 0.0171 | 2.7211 | 2600 | 1.2716 | -6.8438 | -7.2188 | 0.5176 | 0.3809 | -1012.0 | -1004.0 | -5.125 | -6.2188 |
91
+ | 0.0123 | 2.8257 | 2700 | 1.2615 | -6.875 | -7.25 | 0.5195 | 0.3867 | -1016.0 | -1008.0 | -5.0 | -6.0938 |
92
+ | 0.0198 | 2.9304 | 2800 | 1.2575 | -6.8438 | -7.25 | 0.5215 | 0.3887 | -1012.0 | -1004.0 | -5.0 | -6.125 |
93
 
94
 
95
  ### Framework versions
96
 
97
+ - Transformers 4.45.1
98
  - Pytorch 2.3.0
99
+ - Datasets 3.0.1
100
+ - Tokenizers 0.20.0
all_results.json CHANGED
@@ -1,22 +1,22 @@
1
  {
2
  "epoch": 2.998430141287284,
3
- "eval_logits/chosen": -9.0625,
4
- "eval_logits/rejected": -8.0,
5
- "eval_logps/chosen": -1120.0,
6
- "eval_logps/rejected": -1128.0,
7
- "eval_loss": 1.226062536239624,
8
- "eval_rewards/accuracies": 0.541015625,
9
- "eval_rewards/chosen": -8.0,
10
- "eval_rewards/margins": 0.43359375,
11
- "eval_rewards/rejected": -8.4375,
12
- "eval_runtime": 46.4853,
13
  "eval_samples": 2000,
14
- "eval_samples_per_second": 43.024,
15
- "eval_steps_per_second": 0.688,
16
  "total_flos": 0.0,
17
- "train_loss": 0.26546649406509665,
18
- "train_runtime": 12483.6001,
19
  "train_samples": 61122,
20
- "train_samples_per_second": 14.689,
21
- "train_steps_per_second": 0.23
22
  }
 
1
  {
2
  "epoch": 2.998430141287284,
3
+ "eval_logits/chosen": -6.25,
4
+ "eval_logits/rejected": -4.96875,
5
+ "eval_logps/chosen": -1004.0,
6
+ "eval_logps/rejected": -1016.0,
7
+ "eval_loss": 1.2351406812667847,
8
+ "eval_rewards/accuracies": 0.537109375,
9
+ "eval_rewards/chosen": -6.84375,
10
+ "eval_rewards/margins": 0.404296875,
11
+ "eval_rewards/rejected": -7.25,
12
+ "eval_runtime": 46.8468,
13
  "eval_samples": 2000,
14
+ "eval_samples_per_second": 42.692,
15
+ "eval_steps_per_second": 0.683,
16
  "total_flos": 0.0,
17
+ "train_loss": 0.2668540406601591,
18
+ "train_runtime": 12367.4943,
19
  "train_samples": 61122,
20
+ "train_samples_per_second": 14.826,
21
+ "train_steps_per_second": 0.232
22
  }
config.json CHANGED
@@ -6,7 +6,7 @@
6
  ],
7
  "auto_map": {
8
  "AutoConfig": "configuration_openelm.OpenELMConfig",
9
- "AutoModelForCausalLM": "modeling_openelm.OpenELMForCausalLM"
10
  },
11
  "bos_token_id": 1,
12
  "eos_token_id": 2,
@@ -119,7 +119,7 @@
119
  "rope_max_length": 4096,
120
  "share_input_output_layers": true,
121
  "torch_dtype": "bfloat16",
122
- "transformers_version": "4.44.2",
123
  "use_cache": false,
124
  "vocab_size": 32000
125
  }
 
6
  ],
7
  "auto_map": {
8
  "AutoConfig": "configuration_openelm.OpenELMConfig",
9
+ "AutoModelForCausalLM": "apple/OpenELM-1_1B--modeling_openelm.OpenELMForCausalLM"
10
  },
11
  "bos_token_id": 1,
12
  "eos_token_id": 2,
 
119
  "rope_max_length": 4096,
120
  "share_input_output_layers": true,
121
  "torch_dtype": "bfloat16",
122
+ "transformers_version": "4.45.1",
123
  "use_cache": false,
124
  "vocab_size": 32000
125
  }
eval_results.json CHANGED
@@ -1,16 +1,16 @@
1
  {
2
  "epoch": 2.998430141287284,
3
- "eval_logits/chosen": -9.0625,
4
- "eval_logits/rejected": -8.0,
5
- "eval_logps/chosen": -1120.0,
6
- "eval_logps/rejected": -1128.0,
7
- "eval_loss": 1.226062536239624,
8
- "eval_rewards/accuracies": 0.541015625,
9
- "eval_rewards/chosen": -8.0,
10
- "eval_rewards/margins": 0.43359375,
11
- "eval_rewards/rejected": -8.4375,
12
- "eval_runtime": 46.4853,
13
  "eval_samples": 2000,
14
- "eval_samples_per_second": 43.024,
15
- "eval_steps_per_second": 0.688
16
  }
 
1
  {
2
  "epoch": 2.998430141287284,
3
+ "eval_logits/chosen": -6.25,
4
+ "eval_logits/rejected": -4.96875,
5
+ "eval_logps/chosen": -1004.0,
6
+ "eval_logps/rejected": -1016.0,
7
+ "eval_loss": 1.2351406812667847,
8
+ "eval_rewards/accuracies": 0.537109375,
9
+ "eval_rewards/chosen": -6.84375,
10
+ "eval_rewards/margins": 0.404296875,
11
+ "eval_rewards/rejected": -7.25,
12
+ "eval_runtime": 46.8468,
13
  "eval_samples": 2000,
14
+ "eval_samples_per_second": 42.692,
15
+ "eval_steps_per_second": 0.683
16
  }
generation_config.json CHANGED
@@ -2,5 +2,5 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
- "transformers_version": "4.44.2"
6
  }
 
2
  "_from_model_config": true,
3
  "bos_token_id": 1,
4
  "eos_token_id": 2,
5
+ "transformers_version": "4.45.1"
6
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:37fd9a2029f8c1b5e7a195b782017fa3465cc12cdf15e7c8d8b8086b5276151e
3
  size 2159808696
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bac38f1226739ab24edcdc76e097c1290fcf720ff6628c0044d99c01141d9cff
3
  size 2159808696
runs/Oct03_04-15-45_xe8545-a100-04/events.out.tfevents.1727923177.xe8545-a100-04.388097.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0efc18d9aaf3d2a7a064344024b6e8ad17d3cd1429776b97accf70372031f7e0
3
+ size 225695
runs/Sep23_13-28-19_xe8545-a100-17/events.out.tfevents.1727104869.xe8545-a100-17.583452.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfe7593a06d353363294a8611238d2de3bd18ce9be104d25db43a630e0dded87
3
+ size 828
tokenizer.json CHANGED
The diff for this file is too large to render. See raw diff
 
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 2.998430141287284,
3
  "total_flos": 0.0,
4
- "train_loss": 0.26546649406509665,
5
- "train_runtime": 12483.6001,
6
  "train_samples": 61122,
7
- "train_samples_per_second": 14.689,
8
- "train_steps_per_second": 0.23
9
  }
 
1
  {
2
  "epoch": 2.998430141287284,
3
  "total_flos": 0.0,
4
+ "train_loss": 0.2668540406601591,
5
+ "train_runtime": 12367.4943,
6
  "train_samples": 61122,
7
+ "train_samples_per_second": 14.826,
8
+ "train_steps_per_second": 0.232
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:44b7130b1985016f0d28222a5f23c86bacda2591678bd7341a08c3d4201c9ecd
3
- size 7608
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fa6c98f64ecdb248054c474cdd3b5e0d3292da95e29a8476a7629fac3690504
3
+ size 7672