gokulsrinivasagan
commited on
Commit
•
7a1f771
1
Parent(s):
760c575
End of training
Browse files- README.md +19 -4
- all_results.json +15 -0
- eval_results.json +9 -0
- logs/events.out.tfevents.1733840185.ki-g0008.520107.23 +3 -0
- train_results.json +9 -0
- trainer_state.json +163 -0
README.md
CHANGED
@@ -1,13 +1,28 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
|
|
|
|
3 |
base_model: gokulsrinivasagan/bert_base_lda_20_v1_book
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
metrics:
|
7 |
- accuracy
|
8 |
model-index:
|
9 |
- name: bert_base_lda_20_v1_book_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_book_qnli
|
17 |
|
18 |
-
This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_20_v1_book](https://huggingface.co/gokulsrinivasagan/bert_base_lda_20_v1_book) 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_book
|
6 |
tags:
|
7 |
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- glue
|
10 |
metrics:
|
11 |
- accuracy
|
12 |
model-index:
|
13 |
- name: bert_base_lda_20_v1_book_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.862529745561047
|
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_book_qnli
|
32 |
|
33 |
+
This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_20_v1_book](https://huggingface.co/gokulsrinivasagan/bert_base_lda_20_v1_book) on the GLUE QNLI dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.3267
|
36 |
+
- Accuracy: 0.8625
|
37 |
|
38 |
## Model description
|
39 |
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 7.0,
|
3 |
+
"eval_accuracy": 0.862529745561047,
|
4 |
+
"eval_loss": 0.32672205567359924,
|
5 |
+
"eval_runtime": 3.5758,
|
6 |
+
"eval_samples": 5463,
|
7 |
+
"eval_samples_per_second": 1527.749,
|
8 |
+
"eval_steps_per_second": 6.152,
|
9 |
+
"total_flos": 9.645664445050368e+16,
|
10 |
+
"train_loss": 0.20647664950699757,
|
11 |
+
"train_runtime": 1243.2195,
|
12 |
+
"train_samples": 104743,
|
13 |
+
"train_samples_per_second": 4212.571,
|
14 |
+
"train_steps_per_second": 16.489
|
15 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 7.0,
|
3 |
+
"eval_accuracy": 0.862529745561047,
|
4 |
+
"eval_loss": 0.32672205567359924,
|
5 |
+
"eval_runtime": 3.5758,
|
6 |
+
"eval_samples": 5463,
|
7 |
+
"eval_samples_per_second": 1527.749,
|
8 |
+
"eval_steps_per_second": 6.152
|
9 |
+
}
|
logs/events.out.tfevents.1733840185.ki-g0008.520107.23
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2a24c023ae056c1b69d9edbf7fe3c67ad295bb1018f123bb8ce17d69d58d457c
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 7.0,
|
3 |
+
"total_flos": 9.645664445050368e+16,
|
4 |
+
"train_loss": 0.20647664950699757,
|
5 |
+
"train_runtime": 1243.2195,
|
6 |
+
"train_samples": 104743,
|
7 |
+
"train_samples_per_second": 4212.571,
|
8 |
+
"train_steps_per_second": 16.489
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.32672205567359924,
|
3 |
+
"best_model_checkpoint": "bert_base_lda_20_v1_book_qnli/checkpoint-820",
|
4 |
+
"epoch": 7.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 2870,
|
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.378965377807617,
|
14 |
+
"learning_rate": 4.9e-05,
|
15 |
+
"loss": 0.4723,
|
16 |
+
"step": 410
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.8398315943620721,
|
21 |
+
"eval_loss": 0.37053045630455017,
|
22 |
+
"eval_runtime": 3.6347,
|
23 |
+
"eval_samples_per_second": 1503.002,
|
24 |
+
"eval_steps_per_second": 6.053,
|
25 |
+
"step": 410
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"grad_norm": 5.707330226898193,
|
30 |
+
"learning_rate": 4.8e-05,
|
31 |
+
"loss": 0.3383,
|
32 |
+
"step": 820
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.862529745561047,
|
37 |
+
"eval_loss": 0.32672205567359924,
|
38 |
+
"eval_runtime": 3.6323,
|
39 |
+
"eval_samples_per_second": 1504.003,
|
40 |
+
"eval_steps_per_second": 6.057,
|
41 |
+
"step": 820
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.0,
|
45 |
+
"grad_norm": 4.867852210998535,
|
46 |
+
"learning_rate": 4.7e-05,
|
47 |
+
"loss": 0.2411,
|
48 |
+
"step": 1230
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 3.0,
|
52 |
+
"eval_accuracy": 0.8628958447739338,
|
53 |
+
"eval_loss": 0.33844906091690063,
|
54 |
+
"eval_runtime": 3.6254,
|
55 |
+
"eval_samples_per_second": 1506.873,
|
56 |
+
"eval_steps_per_second": 6.068,
|
57 |
+
"step": 1230
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 4.0,
|
61 |
+
"grad_norm": 4.006015300750732,
|
62 |
+
"learning_rate": 4.600000000000001e-05,
|
63 |
+
"loss": 0.1581,
|
64 |
+
"step": 1640
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 4.0,
|
68 |
+
"eval_accuracy": 0.847702727439136,
|
69 |
+
"eval_loss": 0.4427230954170227,
|
70 |
+
"eval_runtime": 3.5785,
|
71 |
+
"eval_samples_per_second": 1526.615,
|
72 |
+
"eval_steps_per_second": 6.148,
|
73 |
+
"step": 1640
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 5.0,
|
77 |
+
"grad_norm": 5.629159927368164,
|
78 |
+
"learning_rate": 4.5e-05,
|
79 |
+
"loss": 0.1048,
|
80 |
+
"step": 2050
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 5.0,
|
84 |
+
"eval_accuracy": 0.8513637195680029,
|
85 |
+
"eval_loss": 0.5107147693634033,
|
86 |
+
"eval_runtime": 3.5257,
|
87 |
+
"eval_samples_per_second": 1549.498,
|
88 |
+
"eval_steps_per_second": 6.24,
|
89 |
+
"step": 2050
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 6.0,
|
93 |
+
"grad_norm": 12.798274993896484,
|
94 |
+
"learning_rate": 4.4000000000000006e-05,
|
95 |
+
"loss": 0.0739,
|
96 |
+
"step": 2460
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 6.0,
|
100 |
+
"eval_accuracy": 0.8574043565806333,
|
101 |
+
"eval_loss": 0.5324944257736206,
|
102 |
+
"eval_runtime": 3.6055,
|
103 |
+
"eval_samples_per_second": 1515.2,
|
104 |
+
"eval_steps_per_second": 6.102,
|
105 |
+
"step": 2460
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 7.0,
|
109 |
+
"grad_norm": 0.7117020487785339,
|
110 |
+
"learning_rate": 4.3e-05,
|
111 |
+
"loss": 0.0568,
|
112 |
+
"step": 2870
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 7.0,
|
116 |
+
"eval_accuracy": 0.8451400329489291,
|
117 |
+
"eval_loss": 0.6685991287231445,
|
118 |
+
"eval_runtime": 3.5648,
|
119 |
+
"eval_samples_per_second": 1532.48,
|
120 |
+
"eval_steps_per_second": 6.171,
|
121 |
+
"step": 2870
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 7.0,
|
125 |
+
"step": 2870,
|
126 |
+
"total_flos": 9.645664445050368e+16,
|
127 |
+
"train_loss": 0.20647664950699757,
|
128 |
+
"train_runtime": 1243.2195,
|
129 |
+
"train_samples_per_second": 4212.571,
|
130 |
+
"train_steps_per_second": 16.489
|
131 |
+
}
|
132 |
+
],
|
133 |
+
"logging_steps": 1,
|
134 |
+
"max_steps": 20500,
|
135 |
+
"num_input_tokens_seen": 0,
|
136 |
+
"num_train_epochs": 50,
|
137 |
+
"save_steps": 500,
|
138 |
+
"stateful_callbacks": {
|
139 |
+
"EarlyStoppingCallback": {
|
140 |
+
"args": {
|
141 |
+
"early_stopping_patience": 5,
|
142 |
+
"early_stopping_threshold": 0.0
|
143 |
+
},
|
144 |
+
"attributes": {
|
145 |
+
"early_stopping_patience_counter": 5
|
146 |
+
}
|
147 |
+
},
|
148 |
+
"TrainerControl": {
|
149 |
+
"args": {
|
150 |
+
"should_epoch_stop": false,
|
151 |
+
"should_evaluate": false,
|
152 |
+
"should_log": false,
|
153 |
+
"should_save": true,
|
154 |
+
"should_training_stop": true
|
155 |
+
},
|
156 |
+
"attributes": {}
|
157 |
+
}
|
158 |
+
},
|
159 |
+
"total_flos": 9.645664445050368e+16,
|
160 |
+
"train_batch_size": 256,
|
161 |
+
"trial_name": null,
|
162 |
+
"trial_params": null
|
163 |
+
}
|