w05230505 commited on
Commit
f9ea9ff
1 Parent(s): a704f8d

End of training

Browse files
Files changed (5) hide show
  1. README.md +19 -4
  2. all_results.json +22 -0
  3. eval_results.json +16 -0
  4. train_results.json +9 -0
  5. trainer_state.json +90 -0
README.md CHANGED
@@ -1,14 +1,29 @@
1
  ---
2
  library_name: transformers
 
 
3
  license: apache-2.0
4
  base_model: bert-base-uncased
5
  tags:
6
  - generated_from_trainer
 
 
7
  metrics:
8
  - accuracy
9
  model-index:
10
  - name: bert-base-uncased-finetuned-mnli
11
- results: []
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -16,10 +31,10 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # bert-base-uncased-finetuned-mnli
18
 
19
- This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.5565
22
- - Accuracy: 0.8469
23
 
24
  ## Model description
25
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  license: apache-2.0
6
  base_model: bert-base-uncased
7
  tags:
8
  - generated_from_trainer
9
+ datasets:
10
+ - glue
11
  metrics:
12
  - accuracy
13
  model-index:
14
  - name: bert-base-uncased-finetuned-mnli
15
+ results:
16
+ - task:
17
+ name: Text Classification
18
+ type: text-classification
19
+ dataset:
20
+ name: GLUE MNLI
21
+ type: glue
22
+ args: mnli
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.8474369406021155
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
31
 
32
  # bert-base-uncased-finetuned-mnli
33
 
34
+ This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the GLUE MNLI dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.5520
37
+ - Accuracy: 0.8474
38
 
39
  ## Model description
40
 
all_results.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "epoch_mm": 3.0,
4
+ "eval_accuracy": 0.8468670402445236,
5
+ "eval_accuracy_mm": 0.8474369406021155,
6
+ "eval_loss": 0.5565051436424255,
7
+ "eval_loss_mm": 0.5519542098045349,
8
+ "eval_runtime": 41.7413,
9
+ "eval_runtime_mm": 41.6975,
10
+ "eval_samples": 9815,
11
+ "eval_samples_mm": 9832,
12
+ "eval_samples_per_second": 235.139,
13
+ "eval_samples_per_second_mm": 235.793,
14
+ "eval_steps_per_second": 29.395,
15
+ "eval_steps_per_second_mm": 29.474,
16
+ "total_flos": 3.099754961058632e+17,
17
+ "train_loss": 0.3580092687494907,
18
+ "train_runtime": 14713.385,
19
+ "train_samples": 392702,
20
+ "train_samples_per_second": 80.07,
21
+ "train_steps_per_second": 5.004
22
+ }
eval_results.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "epoch_mm": 3.0,
4
+ "eval_accuracy": 0.8468670402445236,
5
+ "eval_accuracy_mm": 0.8474369406021155,
6
+ "eval_loss": 0.5565051436424255,
7
+ "eval_loss_mm": 0.5519542098045349,
8
+ "eval_runtime": 41.7413,
9
+ "eval_runtime_mm": 41.6975,
10
+ "eval_samples": 9815,
11
+ "eval_samples_mm": 9832,
12
+ "eval_samples_per_second": 235.139,
13
+ "eval_samples_per_second_mm": 235.793,
14
+ "eval_steps_per_second": 29.395,
15
+ "eval_steps_per_second_mm": 29.474
16
+ }
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 3.0,
3
+ "total_flos": 3.099754961058632e+17,
4
+ "train_loss": 0.3580092687494907,
5
+ "train_runtime": 14713.385,
6
+ "train_samples": 392702,
7
+ "train_samples_per_second": 80.07,
8
+ "train_steps_per_second": 5.004
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": null,
3
+ "best_model_checkpoint": null,
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 73632,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 1.0,
13
+ "grad_norm": 11.612536430358887,
14
+ "learning_rate": 1.3333333333333333e-05,
15
+ "loss": 0.5193,
16
+ "step": 24544
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.8372898624554254,
21
+ "eval_loss": 0.4270987808704376,
22
+ "eval_runtime": 41.8372,
23
+ "eval_samples_per_second": 234.6,
24
+ "eval_steps_per_second": 29.328,
25
+ "step": 24544
26
+ },
27
+ {
28
+ "epoch": 2.0,
29
+ "grad_norm": 2.1507811546325684,
30
+ "learning_rate": 6.666666666666667e-06,
31
+ "loss": 0.3333,
32
+ "step": 49088
33
+ },
34
+ {
35
+ "epoch": 2.0,
36
+ "eval_accuracy": 0.8451349974528782,
37
+ "eval_loss": 0.4371325969696045,
38
+ "eval_runtime": 41.4112,
39
+ "eval_samples_per_second": 237.013,
40
+ "eval_steps_per_second": 29.63,
41
+ "step": 49088
42
+ },
43
+ {
44
+ "epoch": 3.0,
45
+ "grad_norm": 17.64081573486328,
46
+ "learning_rate": 0.0,
47
+ "loss": 0.2214,
48
+ "step": 73632
49
+ },
50
+ {
51
+ "epoch": 3.0,
52
+ "eval_accuracy": 0.8468670402445236,
53
+ "eval_loss": 0.5565051436424255,
54
+ "eval_runtime": 41.8267,
55
+ "eval_samples_per_second": 234.659,
56
+ "eval_steps_per_second": 29.335,
57
+ "step": 73632
58
+ },
59
+ {
60
+ "epoch": 3.0,
61
+ "step": 73632,
62
+ "total_flos": 3.099754961058632e+17,
63
+ "train_loss": 0.3580092687494907,
64
+ "train_runtime": 14713.385,
65
+ "train_samples_per_second": 80.07,
66
+ "train_steps_per_second": 5.004
67
+ }
68
+ ],
69
+ "logging_steps": 500,
70
+ "max_steps": 73632,
71
+ "num_input_tokens_seen": 0,
72
+ "num_train_epochs": 3,
73
+ "save_steps": 500,
74
+ "stateful_callbacks": {
75
+ "TrainerControl": {
76
+ "args": {
77
+ "should_epoch_stop": false,
78
+ "should_evaluate": false,
79
+ "should_log": false,
80
+ "should_save": true,
81
+ "should_training_stop": true
82
+ },
83
+ "attributes": {}
84
+ }
85
+ },
86
+ "total_flos": 3.099754961058632e+17,
87
+ "train_batch_size": 16,
88
+ "trial_name": null,
89
+ "trial_params": null
90
+ }