gokulsrinivasagan
commited on
Commit
•
911130d
1
Parent(s):
7ff6776
End of training
Browse files- README.md +19 -4
- all_results.json +15 -0
- eval_results.json +9 -0
- logs/events.out.tfevents.1733827953.ki-g0008.520107.5 +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_5_v1_book
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
metrics:
|
7 |
- accuracy
|
8 |
model-index:
|
9 |
- name: bert_base_lda_5_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_5_v1_book_qnli
|
17 |
|
18 |
-
This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_5_v1_book](https://huggingface.co/gokulsrinivasagan/bert_base_lda_5_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_5_v1_book
|
6 |
tags:
|
7 |
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- glue
|
10 |
metrics:
|
11 |
- accuracy
|
12 |
model-index:
|
13 |
- name: bert_base_lda_5_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.8544755628775398
|
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_5_v1_book_qnli
|
32 |
|
33 |
+
This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_5_v1_book](https://huggingface.co/gokulsrinivasagan/bert_base_lda_5_v1_book) on the GLUE QNLI dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.3441
|
36 |
+
- Accuracy: 0.8545
|
37 |
|
38 |
## Model description
|
39 |
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 7.0,
|
3 |
+
"eval_accuracy": 0.8544755628775398,
|
4 |
+
"eval_loss": 0.3441010117530823,
|
5 |
+
"eval_runtime": 3.5074,
|
6 |
+
"eval_samples": 5463,
|
7 |
+
"eval_samples_per_second": 1557.554,
|
8 |
+
"eval_steps_per_second": 6.272,
|
9 |
+
"total_flos": 9.645664445050368e+16,
|
10 |
+
"train_loss": 0.20949012344307186,
|
11 |
+
"train_runtime": 1250.1394,
|
12 |
+
"train_samples": 104743,
|
13 |
+
"train_samples_per_second": 4189.253,
|
14 |
+
"train_steps_per_second": 16.398
|
15 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 7.0,
|
3 |
+
"eval_accuracy": 0.8544755628775398,
|
4 |
+
"eval_loss": 0.3441010117530823,
|
5 |
+
"eval_runtime": 3.5074,
|
6 |
+
"eval_samples": 5463,
|
7 |
+
"eval_samples_per_second": 1557.554,
|
8 |
+
"eval_steps_per_second": 6.272
|
9 |
+
}
|
logs/events.out.tfevents.1733827953.ki-g0008.520107.5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c5fc2756b5666bef16f6a9c8fbf7f6fcb7d55532e7f0d5d053d0419cb57bbd8
|
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.20949012344307186,
|
5 |
+
"train_runtime": 1250.1394,
|
6 |
+
"train_samples": 104743,
|
7 |
+
"train_samples_per_second": 4189.253,
|
8 |
+
"train_steps_per_second": 16.398
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,163 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.3441010117530823,
|
3 |
+
"best_model_checkpoint": "bert_base_lda_5_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": 2.5492544174194336,
|
14 |
+
"learning_rate": 4.9e-05,
|
15 |
+
"loss": 0.4848,
|
16 |
+
"step": 410
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.8343401061687717,
|
21 |
+
"eval_loss": 0.3843107223510742,
|
22 |
+
"eval_runtime": 3.5761,
|
23 |
+
"eval_samples_per_second": 1527.636,
|
24 |
+
"eval_steps_per_second": 6.152,
|
25 |
+
"step": 410
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"grad_norm": 4.246053218841553,
|
30 |
+
"learning_rate": 4.8e-05,
|
31 |
+
"loss": 0.3412,
|
32 |
+
"step": 820
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.8544755628775398,
|
37 |
+
"eval_loss": 0.3441010117530823,
|
38 |
+
"eval_runtime": 3.6463,
|
39 |
+
"eval_samples_per_second": 1498.245,
|
40 |
+
"eval_steps_per_second": 6.034,
|
41 |
+
"step": 820
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.0,
|
45 |
+
"grad_norm": 5.30092716217041,
|
46 |
+
"learning_rate": 4.7e-05,
|
47 |
+
"loss": 0.2379,
|
48 |
+
"step": 1230
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 3.0,
|
52 |
+
"eval_accuracy": 0.85667215815486,
|
53 |
+
"eval_loss": 0.3484192490577698,
|
54 |
+
"eval_runtime": 3.5654,
|
55 |
+
"eval_samples_per_second": 1532.217,
|
56 |
+
"eval_steps_per_second": 6.17,
|
57 |
+
"step": 1230
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 4.0,
|
61 |
+
"grad_norm": 4.396666526794434,
|
62 |
+
"learning_rate": 4.600000000000001e-05,
|
63 |
+
"loss": 0.1558,
|
64 |
+
"step": 1640
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 4.0,
|
68 |
+
"eval_accuracy": 0.8389163463298553,
|
69 |
+
"eval_loss": 0.4953833520412445,
|
70 |
+
"eval_runtime": 3.6897,
|
71 |
+
"eval_samples_per_second": 1480.61,
|
72 |
+
"eval_steps_per_second": 5.963,
|
73 |
+
"step": 1640
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 5.0,
|
77 |
+
"grad_norm": 5.491185665130615,
|
78 |
+
"learning_rate": 4.5e-05,
|
79 |
+
"loss": 0.1041,
|
80 |
+
"step": 2050
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 5.0,
|
84 |
+
"eval_accuracy": 0.8376349990847519,
|
85 |
+
"eval_loss": 0.500628650188446,
|
86 |
+
"eval_runtime": 3.8009,
|
87 |
+
"eval_samples_per_second": 1437.283,
|
88 |
+
"eval_steps_per_second": 5.788,
|
89 |
+
"step": 2050
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 6.0,
|
93 |
+
"grad_norm": 10.016534805297852,
|
94 |
+
"learning_rate": 4.4000000000000006e-05,
|
95 |
+
"loss": 0.0824,
|
96 |
+
"step": 2460
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 6.0,
|
100 |
+
"eval_accuracy": 0.8531942156324364,
|
101 |
+
"eval_loss": 0.5768154263496399,
|
102 |
+
"eval_runtime": 3.5644,
|
103 |
+
"eval_samples_per_second": 1532.654,
|
104 |
+
"eval_steps_per_second": 6.172,
|
105 |
+
"step": 2460
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 7.0,
|
109 |
+
"grad_norm": 4.23161506652832,
|
110 |
+
"learning_rate": 4.3e-05,
|
111 |
+
"loss": 0.0601,
|
112 |
+
"step": 2870
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"epoch": 7.0,
|
116 |
+
"eval_accuracy": 0.8546586124839831,
|
117 |
+
"eval_loss": 0.5504027009010315,
|
118 |
+
"eval_runtime": 3.4714,
|
119 |
+
"eval_samples_per_second": 1573.719,
|
120 |
+
"eval_steps_per_second": 6.338,
|
121 |
+
"step": 2870
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 7.0,
|
125 |
+
"step": 2870,
|
126 |
+
"total_flos": 9.645664445050368e+16,
|
127 |
+
"train_loss": 0.20949012344307186,
|
128 |
+
"train_runtime": 1250.1394,
|
129 |
+
"train_samples_per_second": 4189.253,
|
130 |
+
"train_steps_per_second": 16.398
|
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 |
+
}
|