gokulsrinivasagan
commited on
Commit
•
1654ef2
1
Parent(s):
33197fb
End of training
Browse files- README.md +19 -4
- all_results.json +11 -11
- eval_results.json +6 -6
- logs/events.out.tfevents.1733311305.ki-g0008.1207389.5 +3 -0
- train_results.json +6 -6
- trainer_state.json +108 -60
README.md
CHANGED
@@ -1,13 +1,28 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
|
|
|
|
3 |
base_model: gokulsrinivasagan/bert_base_lda_20_v1
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
metrics:
|
7 |
- accuracy
|
8 |
model-index:
|
9 |
- name: bert_base_lda_20_v1_qnli
|
10 |
-
results:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -15,10 +30,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
15 |
|
16 |
# bert_base_lda_20_v1_qnli
|
17 |
|
18 |
-
This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_20_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_20_v1) on
|
19 |
It achieves the following results on the evaluation set:
|
20 |
-
- Loss: 0.
|
21 |
-
- Accuracy: 0.
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
+
language:
|
4 |
+
- en
|
5 |
base_model: gokulsrinivasagan/bert_base_lda_20_v1
|
6 |
tags:
|
7 |
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- glue
|
10 |
metrics:
|
11 |
- accuracy
|
12 |
model-index:
|
13 |
- name: bert_base_lda_20_v1_qnli
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Text Classification
|
17 |
+
type: text-classification
|
18 |
+
dataset:
|
19 |
+
name: GLUE QNLI
|
20 |
+
type: glue
|
21 |
+
args: qnli
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.7230459454512173
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
30 |
|
31 |
# bert_base_lda_20_v1_qnli
|
32 |
|
33 |
+
This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_20_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_20_v1) on the GLUE QNLI dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.5702
|
36 |
+
- Accuracy: 0.7230
|
37 |
|
38 |
## Model description
|
39 |
|
all_results.json
CHANGED
@@ -1,15 +1,15 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime": 3.
|
6 |
"eval_samples": 5463,
|
7 |
-
"eval_samples_per_second":
|
8 |
-
"eval_steps_per_second": 6.
|
9 |
-
"total_flos":
|
10 |
-
"train_loss": 0.
|
11 |
-
"train_runtime":
|
12 |
"train_samples": 104743,
|
13 |
-
"train_samples_per_second":
|
14 |
-
"train_steps_per_second":
|
15 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 9.0,
|
3 |
+
"eval_accuracy": 0.7230459454512173,
|
4 |
+
"eval_loss": 0.5702007412910461,
|
5 |
+
"eval_runtime": 3.5152,
|
6 |
"eval_samples": 5463,
|
7 |
+
"eval_samples_per_second": 1554.113,
|
8 |
+
"eval_steps_per_second": 6.259,
|
9 |
+
"total_flos": 1.2401568572207616e+17,
|
10 |
+
"train_loss": 0.38834146535816555,
|
11 |
+
"train_runtime": 1585.5512,
|
12 |
"train_samples": 104743,
|
13 |
+
"train_samples_per_second": 3303.047,
|
14 |
+
"train_steps_per_second": 12.929
|
15 |
}
|
eval_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"eval_accuracy": 0.
|
4 |
-
"eval_loss": 0.
|
5 |
-
"eval_runtime": 3.
|
6 |
"eval_samples": 5463,
|
7 |
-
"eval_samples_per_second":
|
8 |
-
"eval_steps_per_second": 6.
|
9 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 9.0,
|
3 |
+
"eval_accuracy": 0.7230459454512173,
|
4 |
+
"eval_loss": 0.5702007412910461,
|
5 |
+
"eval_runtime": 3.5152,
|
6 |
"eval_samples": 5463,
|
7 |
+
"eval_samples_per_second": 1554.113,
|
8 |
+
"eval_steps_per_second": 6.259
|
9 |
}
|
logs/events.out.tfevents.1733311305.ki-g0008.1207389.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:38bb6033d5d335c4e4f1d0495331d536b9b5db18dafd2519488f5772bc73b42f
|
3 |
+
size 411
|
train_results.json
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
{
|
2 |
-
"epoch":
|
3 |
-
"total_flos":
|
4 |
-
"train_loss": 0.
|
5 |
-
"train_runtime":
|
6 |
"train_samples": 104743,
|
7 |
-
"train_samples_per_second":
|
8 |
-
"train_steps_per_second":
|
9 |
}
|
|
|
1 |
{
|
2 |
+
"epoch": 9.0,
|
3 |
+
"total_flos": 1.2401568572207616e+17,
|
4 |
+
"train_loss": 0.38834146535816555,
|
5 |
+
"train_runtime": 1585.5512,
|
6 |
"train_samples": 104743,
|
7 |
+
"train_samples_per_second": 3303.047,
|
8 |
+
"train_steps_per_second": 12.929
|
9 |
}
|
trainer_state.json
CHANGED
@@ -1,117 +1,165 @@
|
|
1 |
{
|
2 |
-
"best_metric": 0.
|
3 |
-
"best_model_checkpoint": "bert_base_lda_20_v1_qnli/checkpoint-
|
4 |
-
"epoch":
|
5 |
"eval_steps": 500,
|
6 |
-
"global_step":
|
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": 0.
|
14 |
-
"learning_rate":
|
15 |
-
"loss": 0.
|
16 |
"step": 410
|
17 |
},
|
18 |
{
|
19 |
"epoch": 1.0,
|
20 |
-
"eval_accuracy": 0.
|
21 |
-
"eval_loss": 0.
|
22 |
-
"eval_runtime": 3.
|
23 |
-
"eval_samples_per_second":
|
24 |
-
"eval_steps_per_second": 6.
|
25 |
"step": 410
|
26 |
},
|
27 |
{
|
28 |
"epoch": 2.0,
|
29 |
-
"grad_norm":
|
30 |
-
"learning_rate":
|
31 |
-
"loss": 0.
|
32 |
"step": 820
|
33 |
},
|
34 |
{
|
35 |
"epoch": 2.0,
|
36 |
-
"eval_accuracy": 0.
|
37 |
-
"eval_loss": 0.
|
38 |
-
"eval_runtime": 3.
|
39 |
-
"eval_samples_per_second":
|
40 |
-
"eval_steps_per_second": 6.
|
41 |
"step": 820
|
42 |
},
|
43 |
{
|
44 |
"epoch": 3.0,
|
45 |
-
"grad_norm":
|
46 |
-
"learning_rate":
|
47 |
-
"loss": 0.
|
48 |
"step": 1230
|
49 |
},
|
50 |
{
|
51 |
"epoch": 3.0,
|
52 |
-
"eval_accuracy": 0.
|
53 |
-
"eval_loss": 0.
|
54 |
-
"eval_runtime": 3.
|
55 |
-
"eval_samples_per_second":
|
56 |
-
"eval_steps_per_second": 6.
|
57 |
"step": 1230
|
58 |
},
|
59 |
{
|
60 |
"epoch": 4.0,
|
61 |
-
"grad_norm":
|
62 |
-
"learning_rate":
|
63 |
-
"loss": 0.
|
64 |
"step": 1640
|
65 |
},
|
66 |
{
|
67 |
"epoch": 4.0,
|
68 |
-
"eval_accuracy": 0.
|
69 |
-
"eval_loss": 0.
|
70 |
-
"eval_runtime": 3.
|
71 |
-
"eval_samples_per_second":
|
72 |
-
"eval_steps_per_second": 6.
|
73 |
"step": 1640
|
74 |
},
|
75 |
{
|
76 |
"epoch": 5.0,
|
77 |
-
"grad_norm":
|
78 |
-
"learning_rate":
|
79 |
-
"loss": 0.
|
80 |
"step": 2050
|
81 |
},
|
82 |
{
|
83 |
"epoch": 5.0,
|
84 |
-
"eval_accuracy": 0.
|
85 |
-
"eval_loss": 0.
|
86 |
-
"eval_runtime": 3.
|
87 |
-
"eval_samples_per_second":
|
88 |
-
"eval_steps_per_second": 6.
|
89 |
"step": 2050
|
90 |
},
|
91 |
{
|
92 |
"epoch": 6.0,
|
93 |
-
"grad_norm":
|
94 |
-
"learning_rate":
|
95 |
-
"loss": 0.
|
96 |
"step": 2460
|
97 |
},
|
98 |
{
|
99 |
"epoch": 6.0,
|
100 |
-
"eval_accuracy": 0.
|
101 |
-
"eval_loss": 0.
|
102 |
-
"eval_runtime": 3.
|
103 |
-
"eval_samples_per_second":
|
104 |
-
"eval_steps_per_second": 6.
|
105 |
"step": 2460
|
106 |
},
|
107 |
{
|
108 |
-
"epoch":
|
109 |
-
"
|
110 |
-
"
|
111 |
-
"
|
112 |
-
"
|
113 |
-
|
114 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
}
|
116 |
],
|
117 |
"logging_steps": 1,
|
@@ -140,7 +188,7 @@
|
|
140 |
"attributes": {}
|
141 |
}
|
142 |
},
|
143 |
-
"total_flos":
|
144 |
"train_batch_size": 256,
|
145 |
"trial_name": null,
|
146 |
"trial_params": null
|
|
|
1 |
{
|
2 |
+
"best_metric": 0.5702007412910461,
|
3 |
+
"best_model_checkpoint": "bert_base_lda_20_v1_qnli/checkpoint-1640",
|
4 |
+
"epoch": 9.0,
|
5 |
"eval_steps": 500,
|
6 |
+
"global_step": 3690,
|
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": 0.8115450143814087,
|
14 |
+
"learning_rate": 4.9e-05,
|
15 |
+
"loss": 0.6969,
|
16 |
"step": 410
|
17 |
},
|
18 |
{
|
19 |
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.4946000366099213,
|
21 |
+
"eval_loss": 0.7002705931663513,
|
22 |
+
"eval_runtime": 3.4962,
|
23 |
+
"eval_samples_per_second": 1562.56,
|
24 |
+
"eval_steps_per_second": 6.293,
|
25 |
"step": 410
|
26 |
},
|
27 |
{
|
28 |
"epoch": 2.0,
|
29 |
+
"grad_norm": 2.0501978397369385,
|
30 |
+
"learning_rate": 4.8e-05,
|
31 |
+
"loss": 0.6528,
|
32 |
"step": 820
|
33 |
},
|
34 |
{
|
35 |
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.676917444627494,
|
37 |
+
"eval_loss": 0.600149929523468,
|
38 |
+
"eval_runtime": 3.5463,
|
39 |
+
"eval_samples_per_second": 1540.467,
|
40 |
+
"eval_steps_per_second": 6.204,
|
41 |
"step": 820
|
42 |
},
|
43 |
{
|
44 |
"epoch": 3.0,
|
45 |
+
"grad_norm": 2.8618063926696777,
|
46 |
+
"learning_rate": 4.7e-05,
|
47 |
+
"loss": 0.5423,
|
48 |
"step": 1230
|
49 |
},
|
50 |
{
|
51 |
"epoch": 3.0,
|
52 |
+
"eval_accuracy": 0.680029287937031,
|
53 |
+
"eval_loss": 0.5867719054222107,
|
54 |
+
"eval_runtime": 3.4859,
|
55 |
+
"eval_samples_per_second": 1567.18,
|
56 |
+
"eval_steps_per_second": 6.311,
|
57 |
"step": 1230
|
58 |
},
|
59 |
{
|
60 |
"epoch": 4.0,
|
61 |
+
"grad_norm": 5.153026103973389,
|
62 |
+
"learning_rate": 4.600000000000001e-05,
|
63 |
+
"loss": 0.4379,
|
64 |
"step": 1640
|
65 |
},
|
66 |
{
|
67 |
"epoch": 4.0,
|
68 |
+
"eval_accuracy": 0.7230459454512173,
|
69 |
+
"eval_loss": 0.5702007412910461,
|
70 |
+
"eval_runtime": 3.4822,
|
71 |
+
"eval_samples_per_second": 1568.819,
|
72 |
+
"eval_steps_per_second": 6.318,
|
73 |
"step": 1640
|
74 |
},
|
75 |
{
|
76 |
"epoch": 5.0,
|
77 |
+
"grad_norm": 5.406683921813965,
|
78 |
+
"learning_rate": 4.5e-05,
|
79 |
+
"loss": 0.354,
|
80 |
"step": 2050
|
81 |
},
|
82 |
{
|
83 |
"epoch": 5.0,
|
84 |
+
"eval_accuracy": 0.7182866556836903,
|
85 |
+
"eval_loss": 0.6331011056900024,
|
86 |
+
"eval_runtime": 3.5219,
|
87 |
+
"eval_samples_per_second": 1551.143,
|
88 |
+
"eval_steps_per_second": 6.247,
|
89 |
"step": 2050
|
90 |
},
|
91 |
{
|
92 |
"epoch": 6.0,
|
93 |
+
"grad_norm": 7.347181797027588,
|
94 |
+
"learning_rate": 4.4000000000000006e-05,
|
95 |
+
"loss": 0.2797,
|
96 |
"step": 2460
|
97 |
},
|
98 |
{
|
99 |
"epoch": 6.0,
|
100 |
+
"eval_accuracy": 0.709134175361523,
|
101 |
+
"eval_loss": 0.7637792229652405,
|
102 |
+
"eval_runtime": 3.51,
|
103 |
+
"eval_samples_per_second": 1556.397,
|
104 |
+
"eval_steps_per_second": 6.268,
|
105 |
"step": 2460
|
106 |
},
|
107 |
{
|
108 |
+
"epoch": 7.0,
|
109 |
+
"grad_norm": 12.102325439453125,
|
110 |
+
"learning_rate": 4.3e-05,
|
111 |
+
"loss": 0.2193,
|
112 |
+
"step": 2870
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 7.0,
|
116 |
+
"eval_accuracy": 0.7058392824455427,
|
117 |
+
"eval_loss": 0.8050958514213562,
|
118 |
+
"eval_runtime": 3.517,
|
119 |
+
"eval_samples_per_second": 1553.299,
|
120 |
+
"eval_steps_per_second": 6.255,
|
121 |
+
"step": 2870
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 8.0,
|
125 |
+
"grad_norm": 3.6945276260375977,
|
126 |
+
"learning_rate": 4.2e-05,
|
127 |
+
"loss": 0.1732,
|
128 |
+
"step": 3280
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 8.0,
|
132 |
+
"eval_accuracy": 0.7190188541094636,
|
133 |
+
"eval_loss": 0.8758088946342468,
|
134 |
+
"eval_runtime": 3.5494,
|
135 |
+
"eval_samples_per_second": 1539.117,
|
136 |
+
"eval_steps_per_second": 6.198,
|
137 |
+
"step": 3280
|
138 |
+
},
|
139 |
+
{
|
140 |
+
"epoch": 9.0,
|
141 |
+
"grad_norm": 5.872611045837402,
|
142 |
+
"learning_rate": 4.1e-05,
|
143 |
+
"loss": 0.1391,
|
144 |
+
"step": 3690
|
145 |
+
},
|
146 |
+
{
|
147 |
+
"epoch": 9.0,
|
148 |
+
"eval_accuracy": 0.7065714808713162,
|
149 |
+
"eval_loss": 0.9915491342544556,
|
150 |
+
"eval_runtime": 3.4891,
|
151 |
+
"eval_samples_per_second": 1565.716,
|
152 |
+
"eval_steps_per_second": 6.305,
|
153 |
+
"step": 3690
|
154 |
+
},
|
155 |
+
{
|
156 |
+
"epoch": 9.0,
|
157 |
+
"step": 3690,
|
158 |
+
"total_flos": 1.2401568572207616e+17,
|
159 |
+
"train_loss": 0.38834146535816555,
|
160 |
+
"train_runtime": 1585.5512,
|
161 |
+
"train_samples_per_second": 3303.047,
|
162 |
+
"train_steps_per_second": 12.929
|
163 |
}
|
164 |
],
|
165 |
"logging_steps": 1,
|
|
|
188 |
"attributes": {}
|
189 |
}
|
190 |
},
|
191 |
+
"total_flos": 1.2401568572207616e+17,
|
192 |
"train_batch_size": 256,
|
193 |
"trial_name": null,
|
194 |
"trial_params": null
|