filippo-olivo commited on
Commit
688346b
1 Parent(s): c1f5d12

knowgen/ManuBERT-SequenceClassification

Browse files
README.md CHANGED
@@ -17,8 +17,8 @@ should probably proofread and complete it, then remove this comment. -->
17
 
18
  This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggingface.co/microsoft/deberta-v3-base) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.0347
21
- - Accuracy: 0.9921
22
 
23
  ## Model description
24
 
@@ -38,12 +38,12 @@ More information needed
38
 
39
  The following hyperparameters were used during training:
40
  - learning_rate: 2e-05
41
- - train_batch_size: 64
42
- - eval_batch_size: 32
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
- - num_epochs: 2.0
47
 
48
  ### Training results
49
 
 
17
 
18
  This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggingface.co/microsoft/deberta-v3-base) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
+ - Loss: 0.0378
21
+ - Accuracy: 0.9929
22
 
23
  ## Model description
24
 
 
38
 
39
  The following hyperparameters were used during training:
40
  - learning_rate: 2e-05
41
+ - train_batch_size: 32
42
+ - eval_batch_size: 16
43
  - seed: 42
44
  - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
45
  - lr_scheduler_type: linear
46
+ - num_epochs: 3.0
47
 
48
  ### Training results
49
 
all_results.json CHANGED
@@ -1,14 +1,14 @@
1
  {
2
- "epoch": 2.0,
3
- "eval_accuracy": 0.9921333333333333,
4
- "eval_loss": 0.03474695608019829,
5
- "eval_runtime": 410.5726,
6
  "eval_samples": 60000,
7
- "eval_samples_per_second": 146.137,
8
- "eval_steps_per_second": 4.567,
9
- "train_loss": 0.020007819811503093,
10
- "train_runtime": 9507.2866,
11
  "train_samples": 480000,
12
- "train_samples_per_second": 100.975,
13
- "train_steps_per_second": 1.578
14
  }
 
1
  {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9928666666666667,
4
+ "eval_loss": 0.037820588797330856,
5
+ "eval_runtime": 557.4739,
6
  "eval_samples": 60000,
7
+ "eval_samples_per_second": 107.628,
8
+ "eval_steps_per_second": 6.727,
9
+ "train_loss": 0.0021281812138027613,
10
+ "train_runtime": 4797.7609,
11
  "train_samples": 480000,
12
+ "train_samples_per_second": 300.14,
13
+ "train_steps_per_second": 4.69
14
  }
eval_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 2.0,
3
- "eval_accuracy": 0.9921333333333333,
4
- "eval_loss": 0.03474695608019829,
5
- "eval_runtime": 410.5726,
6
  "eval_samples": 60000,
7
- "eval_samples_per_second": 146.137,
8
- "eval_steps_per_second": 4.567
9
  }
 
1
  {
2
+ "epoch": 3.0,
3
+ "eval_accuracy": 0.9928666666666667,
4
+ "eval_loss": 0.037820588797330856,
5
+ "eval_runtime": 557.4739,
6
  "eval_samples": 60000,
7
+ "eval_samples_per_second": 107.628,
8
+ "eval_steps_per_second": 6.727
9
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b1a84401d5ebf15b9bd0610a1a07447b87d9af5086e8c882f8a7417d063c71f4
3
  size 737719272
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9d5bff70cebd51da34b0021d6a714142ef4f7b02a776fa2b43a8c02a7c589604
3
  size 737719272
tokenizer.json CHANGED
@@ -1,7 +1,21 @@
1
  {
2
  "version": "1.0",
3
- "truncation": null,
4
- "padding": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  "added_tokens": [
6
  {
7
  "id": 0,
 
1
  {
2
  "version": "1.0",
3
+ "truncation": {
4
+ "direction": "Right",
5
+ "max_length": 128,
6
+ "strategy": "LongestFirst",
7
+ "stride": 0
8
+ },
9
+ "padding": {
10
+ "strategy": {
11
+ "Fixed": 128
12
+ },
13
+ "direction": "Right",
14
+ "pad_to_multiple_of": null,
15
+ "pad_id": 0,
16
+ "pad_type_id": 0,
17
+ "pad_token": "[PAD]"
18
+ },
19
  "added_tokens": [
20
  {
21
  "id": 0,
train_results.json CHANGED
@@ -1,8 +1,8 @@
1
  {
2
- "epoch": 2.0,
3
- "train_loss": 0.020007819811503093,
4
- "train_runtime": 9507.2866,
5
  "train_samples": 480000,
6
- "train_samples_per_second": 100.975,
7
- "train_steps_per_second": 1.578
8
  }
 
1
  {
2
+ "epoch": 3.0,
3
+ "train_loss": 0.0021281812138027613,
4
+ "train_runtime": 4797.7609,
5
  "train_samples": 480000,
6
+ "train_samples_per_second": 300.14,
7
+ "train_steps_per_second": 4.69
8
  }
trainer_state.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
- "epoch": 2.0,
5
  "eval_steps": 500,
6
- "global_step": 15000,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
@@ -189,21 +189,111 @@
189
  "step": 15000
190
  },
191
  {
192
- "epoch": 2.0,
193
- "step": 15000,
194
- "total_flos": 1.2629557149696e+17,
195
- "train_loss": 0.020007819811503093,
196
- "train_runtime": 9507.2866,
197
- "train_samples_per_second": 100.975,
198
- "train_steps_per_second": 1.578
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
199
  }
200
  ],
201
  "logging_steps": 500,
202
- "max_steps": 15000,
203
  "num_input_tokens_seen": 0,
204
- "num_train_epochs": 2,
205
  "save_steps": 500,
206
- "total_flos": 1.2629557149696e+17,
207
  "train_batch_size": 64,
208
  "trial_name": null,
209
  "trial_params": null
 
1
  {
2
  "best_metric": null,
3
  "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
  "eval_steps": 500,
6
+ "global_step": 22500,
7
  "is_hyper_param_search": false,
8
  "is_local_process_zero": true,
9
  "is_world_process_zero": true,
 
189
  "step": 15000
190
  },
191
  {
192
+ "epoch": 2.07,
193
+ "learning_rate": 6.222222222222223e-06,
194
+ "loss": 0.0065,
195
+ "step": 15500
196
+ },
197
+ {
198
+ "epoch": 2.13,
199
+ "learning_rate": 5.777777777777778e-06,
200
+ "loss": 0.0075,
201
+ "step": 16000
202
+ },
203
+ {
204
+ "epoch": 2.2,
205
+ "learning_rate": 5.333333333333334e-06,
206
+ "loss": 0.0068,
207
+ "step": 16500
208
+ },
209
+ {
210
+ "epoch": 2.27,
211
+ "learning_rate": 4.888888888888889e-06,
212
+ "loss": 0.008,
213
+ "step": 17000
214
+ },
215
+ {
216
+ "epoch": 2.33,
217
+ "learning_rate": 4.444444444444444e-06,
218
+ "loss": 0.0074,
219
+ "step": 17500
220
+ },
221
+ {
222
+ "epoch": 2.4,
223
+ "learning_rate": 4.000000000000001e-06,
224
+ "loss": 0.0071,
225
+ "step": 18000
226
+ },
227
+ {
228
+ "epoch": 2.47,
229
+ "learning_rate": 3.555555555555556e-06,
230
+ "loss": 0.0076,
231
+ "step": 18500
232
+ },
233
+ {
234
+ "epoch": 2.53,
235
+ "learning_rate": 3.1111111111111116e-06,
236
+ "loss": 0.0057,
237
+ "step": 19000
238
+ },
239
+ {
240
+ "epoch": 2.6,
241
+ "learning_rate": 2.666666666666667e-06,
242
+ "loss": 0.0058,
243
+ "step": 19500
244
+ },
245
+ {
246
+ "epoch": 2.67,
247
+ "learning_rate": 2.222222222222222e-06,
248
+ "loss": 0.0058,
249
+ "step": 20000
250
+ },
251
+ {
252
+ "epoch": 2.73,
253
+ "learning_rate": 1.777777777777778e-06,
254
+ "loss": 0.0066,
255
+ "step": 20500
256
+ },
257
+ {
258
+ "epoch": 2.8,
259
+ "learning_rate": 1.3333333333333334e-06,
260
+ "loss": 0.0063,
261
+ "step": 21000
262
+ },
263
+ {
264
+ "epoch": 2.87,
265
+ "learning_rate": 8.88888888888889e-07,
266
+ "loss": 0.0045,
267
+ "step": 21500
268
+ },
269
+ {
270
+ "epoch": 2.93,
271
+ "learning_rate": 4.444444444444445e-07,
272
+ "loss": 0.0058,
273
+ "step": 22000
274
+ },
275
+ {
276
+ "epoch": 3.0,
277
+ "learning_rate": 0.0,
278
+ "loss": 0.0044,
279
+ "step": 22500
280
+ },
281
+ {
282
+ "epoch": 3.0,
283
+ "step": 22500,
284
+ "total_flos": 1.578694643712e+17,
285
+ "train_loss": 0.0021281812138027613,
286
+ "train_runtime": 4797.7609,
287
+ "train_samples_per_second": 300.14,
288
+ "train_steps_per_second": 4.69
289
  }
290
  ],
291
  "logging_steps": 500,
292
+ "max_steps": 22500,
293
  "num_input_tokens_seen": 0,
294
+ "num_train_epochs": 3,
295
  "save_steps": 500,
296
+ "total_flos": 1.578694643712e+17,
297
  "train_batch_size": 64,
298
  "trial_name": null,
299
  "trial_params": null
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7401efe3d3c5e93ce21e6db161b08470a4eede364cc4ea93cd79288a998f8de8
3
  size 4728
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e61d300b2103b9c085700526bd17373cbe7f9d3f0619de44b50575abb0251062
3
  size 4728