gokulsrinivasagan commited on
Commit
aa4aff5
1 Parent(s): 293d6a8

End of training

Browse files
README.md CHANGED
@@ -1,14 +1,32 @@
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
  - f1
9
  model-index:
10
  - name: bert_base_lda_5_v1_book_mrpc
11
- results: []
 
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -16,12 +34,12 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # bert_base_lda_5_v1_book_mrpc
18
 
19
- 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 an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.8087
22
- - Accuracy: 0.7255
23
- - F1: 0.825
24
- - Combined Score: 0.7752
25
 
26
  ## Model description
27
 
 
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
  - f1
13
  model-index:
14
  - name: bert_base_lda_5_v1_book_mrpc
15
+ results:
16
+ - task:
17
+ name: Text Classification
18
+ type: text-classification
19
+ dataset:
20
+ name: GLUE MRPC
21
+ type: glue
22
+ args: mrpc
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.7181372549019608
27
+ - name: F1
28
+ type: f1
29
+ value: 0.8130081300813008
30
  ---
31
 
32
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
34
 
35
  # bert_base_lda_5_v1_book_mrpc
36
 
37
+ 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 MRPC dataset.
38
  It achieves the following results on the evaluation set:
39
+ - Loss: 0.5504
40
+ - Accuracy: 0.7181
41
+ - F1: 0.8130
42
+ - Combined Score: 0.7656
43
 
44
  ## Model description
45
 
all_results.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.0,
3
+ "eval_accuracy": 0.7181372549019608,
4
+ "eval_combined_score": 0.7655726924916308,
5
+ "eval_f1": 0.8130081300813008,
6
+ "eval_loss": 0.5504186153411865,
7
+ "eval_runtime": 0.2744,
8
+ "eval_samples": 408,
9
+ "eval_samples_per_second": 1486.621,
10
+ "eval_steps_per_second": 7.287,
11
+ "total_flos": 4342911079772160.0,
12
+ "train_loss": 0.44148262871636285,
13
+ "train_runtime": 81.5991,
14
+ "train_samples": 3668,
15
+ "train_samples_per_second": 2247.573,
16
+ "train_steps_per_second": 9.191
17
+ }
eval_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.0,
3
+ "eval_accuracy": 0.7181372549019608,
4
+ "eval_combined_score": 0.7655726924916308,
5
+ "eval_f1": 0.8130081300813008,
6
+ "eval_loss": 0.5504186153411865,
7
+ "eval_runtime": 0.2744,
8
+ "eval_samples": 408,
9
+ "eval_samples_per_second": 1486.621,
10
+ "eval_steps_per_second": 7.287
11
+ }
logs/events.out.tfevents.1733826618.ki-g0008.520107.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fa39881195d74bc98c236cf1e2eb0e13cd8a38eb7905e7b2ed0eb3a8ee6a53a
3
+ size 515
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 9.0,
3
+ "total_flos": 4342911079772160.0,
4
+ "train_loss": 0.44148262871636285,
5
+ "train_runtime": 81.5991,
6
+ "train_samples": 3668,
7
+ "train_samples_per_second": 2247.573,
8
+ "train_steps_per_second": 9.191
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.5504186153411865,
3
+ "best_model_checkpoint": "bert_base_lda_5_v1_book_mrpc/checkpoint-60",
4
+ "epoch": 9.0,
5
+ "eval_steps": 500,
6
+ "global_step": 135,
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": 1.0119743347167969,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.6274,
16
+ "step": 15
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.6764705882352942,
21
+ "eval_combined_score": 0.7334733893557424,
22
+ "eval_f1": 0.7904761904761904,
23
+ "eval_loss": 0.6025893092155457,
24
+ "eval_runtime": 0.271,
25
+ "eval_samples_per_second": 1505.634,
26
+ "eval_steps_per_second": 7.381,
27
+ "step": 15
28
+ },
29
+ {
30
+ "epoch": 2.0,
31
+ "grad_norm": 3.53873610496521,
32
+ "learning_rate": 4.8e-05,
33
+ "loss": 0.5872,
34
+ "step": 30
35
+ },
36
+ {
37
+ "epoch": 2.0,
38
+ "eval_accuracy": 0.6985294117647058,
39
+ "eval_combined_score": 0.7581535947712419,
40
+ "eval_f1": 0.8177777777777778,
41
+ "eval_loss": 0.5821090936660767,
42
+ "eval_runtime": 0.2949,
43
+ "eval_samples_per_second": 1383.379,
44
+ "eval_steps_per_second": 6.781,
45
+ "step": 30
46
+ },
47
+ {
48
+ "epoch": 3.0,
49
+ "grad_norm": 14.746369361877441,
50
+ "learning_rate": 4.7e-05,
51
+ "loss": 0.5589,
52
+ "step": 45
53
+ },
54
+ {
55
+ "epoch": 3.0,
56
+ "eval_accuracy": 0.7009803921568627,
57
+ "eval_combined_score": 0.7545782463928967,
58
+ "eval_f1": 0.8081761006289309,
59
+ "eval_loss": 0.5608735680580139,
60
+ "eval_runtime": 0.276,
61
+ "eval_samples_per_second": 1478.466,
62
+ "eval_steps_per_second": 7.247,
63
+ "step": 45
64
+ },
65
+ {
66
+ "epoch": 4.0,
67
+ "grad_norm": 5.324950695037842,
68
+ "learning_rate": 4.600000000000001e-05,
69
+ "loss": 0.52,
70
+ "step": 60
71
+ },
72
+ {
73
+ "epoch": 4.0,
74
+ "eval_accuracy": 0.7181372549019608,
75
+ "eval_combined_score": 0.7655726924916308,
76
+ "eval_f1": 0.8130081300813008,
77
+ "eval_loss": 0.5504186153411865,
78
+ "eval_runtime": 0.3299,
79
+ "eval_samples_per_second": 1236.774,
80
+ "eval_steps_per_second": 6.063,
81
+ "step": 60
82
+ },
83
+ {
84
+ "epoch": 5.0,
85
+ "grad_norm": 13.772106170654297,
86
+ "learning_rate": 4.5e-05,
87
+ "loss": 0.4758,
88
+ "step": 75
89
+ },
90
+ {
91
+ "epoch": 5.0,
92
+ "eval_accuracy": 0.6862745098039216,
93
+ "eval_combined_score": 0.7254901960784313,
94
+ "eval_f1": 0.7647058823529411,
95
+ "eval_loss": 0.5648291707038879,
96
+ "eval_runtime": 0.2772,
97
+ "eval_samples_per_second": 1471.946,
98
+ "eval_steps_per_second": 7.215,
99
+ "step": 75
100
+ },
101
+ {
102
+ "epoch": 6.0,
103
+ "grad_norm": 4.995352268218994,
104
+ "learning_rate": 4.4000000000000006e-05,
105
+ "loss": 0.4144,
106
+ "step": 90
107
+ },
108
+ {
109
+ "epoch": 6.0,
110
+ "eval_accuracy": 0.7279411764705882,
111
+ "eval_combined_score": 0.7713161641952273,
112
+ "eval_f1": 0.8146911519198664,
113
+ "eval_loss": 0.5725027918815613,
114
+ "eval_runtime": 0.2832,
115
+ "eval_samples_per_second": 1440.628,
116
+ "eval_steps_per_second": 7.062,
117
+ "step": 90
118
+ },
119
+ {
120
+ "epoch": 7.0,
121
+ "grad_norm": 8.98536491394043,
122
+ "learning_rate": 4.3e-05,
123
+ "loss": 0.3139,
124
+ "step": 105
125
+ },
126
+ {
127
+ "epoch": 7.0,
128
+ "eval_accuracy": 0.7181372549019608,
129
+ "eval_combined_score": 0.7627537195782836,
130
+ "eval_f1": 0.8073701842546064,
131
+ "eval_loss": 0.6853400468826294,
132
+ "eval_runtime": 0.2692,
133
+ "eval_samples_per_second": 1515.482,
134
+ "eval_steps_per_second": 7.429,
135
+ "step": 105
136
+ },
137
+ {
138
+ "epoch": 8.0,
139
+ "grad_norm": 9.191425323486328,
140
+ "learning_rate": 4.2e-05,
141
+ "loss": 0.2645,
142
+ "step": 120
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "eval_accuracy": 0.7475490196078431,
147
+ "eval_combined_score": 0.791898516163222,
148
+ "eval_f1": 0.8362480127186009,
149
+ "eval_loss": 0.763433575630188,
150
+ "eval_runtime": 0.2756,
151
+ "eval_samples_per_second": 1480.293,
152
+ "eval_steps_per_second": 7.256,
153
+ "step": 120
154
+ },
155
+ {
156
+ "epoch": 9.0,
157
+ "grad_norm": 7.379546642303467,
158
+ "learning_rate": 4.1e-05,
159
+ "loss": 0.2114,
160
+ "step": 135
161
+ },
162
+ {
163
+ "epoch": 9.0,
164
+ "eval_accuracy": 0.7254901960784313,
165
+ "eval_combined_score": 0.7752450980392156,
166
+ "eval_f1": 0.825,
167
+ "eval_loss": 0.8087183833122253,
168
+ "eval_runtime": 0.2813,
169
+ "eval_samples_per_second": 1450.164,
170
+ "eval_steps_per_second": 7.109,
171
+ "step": 135
172
+ },
173
+ {
174
+ "epoch": 9.0,
175
+ "step": 135,
176
+ "total_flos": 4342911079772160.0,
177
+ "train_loss": 0.44148262871636285,
178
+ "train_runtime": 81.5991,
179
+ "train_samples_per_second": 2247.573,
180
+ "train_steps_per_second": 9.191
181
+ }
182
+ ],
183
+ "logging_steps": 1,
184
+ "max_steps": 750,
185
+ "num_input_tokens_seen": 0,
186
+ "num_train_epochs": 50,
187
+ "save_steps": 500,
188
+ "stateful_callbacks": {
189
+ "EarlyStoppingCallback": {
190
+ "args": {
191
+ "early_stopping_patience": 5,
192
+ "early_stopping_threshold": 0.0
193
+ },
194
+ "attributes": {
195
+ "early_stopping_patience_counter": 5
196
+ }
197
+ },
198
+ "TrainerControl": {
199
+ "args": {
200
+ "should_epoch_stop": false,
201
+ "should_evaluate": false,
202
+ "should_log": false,
203
+ "should_save": true,
204
+ "should_training_stop": true
205
+ },
206
+ "attributes": {}
207
+ }
208
+ },
209
+ "total_flos": 4342911079772160.0,
210
+ "train_batch_size": 256,
211
+ "trial_name": null,
212
+ "trial_params": null
213
+ }