gokulsrinivasagan commited on
Commit
a9d9d92
·
verified ·
1 Parent(s): 4d99a34

End of training

Browse files
README.md CHANGED
@@ -1,14 +1,32 @@
1
  ---
2
  library_name: transformers
 
 
3
  base_model: gokulsrinivasagan/bert_base_lda_100_v1
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  - f1
9
  model-index:
10
  - name: bert_base_lda_100_v1_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_100_v1_mrpc
18
 
19
- This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_100_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_100_v1) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 1.0601
22
- - Accuracy: 0.6691
23
- - F1: 0.7700
24
- - Combined Score: 0.7196
25
 
26
  ## Model description
27
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  base_model: gokulsrinivasagan/bert_base_lda_100_v1
6
  tags:
7
  - generated_from_trainer
8
+ datasets:
9
+ - glue
10
  metrics:
11
  - accuracy
12
  - f1
13
  model-index:
14
  - name: bert_base_lda_100_v1_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.6911764705882353
27
+ - name: F1
28
+ type: f1
29
+ value: 0.8061538461538462
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_100_v1_mrpc
36
 
37
+ This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_100_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_100_v1) on the GLUE MRPC dataset.
38
  It achieves the following results on the evaluation set:
39
+ - Loss: 0.5799
40
+ - Accuracy: 0.6912
41
+ - F1: 0.8062
42
+ - Combined Score: 0.7487
43
 
44
  ## Model description
45
 
all_results.json CHANGED
@@ -1,17 +1,17 @@
1
  {
2
- "epoch": 7.0,
3
- "eval_accuracy": 0.6838235294117647,
4
- "eval_combined_score": 0.7480253018237863,
5
- "eval_f1": 0.8122270742358079,
6
- "eval_loss": 0.6229463219642639,
7
- "eval_runtime": 0.2736,
8
  "eval_samples": 408,
9
- "eval_samples_per_second": 1491.428,
10
- "eval_steps_per_second": 7.311,
11
- "total_flos": 3377819728711680.0,
12
- "train_loss": 0.7818594705490839,
13
- "train_runtime": 61.1043,
14
  "train_samples": 3668,
15
- "train_samples_per_second": 3001.426,
16
- "train_steps_per_second": 12.274
17
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.6911764705882353,
4
+ "eval_combined_score": 0.7486651583710408,
5
+ "eval_f1": 0.8061538461538462,
6
+ "eval_loss": 0.5798782706260681,
7
+ "eval_runtime": 0.2768,
8
  "eval_samples": 408,
9
+ "eval_samples_per_second": 1474.165,
10
+ "eval_steps_per_second": 7.226,
11
+ "total_flos": 3860365404241920.0,
12
+ "train_loss": 0.4376857062180837,
13
+ "train_runtime": 71.3419,
14
  "train_samples": 3668,
15
+ "train_samples_per_second": 2570.719,
16
+ "train_steps_per_second": 10.513
17
  }
eval_results.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "epoch": 7.0,
3
- "eval_accuracy": 0.6838235294117647,
4
- "eval_combined_score": 0.7480253018237863,
5
- "eval_f1": 0.8122270742358079,
6
- "eval_loss": 0.6229463219642639,
7
- "eval_runtime": 0.2736,
8
  "eval_samples": 408,
9
- "eval_samples_per_second": 1491.428,
10
- "eval_steps_per_second": 7.311
11
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "eval_accuracy": 0.6911764705882353,
4
+ "eval_combined_score": 0.7486651583710408,
5
+ "eval_f1": 0.8061538461538462,
6
+ "eval_loss": 0.5798782706260681,
7
+ "eval_runtime": 0.2768,
8
  "eval_samples": 408,
9
+ "eval_samples_per_second": 1474.165,
10
+ "eval_steps_per_second": 7.226
11
  }
logs/events.out.tfevents.1733309762.ki-g0008.1208741.3 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7bbd6fa75d4ad1d1eb92df9bd9a1a334406d516a75f0492372bb4b71bf428392
3
+ size 507
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 7.0,
3
- "total_flos": 3377819728711680.0,
4
- "train_loss": 0.7818594705490839,
5
- "train_runtime": 61.1043,
6
  "train_samples": 3668,
7
- "train_samples_per_second": 3001.426,
8
- "train_steps_per_second": 12.274
9
  }
 
1
  {
2
+ "epoch": 8.0,
3
+ "total_flos": 3860365404241920.0,
4
+ "train_loss": 0.4376857062180837,
5
+ "train_runtime": 71.3419,
6
  "train_samples": 3668,
7
+ "train_samples_per_second": 2570.719,
8
+ "train_steps_per_second": 10.513
9
  }
trainer_state.json CHANGED
@@ -1,147 +1,165 @@
1
  {
2
- "best_metric": 0.6229463219642639,
3
- "best_model_checkpoint": "bert_base_lda_100_v1_mrpc/checkpoint-30",
4
- "epoch": 7.0,
5
  "eval_steps": 500,
6
- "global_step": 105,
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.3839820325374603,
14
- "learning_rate": 0.00098,
15
- "loss": 1.6608,
16
  "step": 15
17
  },
18
  {
19
  "epoch": 1.0,
20
- "eval_accuracy": 0.6838235294117647,
21
- "eval_combined_score": 0.7480253018237863,
22
- "eval_f1": 0.8122270742358079,
23
- "eval_loss": 0.6274126768112183,
24
- "eval_runtime": 0.3333,
25
- "eval_samples_per_second": 1224.147,
26
- "eval_steps_per_second": 6.001,
27
  "step": 15
28
  },
29
  {
30
  "epoch": 2.0,
31
- "grad_norm": 1.8113455772399902,
32
- "learning_rate": 0.00096,
33
- "loss": 0.6437,
34
  "step": 30
35
  },
36
  {
37
  "epoch": 2.0,
38
- "eval_accuracy": 0.6838235294117647,
39
- "eval_combined_score": 0.7480253018237863,
40
- "eval_f1": 0.8122270742358079,
41
- "eval_loss": 0.6229463219642639,
42
- "eval_runtime": 0.2779,
43
- "eval_samples_per_second": 1467.932,
44
- "eval_steps_per_second": 7.196,
45
  "step": 30
46
  },
47
  {
48
  "epoch": 3.0,
49
- "grad_norm": 1.1818019151687622,
50
- "learning_rate": 0.00094,
51
- "loss": 0.6306,
52
  "step": 45
53
  },
54
  {
55
  "epoch": 3.0,
56
- "eval_accuracy": 0.6838235294117647,
57
- "eval_combined_score": 0.7480253018237863,
58
- "eval_f1": 0.8122270742358079,
59
- "eval_loss": 0.6274126768112183,
60
- "eval_runtime": 0.2695,
61
- "eval_samples_per_second": 1513.829,
62
- "eval_steps_per_second": 7.421,
63
  "step": 45
64
  },
65
  {
66
  "epoch": 4.0,
67
- "grad_norm": 1.0649493932724,
68
- "learning_rate": 0.00092,
69
- "loss": 0.637,
70
  "step": 60
71
  },
72
  {
73
  "epoch": 4.0,
74
- "eval_accuracy": 0.6838235294117647,
75
- "eval_combined_score": 0.7480253018237863,
76
- "eval_f1": 0.8122270742358079,
77
- "eval_loss": 0.6244111061096191,
78
- "eval_runtime": 0.2681,
79
- "eval_samples_per_second": 1521.562,
80
- "eval_steps_per_second": 7.459,
81
  "step": 60
82
  },
83
  {
84
  "epoch": 5.0,
85
- "grad_norm": 0.477798730134964,
86
- "learning_rate": 0.0009000000000000001,
87
- "loss": 0.6341,
88
  "step": 75
89
  },
90
  {
91
  "epoch": 5.0,
92
- "eval_accuracy": 0.6838235294117647,
93
- "eval_combined_score": 0.7480253018237863,
94
- "eval_f1": 0.8122270742358079,
95
- "eval_loss": 0.6260770559310913,
96
- "eval_runtime": 0.2813,
97
- "eval_samples_per_second": 1450.245,
98
- "eval_steps_per_second": 7.109,
99
  "step": 75
100
  },
101
  {
102
  "epoch": 6.0,
103
- "grad_norm": 0.7583205699920654,
104
- "learning_rate": 0.00088,
105
- "loss": 0.6342,
106
  "step": 90
107
  },
108
  {
109
  "epoch": 6.0,
110
- "eval_accuracy": 0.6838235294117647,
111
- "eval_combined_score": 0.7480253018237863,
112
- "eval_f1": 0.8122270742358079,
113
- "eval_loss": 0.6254164576530457,
114
- "eval_runtime": 0.27,
115
- "eval_samples_per_second": 1511.199,
116
- "eval_steps_per_second": 7.408,
117
  "step": 90
118
  },
119
  {
120
  "epoch": 7.0,
121
- "grad_norm": 0.5159490704536438,
122
- "learning_rate": 0.00086,
123
- "loss": 0.6328,
124
  "step": 105
125
  },
126
  {
127
  "epoch": 7.0,
128
- "eval_accuracy": 0.6838235294117647,
129
- "eval_combined_score": 0.7480253018237863,
130
- "eval_f1": 0.8122270742358079,
131
- "eval_loss": 0.6252872347831726,
132
- "eval_runtime": 0.2806,
133
- "eval_samples_per_second": 1454.165,
134
- "eval_steps_per_second": 7.128,
135
  "step": 105
136
  },
137
  {
138
- "epoch": 7.0,
139
- "step": 105,
140
- "total_flos": 3377819728711680.0,
141
- "train_loss": 0.7818594705490839,
142
- "train_runtime": 61.1043,
143
- "train_samples_per_second": 3001.426,
144
- "train_steps_per_second": 12.274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
145
  }
146
  ],
147
  "logging_steps": 1,
@@ -170,7 +188,7 @@
170
  "attributes": {}
171
  }
172
  },
173
- "total_flos": 3377819728711680.0,
174
  "train_batch_size": 256,
175
  "trial_name": null,
176
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.5798782706260681,
3
+ "best_model_checkpoint": "bert_base_lda_100_v1_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": 1.1343425512313843,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.6665,
16
  "step": 15
17
  },
18
  {
19
  "epoch": 1.0,
20
+ "eval_accuracy": 0.6666666666666666,
21
+ "eval_combined_score": 0.7136150234741783,
22
+ "eval_f1": 0.76056338028169,
23
+ "eval_loss": 0.6143702864646912,
24
+ "eval_runtime": 0.2749,
25
+ "eval_samples_per_second": 1484.233,
26
+ "eval_steps_per_second": 7.276,
27
  "step": 15
28
  },
29
  {
30
  "epoch": 2.0,
31
+ "grad_norm": 1.3366286754608154,
32
+ "learning_rate": 4.8e-05,
33
+ "loss": 0.594,
34
  "step": 30
35
  },
36
  {
37
  "epoch": 2.0,
38
+ "eval_accuracy": 0.7058823529411765,
39
+ "eval_combined_score": 0.7505520979722948,
40
+ "eval_f1": 0.795221843003413,
41
+ "eval_loss": 0.5914976596832275,
42
+ "eval_runtime": 0.2751,
43
+ "eval_samples_per_second": 1482.998,
44
+ "eval_steps_per_second": 7.27,
45
  "step": 30
46
  },
47
  {
48
  "epoch": 3.0,
49
+ "grad_norm": 1.057149052619934,
50
+ "learning_rate": 4.7e-05,
51
+ "loss": 0.575,
52
  "step": 45
53
  },
54
  {
55
  "epoch": 3.0,
56
+ "eval_accuracy": 0.6911764705882353,
57
+ "eval_combined_score": 0.7486651583710408,
58
+ "eval_f1": 0.8061538461538462,
59
+ "eval_loss": 0.5798782706260681,
60
+ "eval_runtime": 0.2754,
61
+ "eval_samples_per_second": 1481.593,
62
+ "eval_steps_per_second": 7.263,
63
  "step": 45
64
  },
65
  {
66
  "epoch": 4.0,
67
+ "grad_norm": 3.827286958694458,
68
+ "learning_rate": 4.600000000000001e-05,
69
+ "loss": 0.5285,
70
  "step": 60
71
  },
72
  {
73
  "epoch": 4.0,
74
+ "eval_accuracy": 0.7034313725490197,
75
+ "eval_combined_score": 0.7510501288701837,
76
+ "eval_f1": 0.7986688851913478,
77
+ "eval_loss": 0.5992879867553711,
78
+ "eval_runtime": 0.2877,
79
+ "eval_samples_per_second": 1417.975,
80
+ "eval_steps_per_second": 6.951,
81
  "step": 60
82
  },
83
  {
84
  "epoch": 5.0,
85
+ "grad_norm": 2.9875845909118652,
86
+ "learning_rate": 4.5e-05,
87
+ "loss": 0.4277,
88
  "step": 75
89
  },
90
  {
91
  "epoch": 5.0,
92
+ "eval_accuracy": 0.6764705882352942,
93
+ "eval_combined_score": 0.715100965759438,
94
+ "eval_f1": 0.753731343283582,
95
+ "eval_loss": 0.655691385269165,
96
+ "eval_runtime": 0.2814,
97
+ "eval_samples_per_second": 1450.083,
98
+ "eval_steps_per_second": 7.108,
99
  "step": 75
100
  },
101
  {
102
  "epoch": 6.0,
103
+ "grad_norm": 2.7185416221618652,
104
+ "learning_rate": 4.4000000000000006e-05,
105
+ "loss": 0.3244,
106
  "step": 90
107
  },
108
  {
109
  "epoch": 6.0,
110
+ "eval_accuracy": 0.696078431372549,
111
+ "eval_combined_score": 0.749313101036593,
112
+ "eval_f1": 0.8025477707006369,
113
+ "eval_loss": 0.8220387101173401,
114
+ "eval_runtime": 0.2781,
115
+ "eval_samples_per_second": 1467.238,
116
+ "eval_steps_per_second": 7.192,
117
  "step": 90
118
  },
119
  {
120
  "epoch": 7.0,
121
+ "grad_norm": 4.188333988189697,
122
+ "learning_rate": 4.3e-05,
123
+ "loss": 0.2387,
124
  "step": 105
125
  },
126
  {
127
  "epoch": 7.0,
128
+ "eval_accuracy": 0.6421568627450981,
129
+ "eval_combined_score": 0.6838603862597672,
130
+ "eval_f1": 0.7255639097744362,
131
+ "eval_loss": 0.8551956415176392,
132
+ "eval_runtime": 0.2771,
133
+ "eval_samples_per_second": 1472.601,
134
+ "eval_steps_per_second": 7.219,
135
  "step": 105
136
  },
137
  {
138
+ "epoch": 8.0,
139
+ "grad_norm": 3.75746488571167,
140
+ "learning_rate": 4.2e-05,
141
+ "loss": 0.1466,
142
+ "step": 120
143
+ },
144
+ {
145
+ "epoch": 8.0,
146
+ "eval_accuracy": 0.6691176470588235,
147
+ "eval_combined_score": 0.7195673414169756,
148
+ "eval_f1": 0.7700170357751278,
149
+ "eval_loss": 1.0601282119750977,
150
+ "eval_runtime": 0.2766,
151
+ "eval_samples_per_second": 1475.248,
152
+ "eval_steps_per_second": 7.232,
153
+ "step": 120
154
+ },
155
+ {
156
+ "epoch": 8.0,
157
+ "step": 120,
158
+ "total_flos": 3860365404241920.0,
159
+ "train_loss": 0.4376857062180837,
160
+ "train_runtime": 71.3419,
161
+ "train_samples_per_second": 2570.719,
162
+ "train_steps_per_second": 10.513
163
  }
164
  ],
165
  "logging_steps": 1,
 
188
  "attributes": {}
189
  }
190
  },
191
+ "total_flos": 3860365404241920.0,
192
  "train_batch_size": 256,
193
  "trial_name": null,
194
  "trial_params": null