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.1733338770.ki-g0008.1764072.29 +3 -0
- train_results.json +9 -0
- trainer_state.json +195 -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_sst2
|
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_sst2
|
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_sst2
|
15 |
+
results:
|
16 |
+
- task:
|
17 |
+
name: Text Classification
|
18 |
+
type: text-classification
|
19 |
+
dataset:
|
20 |
+
name: GLUE SST2
|
21 |
+
type: glue
|
22 |
+
args: sst2
|
23 |
+
metrics:
|
24 |
+
- name: Accuracy
|
25 |
+
type: accuracy
|
26 |
+
value: 0.8130733944954128
|
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_sst2
|
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 SST2 dataset.
|
35 |
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.4254
|
37 |
+
- Accuracy: 0.8131
|
38 |
|
39 |
## Model description
|
40 |
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.0,
|
3 |
+
"eval_accuracy": 0.8130733944954128,
|
4 |
+
"eval_loss": 0.4253731071949005,
|
5 |
+
"eval_runtime": 0.2993,
|
6 |
+
"eval_samples": 872,
|
7 |
+
"eval_samples_per_second": 2913.92,
|
8 |
+
"eval_steps_per_second": 13.367,
|
9 |
+
"total_flos": 754242524273664.0,
|
10 |
+
"train_loss": 0.26212185561054885,
|
11 |
+
"train_runtime": 260.6206,
|
12 |
+
"train_samples": 67349,
|
13 |
+
"train_samples_per_second": 12920.89,
|
14 |
+
"train_steps_per_second": 50.648
|
15 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.0,
|
3 |
+
"eval_accuracy": 0.8130733944954128,
|
4 |
+
"eval_loss": 0.4253731071949005,
|
5 |
+
"eval_runtime": 0.2993,
|
6 |
+
"eval_samples": 872,
|
7 |
+
"eval_samples_per_second": 2913.92,
|
8 |
+
"eval_steps_per_second": 13.367
|
9 |
+
}
|
logs/events.out.tfevents.1733338770.ki-g0008.1764072.29
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:78290ba296aaf8a6b8c2898fc4d5576d48af7b30fb34d836b1de0dfd96e098f3
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 9.0,
|
3 |
+
"total_flos": 754242524273664.0,
|
4 |
+
"train_loss": 0.26212185561054885,
|
5 |
+
"train_runtime": 260.6206,
|
6 |
+
"train_samples": 67349,
|
7 |
+
"train_samples_per_second": 12920.89,
|
8 |
+
"train_steps_per_second": 50.648
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.4253731071949005,
|
3 |
+
"best_model_checkpoint": "bert_uncased_L-4_H-128_A-2_sst2/checkpoint-1056",
|
4 |
+
"epoch": 9.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2376,
|
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": 4.3465471267700195,
|
14 |
+
"learning_rate": 4.9e-05,
|
15 |
+
"loss": 0.497,
|
16 |
+
"step": 264
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.7786697247706422,
|
21 |
+
"eval_loss": 0.4756825268268585,
|
22 |
+
"eval_runtime": 0.3049,
|
23 |
+
"eval_samples_per_second": 2860.362,
|
24 |
+
"eval_steps_per_second": 13.121,
|
25 |
+
"step": 264
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"grad_norm": 4.5109405517578125,
|
30 |
+
"learning_rate": 4.8e-05,
|
31 |
+
"loss": 0.3535,
|
32 |
+
"step": 528
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.8107798165137615,
|
37 |
+
"eval_loss": 0.4270114600658417,
|
38 |
+
"eval_runtime": 0.2966,
|
39 |
+
"eval_samples_per_second": 2939.669,
|
40 |
+
"eval_steps_per_second": 13.485,
|
41 |
+
"step": 528
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.0,
|
45 |
+
"grad_norm": 5.689140796661377,
|
46 |
+
"learning_rate": 4.7e-05,
|
47 |
+
"loss": 0.2951,
|
48 |
+
"step": 792
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 3.0,
|
52 |
+
"eval_accuracy": 0.8211009174311926,
|
53 |
+
"eval_loss": 0.42806658148765564,
|
54 |
+
"eval_runtime": 0.3092,
|
55 |
+
"eval_samples_per_second": 2820.531,
|
56 |
+
"eval_steps_per_second": 12.938,
|
57 |
+
"step": 792
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 4.0,
|
61 |
+
"grad_norm": 6.24284553527832,
|
62 |
+
"learning_rate": 4.600000000000001e-05,
|
63 |
+
"loss": 0.2539,
|
64 |
+
"step": 1056
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 4.0,
|
68 |
+
"eval_accuracy": 0.8130733944954128,
|
69 |
+
"eval_loss": 0.4253731071949005,
|
70 |
+
"eval_runtime": 0.3016,
|
71 |
+
"eval_samples_per_second": 2891.35,
|
72 |
+
"eval_steps_per_second": 13.263,
|
73 |
+
"step": 1056
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 5.0,
|
77 |
+
"grad_norm": 8.972127914428711,
|
78 |
+
"learning_rate": 4.5e-05,
|
79 |
+
"loss": 0.2259,
|
80 |
+
"step": 1320
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 5.0,
|
84 |
+
"eval_accuracy": 0.8256880733944955,
|
85 |
+
"eval_loss": 0.434358149766922,
|
86 |
+
"eval_runtime": 0.3064,
|
87 |
+
"eval_samples_per_second": 2845.702,
|
88 |
+
"eval_steps_per_second": 13.054,
|
89 |
+
"step": 1320
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 6.0,
|
93 |
+
"grad_norm": 7.203221797943115,
|
94 |
+
"learning_rate": 4.4000000000000006e-05,
|
95 |
+
"loss": 0.2048,
|
96 |
+
"step": 1584
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 6.0,
|
100 |
+
"eval_accuracy": 0.8314220183486238,
|
101 |
+
"eval_loss": 0.4487341344356537,
|
102 |
+
"eval_runtime": 0.3066,
|
103 |
+
"eval_samples_per_second": 2843.967,
|
104 |
+
"eval_steps_per_second": 13.046,
|
105 |
+
"step": 1584
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 7.0,
|
109 |
+
"grad_norm": 9.583701133728027,
|
110 |
+
"learning_rate": 4.3e-05,
|
111 |
+
"loss": 0.1892,
|
112 |
+
"step": 1848
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 7.0,
|
116 |
+
"eval_accuracy": 0.8222477064220184,
|
117 |
+
"eval_loss": 0.4820203483104706,
|
118 |
+
"eval_runtime": 0.2989,
|
119 |
+
"eval_samples_per_second": 2917.167,
|
120 |
+
"eval_steps_per_second": 13.381,
|
121 |
+
"step": 1848
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 8.0,
|
125 |
+
"grad_norm": 8.318140029907227,
|
126 |
+
"learning_rate": 4.2e-05,
|
127 |
+
"loss": 0.1754,
|
128 |
+
"step": 2112
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 8.0,
|
132 |
+
"eval_accuracy": 0.8348623853211009,
|
133 |
+
"eval_loss": 0.4953659474849701,
|
134 |
+
"eval_runtime": 0.3207,
|
135 |
+
"eval_samples_per_second": 2718.717,
|
136 |
+
"eval_steps_per_second": 12.471,
|
137 |
+
"step": 2112
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 9.0,
|
141 |
+
"grad_norm": 10.092487335205078,
|
142 |
+
"learning_rate": 4.1e-05,
|
143 |
+
"loss": 0.1643,
|
144 |
+
"step": 2376
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 9.0,
|
148 |
+
"eval_accuracy": 0.8222477064220184,
|
149 |
+
"eval_loss": 0.4868989884853363,
|
150 |
+
"eval_runtime": 0.3235,
|
151 |
+
"eval_samples_per_second": 2695.399,
|
152 |
+
"eval_steps_per_second": 12.364,
|
153 |
+
"step": 2376
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 9.0,
|
157 |
+
"step": 2376,
|
158 |
+
"total_flos": 754242524273664.0,
|
159 |
+
"train_loss": 0.26212185561054885,
|
160 |
+
"train_runtime": 260.6206,
|
161 |
+
"train_samples_per_second": 12920.89,
|
162 |
+
"train_steps_per_second": 50.648
|
163 |
+
}
|
164 |
+
],
|
165 |
+
"logging_steps": 1,
|
166 |
+
"max_steps": 13200,
|
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": 754242524273664.0,
|
192 |
+
"train_batch_size": 256,
|
193 |
+
"trial_name": null,
|
194 |
+
"trial_params": null
|
195 |
+
}
|