gokulsrinivasagan
commited on
Commit
•
6bb78d3
1
Parent(s):
2d728f4
End of training
Browse files- README.md +19 -4
- all_results.json +15 -0
- eval_results.json +9 -0
- logs/events.out.tfevents.1733843227.ki-g0008.684565.29 +3 -0
- train_results.json +9 -0
- trainer_state.json +147 -0
README.md
CHANGED
@@ -1,13 +1,28 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
|
|
|
|
3 |
base_model: gokulsrinivasagan/bert_tiny_lda_100_v1_book
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
metrics:
|
7 |
- accuracy
|
8 |
model-index:
|
9 |
- name: bert_tiny_lda_100_v1_book_sst2
|
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_tiny_lda_100_v1_book_sst2
|
17 |
|
18 |
-
This model is a fine-tuned version of [gokulsrinivasagan/bert_tiny_lda_100_v1_book](https://huggingface.co/gokulsrinivasagan/bert_tiny_lda_100_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_tiny_lda_100_v1_book
|
6 |
tags:
|
7 |
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- glue
|
10 |
metrics:
|
11 |
- accuracy
|
12 |
model-index:
|
13 |
- name: bert_tiny_lda_100_v1_book_sst2
|
14 |
+
results:
|
15 |
+
- task:
|
16 |
+
name: Text Classification
|
17 |
+
type: text-classification
|
18 |
+
dataset:
|
19 |
+
name: GLUE SST2
|
20 |
+
type: glue
|
21 |
+
args: sst2
|
22 |
+
metrics:
|
23 |
+
- name: Accuracy
|
24 |
+
type: accuracy
|
25 |
+
value: 0.8555045871559633
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
30 |
|
31 |
# bert_tiny_lda_100_v1_book_sst2
|
32 |
|
33 |
+
This model is a fine-tuned version of [gokulsrinivasagan/bert_tiny_lda_100_v1_book](https://huggingface.co/gokulsrinivasagan/bert_tiny_lda_100_v1_book) on the GLUE SST2 dataset.
|
34 |
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.3489
|
36 |
+
- Accuracy: 0.8555
|
37 |
|
38 |
## Model description
|
39 |
|
all_results.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 6.0,
|
3 |
+
"eval_accuracy": 0.8555045871559633,
|
4 |
+
"eval_loss": 0.3489038348197937,
|
5 |
+
"eval_runtime": 0.283,
|
6 |
+
"eval_samples": 872,
|
7 |
+
"eval_samples_per_second": 3081.701,
|
8 |
+
"eval_steps_per_second": 14.136,
|
9 |
+
"total_flos": 1.0596790573590528e+16,
|
10 |
+
"train_loss": 0.1705179467345729,
|
11 |
+
"train_runtime": 228.7859,
|
12 |
+
"train_samples": 67349,
|
13 |
+
"train_samples_per_second": 14718.786,
|
14 |
+
"train_steps_per_second": 57.696
|
15 |
+
}
|
eval_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 6.0,
|
3 |
+
"eval_accuracy": 0.8555045871559633,
|
4 |
+
"eval_loss": 0.3489038348197937,
|
5 |
+
"eval_runtime": 0.283,
|
6 |
+
"eval_samples": 872,
|
7 |
+
"eval_samples_per_second": 3081.701,
|
8 |
+
"eval_steps_per_second": 14.136
|
9 |
+
}
|
logs/events.out.tfevents.1733843227.ki-g0008.684565.29
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:44edf78beaad86a4f2a09f83892783df624da4123e0c1e46db2f10c2a27e551c
|
3 |
+
size 411
|
train_results.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"epoch": 6.0,
|
3 |
+
"total_flos": 1.0596790573590528e+16,
|
4 |
+
"train_loss": 0.1705179467345729,
|
5 |
+
"train_runtime": 228.7859,
|
6 |
+
"train_samples": 67349,
|
7 |
+
"train_samples_per_second": 14718.786,
|
8 |
+
"train_steps_per_second": 57.696
|
9 |
+
}
|
trainer_state.json
ADDED
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.3489038348197937,
|
3 |
+
"best_model_checkpoint": "bert_tiny_lda_100_v1_book_sst2/checkpoint-264",
|
4 |
+
"epoch": 6.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 1584,
|
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": 8.271644592285156,
|
14 |
+
"learning_rate": 4.9e-05,
|
15 |
+
"loss": 0.3634,
|
16 |
+
"step": 264
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 1.0,
|
20 |
+
"eval_accuracy": 0.8555045871559633,
|
21 |
+
"eval_loss": 0.3489038348197937,
|
22 |
+
"eval_runtime": 0.277,
|
23 |
+
"eval_samples_per_second": 3148.234,
|
24 |
+
"eval_steps_per_second": 14.441,
|
25 |
+
"step": 264
|
26 |
+
},
|
27 |
+
{
|
28 |
+
"epoch": 2.0,
|
29 |
+
"grad_norm": 15.306727409362793,
|
30 |
+
"learning_rate": 4.8e-05,
|
31 |
+
"loss": 0.2189,
|
32 |
+
"step": 528
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"epoch": 2.0,
|
36 |
+
"eval_accuracy": 0.8600917431192661,
|
37 |
+
"eval_loss": 0.36337217688560486,
|
38 |
+
"eval_runtime": 0.3273,
|
39 |
+
"eval_samples_per_second": 2664.447,
|
40 |
+
"eval_steps_per_second": 12.222,
|
41 |
+
"step": 528
|
42 |
+
},
|
43 |
+
{
|
44 |
+
"epoch": 3.0,
|
45 |
+
"grad_norm": 6.631307125091553,
|
46 |
+
"learning_rate": 4.7e-05,
|
47 |
+
"loss": 0.1528,
|
48 |
+
"step": 792
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"epoch": 3.0,
|
52 |
+
"eval_accuracy": 0.8646788990825688,
|
53 |
+
"eval_loss": 0.4506845772266388,
|
54 |
+
"eval_runtime": 0.2825,
|
55 |
+
"eval_samples_per_second": 3086.85,
|
56 |
+
"eval_steps_per_second": 14.16,
|
57 |
+
"step": 792
|
58 |
+
},
|
59 |
+
{
|
60 |
+
"epoch": 4.0,
|
61 |
+
"grad_norm": 2.8820979595184326,
|
62 |
+
"learning_rate": 4.600000000000001e-05,
|
63 |
+
"loss": 0.1199,
|
64 |
+
"step": 1056
|
65 |
+
},
|
66 |
+
{
|
67 |
+
"epoch": 4.0,
|
68 |
+
"eval_accuracy": 0.8761467889908257,
|
69 |
+
"eval_loss": 0.382750540971756,
|
70 |
+
"eval_runtime": 0.2751,
|
71 |
+
"eval_samples_per_second": 3169.237,
|
72 |
+
"eval_steps_per_second": 14.538,
|
73 |
+
"step": 1056
|
74 |
+
},
|
75 |
+
{
|
76 |
+
"epoch": 5.0,
|
77 |
+
"grad_norm": 2.706533193588257,
|
78 |
+
"learning_rate": 4.5e-05,
|
79 |
+
"loss": 0.094,
|
80 |
+
"step": 1320
|
81 |
+
},
|
82 |
+
{
|
83 |
+
"epoch": 5.0,
|
84 |
+
"eval_accuracy": 0.8727064220183486,
|
85 |
+
"eval_loss": 0.3957236707210541,
|
86 |
+
"eval_runtime": 0.2958,
|
87 |
+
"eval_samples_per_second": 2947.786,
|
88 |
+
"eval_steps_per_second": 13.522,
|
89 |
+
"step": 1320
|
90 |
+
},
|
91 |
+
{
|
92 |
+
"epoch": 6.0,
|
93 |
+
"grad_norm": 4.119465351104736,
|
94 |
+
"learning_rate": 4.4000000000000006e-05,
|
95 |
+
"loss": 0.0742,
|
96 |
+
"step": 1584
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"epoch": 6.0,
|
100 |
+
"eval_accuracy": 0.8589449541284404,
|
101 |
+
"eval_loss": 0.47635790705680847,
|
102 |
+
"eval_runtime": 0.3084,
|
103 |
+
"eval_samples_per_second": 2827.358,
|
104 |
+
"eval_steps_per_second": 12.97,
|
105 |
+
"step": 1584
|
106 |
+
},
|
107 |
+
{
|
108 |
+
"epoch": 6.0,
|
109 |
+
"step": 1584,
|
110 |
+
"total_flos": 1.0596790573590528e+16,
|
111 |
+
"train_loss": 0.1705179467345729,
|
112 |
+
"train_runtime": 228.7859,
|
113 |
+
"train_samples_per_second": 14718.786,
|
114 |
+
"train_steps_per_second": 57.696
|
115 |
+
}
|
116 |
+
],
|
117 |
+
"logging_steps": 1,
|
118 |
+
"max_steps": 13200,
|
119 |
+
"num_input_tokens_seen": 0,
|
120 |
+
"num_train_epochs": 50,
|
121 |
+
"save_steps": 500,
|
122 |
+
"stateful_callbacks": {
|
123 |
+
"EarlyStoppingCallback": {
|
124 |
+
"args": {
|
125 |
+
"early_stopping_patience": 5,
|
126 |
+
"early_stopping_threshold": 0.0
|
127 |
+
},
|
128 |
+
"attributes": {
|
129 |
+
"early_stopping_patience_counter": 5
|
130 |
+
}
|
131 |
+
},
|
132 |
+
"TrainerControl": {
|
133 |
+
"args": {
|
134 |
+
"should_epoch_stop": false,
|
135 |
+
"should_evaluate": false,
|
136 |
+
"should_log": false,
|
137 |
+
"should_save": true,
|
138 |
+
"should_training_stop": true
|
139 |
+
},
|
140 |
+
"attributes": {}
|
141 |
+
}
|
142 |
+
},
|
143 |
+
"total_flos": 1.0596790573590528e+16,
|
144 |
+
"train_batch_size": 256,
|
145 |
+
"trial_name": null,
|
146 |
+
"trial_params": null
|
147 |
+
}
|