End of training
Browse files- README.md +20 -2
- all_results.json +17 -0
- eval_results.json +11 -0
- train_results.json +9 -0
- trainer_state.json +96 -0
README.md
CHANGED
@@ -1,15 +1,33 @@
|
|
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 |
- f1
|
10 |
model-index:
|
11 |
- name: bert-base-uncased-finetuned-mrpc
|
12 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
---
|
14 |
|
15 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -17,7 +35,7 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
# bert-base-uncased-finetuned-mrpc
|
19 |
|
20 |
-
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on
|
21 |
It achieves the following results on the evaluation set:
|
22 |
- Loss: 0.4322
|
23 |
- Accuracy: 0.8529
|
|
|
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 |
- f1
|
14 |
model-index:
|
15 |
- name: bert-base-uncased-finetuned-mrpc
|
16 |
+
results:
|
17 |
+
- task:
|
18 |
+
name: Text Classification
|
19 |
+
type: text-classification
|
20 |
+
dataset:
|
21 |
+
name: GLUE MRPC
|
22 |
+
type: glue
|
23 |
+
args: mrpc
|
24 |
+
metrics:
|
25 |
+
- name: Accuracy
|
26 |
+
type: accuracy
|
27 |
+
value: 0.8529411764705882
|
28 |
+
- name: F1
|
29 |
+
type: f1
|
30 |
+
value: 0.8958333333333334
|
31 |
---
|
32 |
|
33 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
35 |
|
36 |
# bert-base-uncased-finetuned-mrpc
|
37 |
|
38 |
+
This model is a fine-tuned version of [bert-base-uncased](https://huggingface.co/bert-base-uncased) on the GLUE MRPC dataset.
|
39 |
It achieves the following results on the evaluation set:
|
40 |
- Loss: 0.4322
|
41 |
- Accuracy: 0.8529
|
all_results.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_accuracy": 0.8529411764705882,
|
4 |
+
"eval_combined_score": 0.8743872549019608,
|
5 |
+
"eval_f1": 0.8958333333333334,
|
6 |
+
"eval_loss": 0.43215397000312805,
|
7 |
+
"eval_runtime": 1.3143,
|
8 |
+
"eval_samples": 408,
|
9 |
+
"eval_samples_per_second": 310.422,
|
10 |
+
"eval_steps_per_second": 38.803,
|
11 |
+
"total_flos": 2895274053181440.0,
|
12 |
+
"train_loss": 0.3542040064714957,
|
13 |
+
"train_runtime": 140.1555,
|
14 |
+
"train_samples": 3668,
|
15 |
+
"train_samples_per_second": 78.513,
|
16 |
+
"train_steps_per_second": 4.923
|
17 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"eval_accuracy": 0.8529411764705882,
|
4 |
+
"eval_combined_score": 0.8743872549019608,
|
5 |
+
"eval_f1": 0.8958333333333334,
|
6 |
+
"eval_loss": 0.43215397000312805,
|
7 |
+
"eval_runtime": 1.3143,
|
8 |
+
"eval_samples": 408,
|
9 |
+
"eval_samples_per_second": 310.422,
|
10 |
+
"eval_steps_per_second": 38.803
|
11 |
+
}
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 3.0,
|
3 |
+
"total_flos": 2895274053181440.0,
|
4 |
+
"train_loss": 0.3542040064714957,
|
5 |
+
"train_runtime": 140.1555,
|
6 |
+
"train_samples": 3668,
|
7 |
+
"train_samples_per_second": 78.513,
|
8 |
+
"train_steps_per_second": 4.923
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": null,
|
3 |
+
"best_model_checkpoint": null,
|
4 |
+
"epoch": 3.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 690,
|
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": 6.811136722564697,
|
14 |
+
"learning_rate": 1.3333333333333333e-05,
|
15 |
+
"loss": 0.5401,
|
16 |
+
"step": 230
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.8357843137254902,
|
21 |
+
"eval_combined_score": 0.8583894925643437,
|
22 |
+
"eval_f1": 0.8809946714031972,
|
23 |
+
"eval_loss": 0.39578330516815186,
|
24 |
+
"eval_runtime": 1.2728,
|
25 |
+
"eval_samples_per_second": 320.554,
|
26 |
+
"eval_steps_per_second": 40.069,
|
27 |
+
"step": 230
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 2.0,
|
31 |
+
"grad_norm": 14.35599136352539,
|
32 |
+
"learning_rate": 6.666666666666667e-06,
|
33 |
+
"loss": 0.3312,
|
34 |
+
"step": 460
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"epoch": 2.0,
|
38 |
+
"eval_accuracy": 0.8431372549019608,
|
39 |
+
"eval_combined_score": 0.8662053056516724,
|
40 |
+
"eval_f1": 0.889273356401384,
|
41 |
+
"eval_loss": 0.3634483516216278,
|
42 |
+
"eval_runtime": 1.2981,
|
43 |
+
"eval_samples_per_second": 314.298,
|
44 |
+
"eval_steps_per_second": 39.287,
|
45 |
+
"step": 460
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 3.0,
|
49 |
+
"grad_norm": 2.680626153945923,
|
50 |
+
"learning_rate": 0.0,
|
51 |
+
"loss": 0.1913,
|
52 |
+
"step": 690
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 3.0,
|
56 |
+
"eval_accuracy": 0.8529411764705882,
|
57 |
+
"eval_combined_score": 0.8743872549019608,
|
58 |
+
"eval_f1": 0.8958333333333334,
|
59 |
+
"eval_loss": 0.43215397000312805,
|
60 |
+
"eval_runtime": 1.3921,
|
61 |
+
"eval_samples_per_second": 293.088,
|
62 |
+
"eval_steps_per_second": 36.636,
|
63 |
+
"step": 690
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 3.0,
|
67 |
+
"step": 690,
|
68 |
+
"total_flos": 2895274053181440.0,
|
69 |
+
"train_loss": 0.3542040064714957,
|
70 |
+
"train_runtime": 140.1555,
|
71 |
+
"train_samples_per_second": 78.513,
|
72 |
+
"train_steps_per_second": 4.923
|
73 |
+
}
|
74 |
+
],
|
75 |
+
"logging_steps": 500,
|
76 |
+
"max_steps": 690,
|
77 |
+
"num_input_tokens_seen": 0,
|
78 |
+
"num_train_epochs": 3,
|
79 |
+
"save_steps": 500,
|
80 |
+
"stateful_callbacks": {
|
81 |
+
"TrainerControl": {
|
82 |
+
"args": {
|
83 |
+
"should_epoch_stop": false,
|
84 |
+
"should_evaluate": false,
|
85 |
+
"should_log": false,
|
86 |
+
"should_save": true,
|
87 |
+
"should_training_stop": true
|
88 |
+
},
|
89 |
+
"attributes": {}
|
90 |
+
}
|
91 |
+
},
|
92 |
+
"total_flos": 2895274053181440.0,
|
93 |
+
"train_batch_size": 16,
|
94 |
+
"trial_name": null,
|
95 |
+
"trial_params": null
|
96 |
+
}
|