CharlesLi commited on
Commit
09e373e
1 Parent(s): 0f2e23b

Model save

Browse files
README.md CHANGED
@@ -16,15 +16,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.8053
20
- - Rewards/chosen: -14.375
21
- - Rewards/rejected: -16.625
22
- - Rewards/accuracies: 0.6094
23
- - Rewards/margins: 2.2656
24
- - Logps/rejected: -1952.0
25
- - Logps/chosen: -1752.0
26
- - Logits/rejected: 2.8281
27
- - Logits/chosen: 1.2578
28
 
29
  ## Model description
30
 
@@ -61,39 +61,39 @@ 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.5081 | 0.1047 | 100 | 0.6820 | -1.1406 | -1.3438 | 0.5977 | 0.2031 | -424.0 | -432.0 | -9.75 | -10.1875 |
65
- | 0.4521 | 0.2094 | 200 | 0.7579 | -2.8906 | -3.4219 | 0.6465 | 0.5312 | -632.0 | -608.0 | -7.25 | -8.0625 |
66
- | 0.4267 | 0.3141 | 300 | 0.7476 | -2.4531 | -2.9688 | 0.5859 | 0.5156 | -584.0 | -564.0 | -13.875 | -14.0 |
67
- | 0.4431 | 0.4188 | 400 | 0.7253 | -2.8125 | -3.2812 | 0.625 | 0.4785 | -616.0 | -600.0 | -12.5 | -13.25 |
68
- | 0.3779 | 0.5236 | 500 | 0.9411 | -6.125 | -6.9375 | 0.6113 | 0.8164 | -984.0 | -932.0 | -5.0312 | -6.1875 |
69
- | 0.404 | 0.6283 | 600 | 0.8501 | -5.2188 | -6.0625 | 0.6152 | 0.8359 | -892.0 | -840.0 | -11.6875 | -12.875 |
70
- | 0.3834 | 0.7330 | 700 | 0.8127 | -4.25 | -5.2188 | 0.6270 | 0.9609 | -808.0 | -744.0 | -7.1562 | -8.625 |
71
- | 0.3763 | 0.8377 | 800 | 0.8067 | -4.5625 | -5.4062 | 0.6660 | 0.8516 | -828.0 | -772.0 | -5.1562 | -6.8438 |
72
- | 0.3462 | 0.9424 | 900 | 0.8712 | -5.0625 | -6.0312 | 0.6172 | 0.9805 | -892.0 | -824.0 | -3.7031 | -5.4375 |
73
- | 0.0835 | 1.0471 | 1000 | 1.1523 | -7.9375 | -9.3125 | 0.6074 | 1.3828 | -1216.0 | -1112.0 | -3.2188 | -5.125 |
74
- | 0.0895 | 1.1518 | 1100 | 1.3590 | -8.6875 | -10.0 | 0.5898 | 1.3281 | -1288.0 | -1184.0 | -4.375 | -6.375 |
75
- | 0.1146 | 1.2565 | 1200 | 1.2844 | -8.3125 | -9.5625 | 0.6055 | 1.2734 | -1248.0 | -1144.0 | 0.7070 | -1.0859 |
76
- | 0.102 | 1.3613 | 1300 | 1.1325 | -8.1875 | -9.4375 | 0.6074 | 1.2812 | -1232.0 | -1136.0 | -2.0938 | -4.0625 |
77
- | 0.0893 | 1.4660 | 1400 | 1.0034 | -7.75 | -9.0 | 0.6309 | 1.2344 | -1184.0 | -1096.0 | -1.7656 | -3.7344 |
78
- | 0.0968 | 1.5707 | 1500 | 1.2212 | -9.625 | -11.25 | 0.5957 | 1.625 | -1416.0 | -1280.0 | -1.1016 | -3.0625 |
79
- | 0.082 | 1.6754 | 1600 | 1.2544 | -10.875 | -12.375 | 0.6055 | 1.5156 | -1528.0 | -1408.0 | 1.4609 | -0.2871 |
80
- | 0.0972 | 1.7801 | 1700 | 1.1152 | -8.875 | -10.3125 | 0.6055 | 1.4219 | -1320.0 | -1208.0 | -0.2949 | -1.9844 |
81
- | 0.1053 | 1.8848 | 1800 | 1.0634 | -7.6875 | -9.125 | 0.6230 | 1.4375 | -1200.0 | -1088.0 | 0.6055 | -1.2656 |
82
- | 0.0543 | 1.9895 | 1900 | 1.3391 | -10.625 | -12.25 | 0.6328 | 1.625 | -1512.0 | -1384.0 | 1.1953 | -0.5391 |
83
- | 0.0139 | 2.0942 | 2000 | 1.6984 | -12.8125 | -14.8125 | 0.6055 | 1.9922 | -1768.0 | -1600.0 | 1.6562 | -0.1348 |
84
- | 0.0268 | 2.1990 | 2100 | 1.6732 | -12.8125 | -14.875 | 0.5996 | 2.0469 | -1776.0 | -1600.0 | 2.0938 | 0.4277 |
85
- | 0.0119 | 2.3037 | 2200 | 1.7792 | -13.875 | -16.125 | 0.6191 | 2.2656 | -1904.0 | -1712.0 | 2.6875 | 1.1172 |
86
- | 0.0139 | 2.4084 | 2300 | 1.7628 | -13.5 | -15.75 | 0.6055 | 2.2188 | -1864.0 | -1672.0 | 2.6719 | 1.0625 |
87
- | 0.0106 | 2.5131 | 2400 | 1.8904 | -14.5625 | -16.875 | 0.6035 | 2.3281 | -1976.0 | -1776.0 | 2.8438 | 1.2656 |
88
- | 0.0133 | 2.6178 | 2500 | 1.7945 | -14.125 | -16.375 | 0.6172 | 2.2188 | -1920.0 | -1728.0 | 2.9062 | 1.3438 |
89
- | 0.0065 | 2.7225 | 2600 | 1.7784 | -14.125 | -16.375 | 0.6152 | 2.2344 | -1928.0 | -1728.0 | 2.8125 | 1.2578 |
90
- | 0.0126 | 2.8272 | 2700 | 1.7995 | -14.3125 | -16.625 | 0.6094 | 2.25 | -1944.0 | -1752.0 | 2.8281 | 1.2734 |
91
- | 0.0068 | 2.9319 | 2800 | 1.8053 | -14.375 | -16.625 | 0.6094 | 2.2656 | -1952.0 | -1752.0 | 2.8281 | 1.2578 |
92
 
93
 
94
  ### Framework versions
95
 
96
- - Transformers 4.44.2
97
  - Pytorch 2.3.0
98
- - Datasets 3.0.0
99
- - Tokenizers 0.19.1
 
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
 
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
95
 
96
+ - Transformers 4.45.1
97
  - Pytorch 2.3.0
98
+ - Datasets 3.0.1
99
+ - Tokenizers 0.20.0
all_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "epoch": 3.0,
3
  "total_flos": 0.0,
4
- "train_loss": 0.17591854184865952,
5
- "train_runtime": 12314.0377,
6
  "train_samples": 61119,
7
- "train_samples_per_second": 14.89,
8
- "train_steps_per_second": 0.233
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
  }
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
  }
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:35972b71f74001ad19d47b2b92343fb3057122fb181f3a8e2bc9efd519f3e8ae
3
  size 2159808696
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3af7b92d5a73b7001c327515eef3f001bfd5c0276b9dafe803ba130f4151b35f
3
  size 2159808696
runs/Oct05_14-24-10_xe8545-a100-14/events.out.tfevents.1728131805.xe8545-a100-14.964085.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5f9a6cba5028c783e2d9c0deff933bac951fa0181ac8efde56883675041efcd1
3
+ size 225707
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": 3.0,
3
  "total_flos": 0.0,
4
- "train_loss": 0.17591854184865952,
5
- "train_runtime": 12314.0377,
6
  "train_samples": 61119,
7
- "train_samples_per_second": 14.89,
8
- "train_steps_per_second": 0.233
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
  }
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:a16f8433c483c089e29c42f75a22b1687923f02fda574435698de807b4521b5e
3
- size 7544
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd15e28f5000cd841bdc29870054528ec894efeb7c92d63b797b46a47af74062
3
+ size 7672