gokulsrinivasagan
commited on
End of training
Browse files- README.md +19 -4
- all_results.json +15 -0
- eval_results.json +9 -0
- logs/events.out.tfevents.1733335757.ki-g0008.1764072.23 +3 -0
- train_results.json +9 -0
- trainer_state.json +179 -0
README.md
CHANGED
@@ -1,14 +1,29 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
|
|
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/bert_uncased_L-4_H-128_A-2
|
5 |
tags:
|
6 |
- generated_from_trainer
|
|
|
|
|
7 |
metrics:
|
8 |
- accuracy
|
9 |
model-index:
|
10 |
- name: bert_uncased_L-4_H-128_A-2_qnli
|
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_uncased_L-4_H-128_A-2_qnli
|
18 |
|
19 |
-
This model is a fine-tuned version of [google/bert_uncased_L-4_H-128_A-2](https://huggingface.co/google/bert_uncased_L-4_H-128_A-2) on
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 0.
|
22 |
-
- Accuracy: 0.
|
23 |
|
24 |
## Model description
|
25 |
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
+
language:
|
4 |
+
- en
|
5 |
license: apache-2.0
|
6 |
base_model: google/bert_uncased_L-4_H-128_A-2
|
7 |
tags:
|
8 |
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- glue
|
11 |
metrics:
|
12 |
- accuracy
|
13 |
model-index:
|
14 |
- name: bert_uncased_L-4_H-128_A-2_qnli
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Text Classification
|
18 |
+
type: text-classification
|
19 |
+
dataset:
|
20 |
+
name: GLUE QNLI
|
21 |
+
type: glue
|
22 |
+
args: qnli
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.8121911037891268
|
27 |
---
|
28 |
|
29 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
31 |
|
32 |
# bert_uncased_L-4_H-128_A-2_qnli
|
33 |
|
34 |
+
This model is a fine-tuned version of [google/bert_uncased_L-4_H-128_A-2](https://huggingface.co/google/bert_uncased_L-4_H-128_A-2) on the GLUE QNLI dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.4085
|
37 |
+
- Accuracy: 0.8122
|
38 |
|
39 |
## Model description
|
40 |
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_accuracy": 0.8121911037891268,
|
4 |
+
"eval_loss": 0.4085180163383484,
|
5 |
+
"eval_runtime": 1.8033,
|
6 |
+
"eval_samples": 5463,
|
7 |
+
"eval_samples_per_second": 3029.397,
|
8 |
+
"eval_steps_per_second": 12.2,
|
9 |
+
"total_flos": 1042683134386176.0,
|
10 |
+
"train_loss": 0.4172675435136004,
|
11 |
+
"train_runtime": 366.5213,
|
12 |
+
"train_samples": 104743,
|
13 |
+
"train_samples_per_second": 14288.8,
|
14 |
+
"train_steps_per_second": 55.931
|
15 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_accuracy": 0.8121911037891268,
|
4 |
+
"eval_loss": 0.4085180163383484,
|
5 |
+
"eval_runtime": 1.8033,
|
6 |
+
"eval_samples": 5463,
|
7 |
+
"eval_samples_per_second": 3029.397,
|
8 |
+
"eval_steps_per_second": 12.2
|
9 |
+
}
|
logs/events.out.tfevents.1733335757.ki-g0008.1764072.23
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:74152b1ad941de8e8d16f182b5ba29ba4d3a081ebf7d9ea46f38c3796a8ef7cc
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"total_flos": 1042683134386176.0,
|
4 |
+
"train_loss": 0.4172675435136004,
|
5 |
+
"train_runtime": 366.5213,
|
6 |
+
"train_samples": 104743,
|
7 |
+
"train_samples_per_second": 14288.8,
|
8 |
+
"train_steps_per_second": 55.931
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,179 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.4085180163383484,
|
3 |
+
"best_model_checkpoint": "bert_uncased_L-4_H-128_A-2_qnli/checkpoint-1230",
|
4 |
+
"epoch": 8.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 3280,
|
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": 3.4298832416534424,
|
14 |
+
"learning_rate": 4.9e-05,
|
15 |
+
"loss": 0.5299,
|
16 |
+
"step": 410
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.7730184880102507,
|
21 |
+
"eval_loss": 0.4914644956588745,
|
22 |
+
"eval_runtime": 1.8337,
|
23 |
+
"eval_samples_per_second": 2979.213,
|
24 |
+
"eval_steps_per_second": 11.998,
|
25 |
+
"step": 410
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"grad_norm": 3.848660945892334,
|
30 |
+
"learning_rate": 4.8e-05,
|
31 |
+
"loss": 0.4658,
|
32 |
+
"step": 820
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.8039538714991763,
|
37 |
+
"eval_loss": 0.4280793368816376,
|
38 |
+
"eval_runtime": 1.8382,
|
39 |
+
"eval_samples_per_second": 2971.913,
|
40 |
+
"eval_steps_per_second": 11.968,
|
41 |
+
"step": 820
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.0,
|
45 |
+
"grad_norm": 3.989725351333618,
|
46 |
+
"learning_rate": 4.7e-05,
|
47 |
+
"loss": 0.4407,
|
48 |
+
"step": 1230
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 3.0,
|
52 |
+
"eval_accuracy": 0.8121911037891268,
|
53 |
+
"eval_loss": 0.4085180163383484,
|
54 |
+
"eval_runtime": 1.8098,
|
55 |
+
"eval_samples_per_second": 3018.513,
|
56 |
+
"eval_steps_per_second": 12.156,
|
57 |
+
"step": 1230
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 4.0,
|
61 |
+
"grad_norm": 5.224192142486572,
|
62 |
+
"learning_rate": 4.600000000000001e-05,
|
63 |
+
"loss": 0.4184,
|
64 |
+
"step": 1640
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 4.0,
|
68 |
+
"eval_accuracy": 0.8114589053633535,
|
69 |
+
"eval_loss": 0.4172177016735077,
|
70 |
+
"eval_runtime": 1.8502,
|
71 |
+
"eval_samples_per_second": 2952.647,
|
72 |
+
"eval_steps_per_second": 11.891,
|
73 |
+
"step": 1640
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 5.0,
|
77 |
+
"grad_norm": 4.754832744598389,
|
78 |
+
"learning_rate": 4.5e-05,
|
79 |
+
"loss": 0.3983,
|
80 |
+
"step": 2050
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 5.0,
|
84 |
+
"eval_accuracy": 0.8103606077246934,
|
85 |
+
"eval_loss": 0.4166114330291748,
|
86 |
+
"eval_runtime": 1.8312,
|
87 |
+
"eval_samples_per_second": 2983.233,
|
88 |
+
"eval_steps_per_second": 12.014,
|
89 |
+
"step": 2050
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 6.0,
|
93 |
+
"grad_norm": 4.021646499633789,
|
94 |
+
"learning_rate": 4.4000000000000006e-05,
|
95 |
+
"loss": 0.3799,
|
96 |
+
"step": 2460
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 6.0,
|
100 |
+
"eval_accuracy": 0.8063335163829398,
|
101 |
+
"eval_loss": 0.43288013339042664,
|
102 |
+
"eval_runtime": 1.8894,
|
103 |
+
"eval_samples_per_second": 2891.457,
|
104 |
+
"eval_steps_per_second": 11.644,
|
105 |
+
"step": 2460
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 7.0,
|
109 |
+
"grad_norm": 5.725554943084717,
|
110 |
+
"learning_rate": 4.3e-05,
|
111 |
+
"loss": 0.3614,
|
112 |
+
"step": 2870
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 7.0,
|
116 |
+
"eval_accuracy": 0.8151198974922204,
|
117 |
+
"eval_loss": 0.41815581917762756,
|
118 |
+
"eval_runtime": 1.8448,
|
119 |
+
"eval_samples_per_second": 2961.37,
|
120 |
+
"eval_steps_per_second": 11.926,
|
121 |
+
"step": 2870
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 8.0,
|
125 |
+
"grad_norm": 7.54054594039917,
|
126 |
+
"learning_rate": 4.2e-05,
|
127 |
+
"loss": 0.3438,
|
128 |
+
"step": 3280
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 8.0,
|
132 |
+
"eval_accuracy": 0.8088962108731467,
|
133 |
+
"eval_loss": 0.43782010674476624,
|
134 |
+
"eval_runtime": 1.8321,
|
135 |
+
"eval_samples_per_second": 2981.877,
|
136 |
+
"eval_steps_per_second": 12.008,
|
137 |
+
"step": 3280
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 8.0,
|
141 |
+
"step": 3280,
|
142 |
+
"total_flos": 1042683134386176.0,
|
143 |
+
"train_loss": 0.4172675435136004,
|
144 |
+
"train_runtime": 366.5213,
|
145 |
+
"train_samples_per_second": 14288.8,
|
146 |
+
"train_steps_per_second": 55.931
|
147 |
+
}
|
148 |
+
],
|
149 |
+
"logging_steps": 1,
|
150 |
+
"max_steps": 20500,
|
151 |
+
"num_input_tokens_seen": 0,
|
152 |
+
"num_train_epochs": 50,
|
153 |
+
"save_steps": 500,
|
154 |
+
"stateful_callbacks": {
|
155 |
+
"EarlyStoppingCallback": {
|
156 |
+
"args": {
|
157 |
+
"early_stopping_patience": 5,
|
158 |
+
"early_stopping_threshold": 0.0
|
159 |
+
},
|
160 |
+
"attributes": {
|
161 |
+
"early_stopping_patience_counter": 5
|
162 |
+
}
|
163 |
+
},
|
164 |
+
"TrainerControl": {
|
165 |
+
"args": {
|
166 |
+
"should_epoch_stop": false,
|
167 |
+
"should_evaluate": false,
|
168 |
+
"should_log": false,
|
169 |
+
"should_save": true,
|
170 |
+
"should_training_stop": true
|
171 |
+
},
|
172 |
+
"attributes": {}
|
173 |
+
}
|
174 |
+
},
|
175 |
+
"total_flos": 1042683134386176.0,
|
176 |
+
"train_batch_size": 256,
|
177 |
+
"trial_name": null,
|
178 |
+
"trial_params": null
|
179 |
+
}
|