gokulsrinivasagan commited on
Commit
5df6d5b
·
verified ·
1 Parent(s): d8d07fd

End of training

Browse files
README.md CHANGED
@@ -1,14 +1,32 @@
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
  - f1
9
  model-index:
10
  - name: bert_base_lda_20_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_20_v1_book_mrpc
18
 
19
- 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 an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.9451
22
- - Accuracy: 0.7892
23
- - F1: 0.8604
24
- - Combined Score: 0.8248
25
 
26
  ## Model description
27
 
 
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
  - f1
13
  model-index:
14
  - name: bert_base_lda_20_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.7720588235294118
27
+ - name: F1
28
+ type: f1
29
+ value: 0.8312159709618874
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_20_v1_book_mrpc
36
 
37
+ 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 MRPC dataset.
38
  It achieves the following results on the evaluation set:
39
+ - Loss: 0.5004
40
+ - Accuracy: 0.7721
41
+ - F1: 0.8312
42
+ - Combined Score: 0.8016
43
 
44
  ## Model description
45
 
all_results.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.7720588235294118,
4
+ "eval_combined_score": 0.8016373972456496,
5
+ "eval_f1": 0.8312159709618874,
6
+ "eval_loss": 0.500350832939148,
7
+ "eval_runtime": 0.2783,
8
+ "eval_samples": 408,
9
+ "eval_samples_per_second": 1466.246,
10
+ "eval_steps_per_second": 7.187,
11
+ "total_flos": 3860365404241920.0,
12
+ "train_loss": 0.29748196005821226,
13
+ "train_runtime": 73.0701,
14
+ "train_samples": 3668,
15
+ "train_samples_per_second": 2509.917,
16
+ "train_steps_per_second": 10.264
17
+ }
eval_results.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.7720588235294118,
4
+ "eval_combined_score": 0.8016373972456496,
5
+ "eval_f1": 0.8312159709618874,
6
+ "eval_loss": 0.500350832939148,
7
+ "eval_runtime": 0.2783,
8
+ "eval_samples": 408,
9
+ "eval_samples_per_second": 1466.246,
10
+ "eval_steps_per_second": 7.187
11
+ }
logs/events.out.tfevents.1733838842.ki-g0008.520107.21 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab19ecfb3963f7084928d8d9b26ebf0c04d9079a9ba30a5d568304b1661bec77
3
+ size 507
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 8.0,
3
+ "total_flos": 3860365404241920.0,
4
+ "train_loss": 0.29748196005821226,
5
+ "train_runtime": 73.0701,
6
+ "train_samples": 3668,
7
+ "train_samples_per_second": 2509.917,
8
+ "train_steps_per_second": 10.264
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.500350832939148,
3
+ "best_model_checkpoint": "bert_base_lda_20_v1_book_mrpc/checkpoint-45",
4
+ "epoch": 8.0,
5
+ "eval_steps": 500,
6
+ "global_step": 120,
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.8366120457649231,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.6176,
16
+ "step": 15
17
+ },
18
+ {
19
+ "epoch": 1.0,
20
+ "eval_accuracy": 0.7034313725490197,
21
+ "eval_combined_score": 0.7607382426654872,
22
+ "eval_f1": 0.8180451127819548,
23
+ "eval_loss": 0.5701425075531006,
24
+ "eval_runtime": 0.2709,
25
+ "eval_samples_per_second": 1505.899,
26
+ "eval_steps_per_second": 7.382,
27
+ "step": 15
28
+ },
29
+ {
30
+ "epoch": 2.0,
31
+ "grad_norm": 2.57491135597229,
32
+ "learning_rate": 4.8e-05,
33
+ "loss": 0.5574,
34
+ "step": 30
35
+ },
36
+ {
37
+ "epoch": 2.0,
38
+ "eval_accuracy": 0.7377450980392157,
39
+ "eval_combined_score": 0.7824428236561184,
40
+ "eval_f1": 0.827140549273021,
41
+ "eval_loss": 0.5201883316040039,
42
+ "eval_runtime": 0.275,
43
+ "eval_samples_per_second": 1483.741,
44
+ "eval_steps_per_second": 7.273,
45
+ "step": 30
46
+ },
47
+ {
48
+ "epoch": 3.0,
49
+ "grad_norm": 11.440605163574219,
50
+ "learning_rate": 4.7e-05,
51
+ "loss": 0.4414,
52
+ "step": 45
53
+ },
54
+ {
55
+ "epoch": 3.0,
56
+ "eval_accuracy": 0.7720588235294118,
57
+ "eval_combined_score": 0.8016373972456496,
58
+ "eval_f1": 0.8312159709618874,
59
+ "eval_loss": 0.500350832939148,
60
+ "eval_runtime": 0.271,
61
+ "eval_samples_per_second": 1505.604,
62
+ "eval_steps_per_second": 7.38,
63
+ "step": 45
64
+ },
65
+ {
66
+ "epoch": 4.0,
67
+ "grad_norm": 11.457358360290527,
68
+ "learning_rate": 4.600000000000001e-05,
69
+ "loss": 0.3089,
70
+ "step": 60
71
+ },
72
+ {
73
+ "epoch": 4.0,
74
+ "eval_accuracy": 0.7598039215686274,
75
+ "eval_combined_score": 0.802124183006536,
76
+ "eval_f1": 0.8444444444444446,
77
+ "eval_loss": 0.6027812361717224,
78
+ "eval_runtime": 0.2712,
79
+ "eval_samples_per_second": 1504.514,
80
+ "eval_steps_per_second": 7.375,
81
+ "step": 60
82
+ },
83
+ {
84
+ "epoch": 5.0,
85
+ "grad_norm": 14.267647743225098,
86
+ "learning_rate": 4.5e-05,
87
+ "loss": 0.1931,
88
+ "step": 75
89
+ },
90
+ {
91
+ "epoch": 5.0,
92
+ "eval_accuracy": 0.8161764705882353,
93
+ "eval_combined_score": 0.8444210026964944,
94
+ "eval_f1": 0.8726655348047537,
95
+ "eval_loss": 0.614952027797699,
96
+ "eval_runtime": 0.2719,
97
+ "eval_samples_per_second": 1500.302,
98
+ "eval_steps_per_second": 7.354,
99
+ "step": 75
100
+ },
101
+ {
102
+ "epoch": 6.0,
103
+ "grad_norm": 4.210010051727295,
104
+ "learning_rate": 4.4000000000000006e-05,
105
+ "loss": 0.1366,
106
+ "step": 90
107
+ },
108
+ {
109
+ "epoch": 6.0,
110
+ "eval_accuracy": 0.7794117647058824,
111
+ "eval_combined_score": 0.8171252371916509,
112
+ "eval_f1": 0.8548387096774194,
113
+ "eval_loss": 0.7471214532852173,
114
+ "eval_runtime": 0.2727,
115
+ "eval_samples_per_second": 1496.147,
116
+ "eval_steps_per_second": 7.334,
117
+ "step": 90
118
+ },
119
+ {
120
+ "epoch": 7.0,
121
+ "grad_norm": 5.463342189788818,
122
+ "learning_rate": 4.3e-05,
123
+ "loss": 0.0839,
124
+ "step": 105
125
+ },
126
+ {
127
+ "epoch": 7.0,
128
+ "eval_accuracy": 0.7990196078431373,
129
+ "eval_combined_score": 0.8322966891674703,
130
+ "eval_f1": 0.8655737704918033,
131
+ "eval_loss": 0.7483032941818237,
132
+ "eval_runtime": 0.2727,
133
+ "eval_samples_per_second": 1496.383,
134
+ "eval_steps_per_second": 7.335,
135
+ "step": 105
136
+ },
137
+ {
138
+ "epoch": 8.0,
139
+ "grad_norm": 8.97471809387207,
140
+ "learning_rate": 4.2e-05,
141
+ "loss": 0.0409,
142
+ "step": 120
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "eval_accuracy": 0.7892156862745098,
147
+ "eval_combined_score": 0.8248026483320601,
148
+ "eval_f1": 0.8603896103896104,
149
+ "eval_loss": 0.9451467394828796,
150
+ "eval_runtime": 0.2778,
151
+ "eval_samples_per_second": 1468.73,
152
+ "eval_steps_per_second": 7.2,
153
+ "step": 120
154
+ },
155
+ {
156
+ "epoch": 8.0,
157
+ "step": 120,
158
+ "total_flos": 3860365404241920.0,
159
+ "train_loss": 0.29748196005821226,
160
+ "train_runtime": 73.0701,
161
+ "train_samples_per_second": 2509.917,
162
+ "train_steps_per_second": 10.264
163
+ }
164
+ ],
165
+ "logging_steps": 1,
166
+ "max_steps": 750,
167
+ "num_input_tokens_seen": 0,
168
+ "num_train_epochs": 50,
169
+ "save_steps": 500,
170
+ "stateful_callbacks": {
171
+ "EarlyStoppingCallback": {
172
+ "args": {
173
+ "early_stopping_patience": 5,
174
+ "early_stopping_threshold": 0.0
175
+ },
176
+ "attributes": {
177
+ "early_stopping_patience_counter": 5
178
+ }
179
+ },
180
+ "TrainerControl": {
181
+ "args": {
182
+ "should_epoch_stop": false,
183
+ "should_evaluate": false,
184
+ "should_log": false,
185
+ "should_save": true,
186
+ "should_training_stop": true
187
+ },
188
+ "attributes": {}
189
+ }
190
+ },
191
+ "total_flos": 3860365404241920.0,
192
+ "train_batch_size": 256,
193
+ "trial_name": null,
194
+ "trial_params": null
195
+ }