gokulsrinivasagan
commited on
End of training
Browse files- README.md +24 -6
- all_results.json +17 -0
- eval_results.json +11 -0
- logs/events.out.tfevents.1733337689.ki-g0008.1761130.25 +3 -0
- train_results.json +9 -0
- trainer_state.json +195 -0
README.md
CHANGED
@@ -1,15 +1,33 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
|
|
|
|
3 |
license: apache-2.0
|
4 |
base_model: google/bert_uncased_L-4_H-512_A-8
|
5 |
tags:
|
6 |
- generated_from_trainer
|
|
|
|
|
7 |
metrics:
|
8 |
- accuracy
|
9 |
- f1
|
10 |
model-index:
|
11 |
- name: bert_uncased_L-4_H-512_A-8_qqp
|
12 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
---
|
14 |
|
15 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -17,12 +35,12 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
# bert_uncased_L-4_H-512_A-8_qqp
|
19 |
|
20 |
-
This model is a fine-tuned version of [google/bert_uncased_L-4_H-512_A-8](https://huggingface.co/google/bert_uncased_L-4_H-512_A-8) on
|
21 |
It achieves the following results on the evaluation set:
|
22 |
-
- Loss: 0.
|
23 |
-
- Accuracy: 0.
|
24 |
-
- F1: 0.
|
25 |
-
- Combined Score: 0.
|
26 |
|
27 |
## Model description
|
28 |
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
+
language:
|
4 |
+
- en
|
5 |
license: apache-2.0
|
6 |
base_model: google/bert_uncased_L-4_H-512_A-8
|
7 |
tags:
|
8 |
- generated_from_trainer
|
9 |
+
datasets:
|
10 |
+
- glue
|
11 |
metrics:
|
12 |
- accuracy
|
13 |
- f1
|
14 |
model-index:
|
15 |
- name: bert_uncased_L-4_H-512_A-8_qqp
|
16 |
+
results:
|
17 |
+
- task:
|
18 |
+
name: Text Classification
|
19 |
+
type: text-classification
|
20 |
+
dataset:
|
21 |
+
name: GLUE QQP
|
22 |
+
type: glue
|
23 |
+
args: qqp
|
24 |
+
metrics:
|
25 |
+
- name: Accuracy
|
26 |
+
type: accuracy
|
27 |
+
value: 0.8914172644076181
|
28 |
+
- name: F1
|
29 |
+
type: f1
|
30 |
+
value: 0.8539295933985492
|
31 |
---
|
32 |
|
33 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
35 |
|
36 |
# bert_uncased_L-4_H-512_A-8_qqp
|
37 |
|
38 |
+
This model is a fine-tuned version of [google/bert_uncased_L-4_H-512_A-8](https://huggingface.co/google/bert_uncased_L-4_H-512_A-8) on the GLUE QQP dataset.
|
39 |
It achieves the following results on the evaluation set:
|
40 |
+
- Loss: 0.2574
|
41 |
+
- Accuracy: 0.8914
|
42 |
+
- F1: 0.8539
|
43 |
+
- Combined Score: 0.8727
|
44 |
|
45 |
## Model description
|
46 |
|
all_results.json
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_accuracy": 0.8914172644076181,
|
4 |
+
"eval_combined_score": 0.8726734289030837,
|
5 |
+
"eval_f1": 0.8539295933985492,
|
6 |
+
"eval_loss": 0.25741004943847656,
|
7 |
+
"eval_runtime": 15.8992,
|
8 |
+
"eval_samples": 40430,
|
9 |
+
"eval_samples_per_second": 2542.902,
|
10 |
+
"eval_steps_per_second": 9.938,
|
11 |
+
"total_flos": 5.755995899574682e+16,
|
12 |
+
"train_loss": 0.18514271359235762,
|
13 |
+
"train_runtime": 1915.5632,
|
14 |
+
"train_samples": 363846,
|
15 |
+
"train_samples_per_second": 9497.103,
|
16 |
+
"train_steps_per_second": 37.117
|
17 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_accuracy": 0.8914172644076181,
|
4 |
+
"eval_combined_score": 0.8726734289030837,
|
5 |
+
"eval_f1": 0.8539295933985492,
|
6 |
+
"eval_loss": 0.25741004943847656,
|
7 |
+
"eval_runtime": 15.8992,
|
8 |
+
"eval_samples": 40430,
|
9 |
+
"eval_samples_per_second": 2542.902,
|
10 |
+
"eval_steps_per_second": 9.938
|
11 |
+
}
|
logs/events.out.tfevents.1733337689.ki-g0008.1761130.25
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3fdc8284a8277228121285f0e1783a114460688a4e7f1210102b5be0f705a79f
|
3 |
+
size 515
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"total_flos": 5.755995899574682e+16,
|
4 |
+
"train_loss": 0.18514271359235762,
|
5 |
+
"train_runtime": 1915.5632,
|
6 |
+
"train_samples": 363846,
|
7 |
+
"train_samples_per_second": 9497.103,
|
8 |
+
"train_steps_per_second": 37.117
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.25741004943847656,
|
3 |
+
"best_model_checkpoint": "bert_uncased_L-4_H-512_A-8_qqp/checkpoint-4266",
|
4 |
+
"epoch": 8.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 11376,
|
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.9684581756591797,
|
14 |
+
"learning_rate": 4.9e-05,
|
15 |
+
"loss": 0.3551,
|
16 |
+
"step": 1422
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.86928023744744,
|
21 |
+
"eval_combined_score": 0.8435916399310384,
|
22 |
+
"eval_f1": 0.8179030424146366,
|
23 |
+
"eval_loss": 0.2993009090423584,
|
24 |
+
"eval_runtime": 16.3511,
|
25 |
+
"eval_samples_per_second": 2472.617,
|
26 |
+
"eval_steps_per_second": 9.663,
|
27 |
+
"step": 1422
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"epoch": 2.0,
|
31 |
+
"grad_norm": 4.823949813842773,
|
32 |
+
"learning_rate": 4.8e-05,
|
33 |
+
"loss": 0.2662,
|
34 |
+
"step": 2844
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"epoch": 2.0,
|
38 |
+
"eval_accuracy": 0.8841701706653475,
|
39 |
+
"eval_combined_score": 0.8667011633726596,
|
40 |
+
"eval_f1": 0.8492321560799717,
|
41 |
+
"eval_loss": 0.2662528157234192,
|
42 |
+
"eval_runtime": 16.3577,
|
43 |
+
"eval_samples_per_second": 2471.626,
|
44 |
+
"eval_steps_per_second": 9.659,
|
45 |
+
"step": 2844
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"epoch": 3.0,
|
49 |
+
"grad_norm": 3.9237613677978516,
|
50 |
+
"learning_rate": 4.7e-05,
|
51 |
+
"loss": 0.217,
|
52 |
+
"step": 4266
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"epoch": 3.0,
|
56 |
+
"eval_accuracy": 0.8914172644076181,
|
57 |
+
"eval_combined_score": 0.8726734289030837,
|
58 |
+
"eval_f1": 0.8539295933985492,
|
59 |
+
"eval_loss": 0.25741004943847656,
|
60 |
+
"eval_runtime": 15.9668,
|
61 |
+
"eval_samples_per_second": 2532.133,
|
62 |
+
"eval_steps_per_second": 9.896,
|
63 |
+
"step": 4266
|
64 |
+
},
|
65 |
+
{
|
66 |
+
"epoch": 4.0,
|
67 |
+
"grad_norm": 4.0418925285339355,
|
68 |
+
"learning_rate": 4.600000000000001e-05,
|
69 |
+
"loss": 0.179,
|
70 |
+
"step": 5688
|
71 |
+
},
|
72 |
+
{
|
73 |
+
"epoch": 4.0,
|
74 |
+
"eval_accuracy": 0.8936928023744743,
|
75 |
+
"eval_combined_score": 0.8743674804452473,
|
76 |
+
"eval_f1": 0.8550421585160203,
|
77 |
+
"eval_loss": 0.26455405354499817,
|
78 |
+
"eval_runtime": 16.0198,
|
79 |
+
"eval_samples_per_second": 2523.748,
|
80 |
+
"eval_steps_per_second": 9.863,
|
81 |
+
"step": 5688
|
82 |
+
},
|
83 |
+
{
|
84 |
+
"epoch": 5.0,
|
85 |
+
"grad_norm": 3.7040185928344727,
|
86 |
+
"learning_rate": 4.5e-05,
|
87 |
+
"loss": 0.1487,
|
88 |
+
"step": 7110
|
89 |
+
},
|
90 |
+
{
|
91 |
+
"epoch": 5.0,
|
92 |
+
"eval_accuracy": 0.8937917388078159,
|
93 |
+
"eval_combined_score": 0.8760050287514614,
|
94 |
+
"eval_f1": 0.8582183186951067,
|
95 |
+
"eval_loss": 0.291958212852478,
|
96 |
+
"eval_runtime": 16.0229,
|
97 |
+
"eval_samples_per_second": 2523.268,
|
98 |
+
"eval_steps_per_second": 9.861,
|
99 |
+
"step": 7110
|
100 |
+
},
|
101 |
+
{
|
102 |
+
"epoch": 6.0,
|
103 |
+
"grad_norm": 4.520602226257324,
|
104 |
+
"learning_rate": 4.4000000000000006e-05,
|
105 |
+
"loss": 0.1228,
|
106 |
+
"step": 8532
|
107 |
+
},
|
108 |
+
{
|
109 |
+
"epoch": 6.0,
|
110 |
+
"eval_accuracy": 0.8936433341578036,
|
111 |
+
"eval_combined_score": 0.8761816355373063,
|
112 |
+
"eval_f1": 0.858719936916809,
|
113 |
+
"eval_loss": 0.29707542061805725,
|
114 |
+
"eval_runtime": 16.029,
|
115 |
+
"eval_samples_per_second": 2522.304,
|
116 |
+
"eval_steps_per_second": 9.857,
|
117 |
+
"step": 8532
|
118 |
+
},
|
119 |
+
{
|
120 |
+
"epoch": 7.0,
|
121 |
+
"grad_norm": 3.891303062438965,
|
122 |
+
"learning_rate": 4.3e-05,
|
123 |
+
"loss": 0.1042,
|
124 |
+
"step": 9954
|
125 |
+
},
|
126 |
+
{
|
127 |
+
"epoch": 7.0,
|
128 |
+
"eval_accuracy": 0.8915904031659658,
|
129 |
+
"eval_combined_score": 0.8746264294594484,
|
130 |
+
"eval_f1": 0.8576624557529309,
|
131 |
+
"eval_loss": 0.3390096127986908,
|
132 |
+
"eval_runtime": 16.0668,
|
133 |
+
"eval_samples_per_second": 2516.367,
|
134 |
+
"eval_steps_per_second": 9.834,
|
135 |
+
"step": 9954
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 8.0,
|
139 |
+
"grad_norm": 5.342499256134033,
|
140 |
+
"learning_rate": 4.2e-05,
|
141 |
+
"loss": 0.0882,
|
142 |
+
"step": 11376
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 8.0,
|
146 |
+
"eval_accuracy": 0.8930744496660895,
|
147 |
+
"eval_combined_score": 0.8767506365141864,
|
148 |
+
"eval_f1": 0.8604268233622833,
|
149 |
+
"eval_loss": 0.3567749857902527,
|
150 |
+
"eval_runtime": 16.0666,
|
151 |
+
"eval_samples_per_second": 2516.407,
|
152 |
+
"eval_steps_per_second": 9.834,
|
153 |
+
"step": 11376
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 8.0,
|
157 |
+
"step": 11376,
|
158 |
+
"total_flos": 5.755995899574682e+16,
|
159 |
+
"train_loss": 0.18514271359235762,
|
160 |
+
"train_runtime": 1915.5632,
|
161 |
+
"train_samples_per_second": 9497.103,
|
162 |
+
"train_steps_per_second": 37.117
|
163 |
+
}
|
164 |
+
],
|
165 |
+
"logging_steps": 1,
|
166 |
+
"max_steps": 71100,
|
167 |
+
"num_input_tokens_seen": 0,
|
168 |
+
"num_train_epochs": 50,
|
169 |
+
"save_steps": 500,
|
170 |
+
"stateful_callbacks": {
|
171 |
+
"EarlyStoppingCallback": {
|
172 |
+
"args": {
|
173 |
+
"early_stopping_patience": 5,
|
174 |
+
"early_stopping_threshold": 0.0
|
175 |
+
},
|
176 |
+
"attributes": {
|
177 |
+
"early_stopping_patience_counter": 5
|
178 |
+
}
|
179 |
+
},
|
180 |
+
"TrainerControl": {
|
181 |
+
"args": {
|
182 |
+
"should_epoch_stop": false,
|
183 |
+
"should_evaluate": false,
|
184 |
+
"should_log": false,
|
185 |
+
"should_save": true,
|
186 |
+
"should_training_stop": true
|
187 |
+
},
|
188 |
+
"attributes": {}
|
189 |
+
}
|
190 |
+
},
|
191 |
+
"total_flos": 5.755995899574682e+16,
|
192 |
+
"train_batch_size": 256,
|
193 |
+
"trial_name": null,
|
194 |
+
"trial_params": null
|
195 |
+
}
|