gokulsrinivasagan
commited on
End of training
Browse files- README.md +23 -5
- all_results.json +16 -0
- eval_results.json +10 -0
- logs/events.out.tfevents.1733334957.ki-g0008.1761130.19 +3 -0
- train_results.json +9 -0
- trainer_state.json +187 -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 |
- matthews_correlation
|
9 |
- accuracy
|
10 |
model-index:
|
11 |
- name: bert_uncased_L-4_H-512_A-8_cola
|
12 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
---
|
14 |
|
15 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -17,11 +35,11 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
|
18 |
# bert_uncased_L-4_H-512_A-8_cola
|
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 |
-
- Matthews Correlation: 0.
|
24 |
-
- Accuracy: 0.
|
25 |
|
26 |
## Model description
|
27 |
|
|
|
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 |
- matthews_correlation
|
13 |
- accuracy
|
14 |
model-index:
|
15 |
- name: bert_uncased_L-4_H-512_A-8_cola
|
16 |
+
results:
|
17 |
+
- task:
|
18 |
+
name: Text Classification
|
19 |
+
type: text-classification
|
20 |
+
dataset:
|
21 |
+
name: GLUE COLA
|
22 |
+
type: glue
|
23 |
+
args: cola
|
24 |
+
metrics:
|
25 |
+
- name: Matthews Correlation
|
26 |
+
type: matthews_correlation
|
27 |
+
value: 0.25880032134413367
|
28 |
+
- name: Accuracy
|
29 |
+
type: accuracy
|
30 |
+
value: 0.7248322367668152
|
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_cola
|
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 COLA dataset.
|
39 |
It achieves the following results on the evaluation set:
|
40 |
+
- Loss: 0.5796
|
41 |
+
- Matthews Correlation: 0.2588
|
42 |
+
- Accuracy: 0.7248
|
43 |
|
44 |
## Model description
|
45 |
|
all_results.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_accuracy": 0.7248322367668152,
|
4 |
+
"eval_loss": 0.5796323418617249,
|
5 |
+
"eval_matthews_correlation": 0.25880032134413367,
|
6 |
+
"eval_runtime": 0.4304,
|
7 |
+
"eval_samples": 1043,
|
8 |
+
"eval_samples_per_second": 2423.557,
|
9 |
+
"eval_steps_per_second": 11.618,
|
10 |
+
"total_flos": 1352756961386496.0,
|
11 |
+
"train_loss": 0.39837659457150626,
|
12 |
+
"train_runtime": 51.07,
|
13 |
+
"train_samples": 8551,
|
14 |
+
"train_samples_per_second": 8371.844,
|
15 |
+
"train_steps_per_second": 33.288
|
16 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"eval_accuracy": 0.7248322367668152,
|
4 |
+
"eval_loss": 0.5796323418617249,
|
5 |
+
"eval_matthews_correlation": 0.25880032134413367,
|
6 |
+
"eval_runtime": 0.4304,
|
7 |
+
"eval_samples": 1043,
|
8 |
+
"eval_samples_per_second": 2423.557,
|
9 |
+
"eval_steps_per_second": 11.618
|
10 |
+
}
|
logs/events.out.tfevents.1733334957.ki-g0008.1761130.19
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9aae2badc8df8098dea708c7be625a4aa9b1d8aae2675acbd0790068107cbe1b
|
3 |
+
size 475
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 8.0,
|
3 |
+
"total_flos": 1352756961386496.0,
|
4 |
+
"train_loss": 0.39837659457150626,
|
5 |
+
"train_runtime": 51.07,
|
6 |
+
"train_samples": 8551,
|
7 |
+
"train_samples_per_second": 8371.844,
|
8 |
+
"train_steps_per_second": 33.288
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.5796323418617249,
|
3 |
+
"best_model_checkpoint": "bert_uncased_L-4_H-512_A-8_cola/checkpoint-102",
|
4 |
+
"epoch": 8.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 272,
|
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": 2.0610241889953613,
|
14 |
+
"learning_rate": 4.9e-05,
|
15 |
+
"loss": 0.6069,
|
16 |
+
"step": 34
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.6912751793861389,
|
21 |
+
"eval_loss": 0.6017993688583374,
|
22 |
+
"eval_matthews_correlation": 0.0,
|
23 |
+
"eval_runtime": 0.4175,
|
24 |
+
"eval_samples_per_second": 2498.326,
|
25 |
+
"eval_steps_per_second": 11.977,
|
26 |
+
"step": 34
|
27 |
+
},
|
28 |
+
{
|
29 |
+
"epoch": 2.0,
|
30 |
+
"grad_norm": 2.6431570053100586,
|
31 |
+
"learning_rate": 4.8e-05,
|
32 |
+
"loss": 0.5619,
|
33 |
+
"step": 68
|
34 |
+
},
|
35 |
+
{
|
36 |
+
"epoch": 2.0,
|
37 |
+
"eval_accuracy": 0.7075743079185486,
|
38 |
+
"eval_loss": 0.5890989303588867,
|
39 |
+
"eval_matthews_correlation": 0.17662106561217966,
|
40 |
+
"eval_runtime": 0.405,
|
41 |
+
"eval_samples_per_second": 2575.131,
|
42 |
+
"eval_steps_per_second": 12.345,
|
43 |
+
"step": 68
|
44 |
+
},
|
45 |
+
{
|
46 |
+
"epoch": 3.0,
|
47 |
+
"grad_norm": 4.699745178222656,
|
48 |
+
"learning_rate": 4.7e-05,
|
49 |
+
"loss": 0.4858,
|
50 |
+
"step": 102
|
51 |
+
},
|
52 |
+
{
|
53 |
+
"epoch": 3.0,
|
54 |
+
"eval_accuracy": 0.7248322367668152,
|
55 |
+
"eval_loss": 0.5796323418617249,
|
56 |
+
"eval_matthews_correlation": 0.25880032134413367,
|
57 |
+
"eval_runtime": 0.418,
|
58 |
+
"eval_samples_per_second": 2494.999,
|
59 |
+
"eval_steps_per_second": 11.961,
|
60 |
+
"step": 102
|
61 |
+
},
|
62 |
+
{
|
63 |
+
"epoch": 4.0,
|
64 |
+
"grad_norm": 6.655884265899658,
|
65 |
+
"learning_rate": 4.600000000000001e-05,
|
66 |
+
"loss": 0.4109,
|
67 |
+
"step": 136
|
68 |
+
},
|
69 |
+
{
|
70 |
+
"epoch": 4.0,
|
71 |
+
"eval_accuracy": 0.7305848598480225,
|
72 |
+
"eval_loss": 0.6467021703720093,
|
73 |
+
"eval_matthews_correlation": 0.28378357752187156,
|
74 |
+
"eval_runtime": 0.4224,
|
75 |
+
"eval_samples_per_second": 2469.299,
|
76 |
+
"eval_steps_per_second": 11.837,
|
77 |
+
"step": 136
|
78 |
+
},
|
79 |
+
{
|
80 |
+
"epoch": 5.0,
|
81 |
+
"grad_norm": 4.219986438751221,
|
82 |
+
"learning_rate": 4.5e-05,
|
83 |
+
"loss": 0.349,
|
84 |
+
"step": 170
|
85 |
+
},
|
86 |
+
{
|
87 |
+
"epoch": 5.0,
|
88 |
+
"eval_accuracy": 0.7353787422180176,
|
89 |
+
"eval_loss": 0.6379130482673645,
|
90 |
+
"eval_matthews_correlation": 0.31330896181005025,
|
91 |
+
"eval_runtime": 0.4161,
|
92 |
+
"eval_samples_per_second": 2506.686,
|
93 |
+
"eval_steps_per_second": 12.017,
|
94 |
+
"step": 170
|
95 |
+
},
|
96 |
+
{
|
97 |
+
"epoch": 6.0,
|
98 |
+
"grad_norm": 5.237408638000488,
|
99 |
+
"learning_rate": 4.4000000000000006e-05,
|
100 |
+
"loss": 0.294,
|
101 |
+
"step": 204
|
102 |
+
},
|
103 |
+
{
|
104 |
+
"epoch": 6.0,
|
105 |
+
"eval_accuracy": 0.7440076470375061,
|
106 |
+
"eval_loss": 0.6804817914962769,
|
107 |
+
"eval_matthews_correlation": 0.34360532578167496,
|
108 |
+
"eval_runtime": 0.4228,
|
109 |
+
"eval_samples_per_second": 2466.837,
|
110 |
+
"eval_steps_per_second": 11.826,
|
111 |
+
"step": 204
|
112 |
+
},
|
113 |
+
{
|
114 |
+
"epoch": 7.0,
|
115 |
+
"grad_norm": 6.214964866638184,
|
116 |
+
"learning_rate": 4.3e-05,
|
117 |
+
"loss": 0.2564,
|
118 |
+
"step": 238
|
119 |
+
},
|
120 |
+
{
|
121 |
+
"epoch": 7.0,
|
122 |
+
"eval_accuracy": 0.7363374829292297,
|
123 |
+
"eval_loss": 0.7497751712799072,
|
124 |
+
"eval_matthews_correlation": 0.3178110608461884,
|
125 |
+
"eval_runtime": 0.4185,
|
126 |
+
"eval_samples_per_second": 2492.131,
|
127 |
+
"eval_steps_per_second": 11.947,
|
128 |
+
"step": 238
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 8.0,
|
132 |
+
"grad_norm": 5.947281837463379,
|
133 |
+
"learning_rate": 4.2e-05,
|
134 |
+
"loss": 0.2222,
|
135 |
+
"step": 272
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 8.0,
|
139 |
+
"eval_accuracy": 0.7382550239562988,
|
140 |
+
"eval_loss": 0.7860784530639648,
|
141 |
+
"eval_matthews_correlation": 0.3319729838669631,
|
142 |
+
"eval_runtime": 0.4208,
|
143 |
+
"eval_samples_per_second": 2478.611,
|
144 |
+
"eval_steps_per_second": 11.882,
|
145 |
+
"step": 272
|
146 |
+
},
|
147 |
+
{
|
148 |
+
"epoch": 8.0,
|
149 |
+
"step": 272,
|
150 |
+
"total_flos": 1352756961386496.0,
|
151 |
+
"train_loss": 0.39837659457150626,
|
152 |
+
"train_runtime": 51.07,
|
153 |
+
"train_samples_per_second": 8371.844,
|
154 |
+
"train_steps_per_second": 33.288
|
155 |
+
}
|
156 |
+
],
|
157 |
+
"logging_steps": 1,
|
158 |
+
"max_steps": 1700,
|
159 |
+
"num_input_tokens_seen": 0,
|
160 |
+
"num_train_epochs": 50,
|
161 |
+
"save_steps": 500,
|
162 |
+
"stateful_callbacks": {
|
163 |
+
"EarlyStoppingCallback": {
|
164 |
+
"args": {
|
165 |
+
"early_stopping_patience": 5,
|
166 |
+
"early_stopping_threshold": 0.0
|
167 |
+
},
|
168 |
+
"attributes": {
|
169 |
+
"early_stopping_patience_counter": 5
|
170 |
+
}
|
171 |
+
},
|
172 |
+
"TrainerControl": {
|
173 |
+
"args": {
|
174 |
+
"should_epoch_stop": false,
|
175 |
+
"should_evaluate": false,
|
176 |
+
"should_log": false,
|
177 |
+
"should_save": true,
|
178 |
+
"should_training_stop": true
|
179 |
+
},
|
180 |
+
"attributes": {}
|
181 |
+
}
|
182 |
+
},
|
183 |
+
"total_flos": 1352756961386496.0,
|
184 |
+
"train_batch_size": 256,
|
185 |
+
"trial_name": null,
|
186 |
+
"trial_params": null
|
187 |
+
}
|