gokulsrinivasagan commited on
Commit
1ef746d
·
verified ·
1 Parent(s): 5287ddb

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
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  - f1
9
  model-index:
10
  - name: bert_base_lda_5_v1_qqp
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_qqp
18
 
19
- This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_5_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_5_v1) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.5420
22
- - Accuracy: 0.8560
23
- - F1: 0.8002
24
- - Combined Score: 0.8281
25
 
26
  ## Model description
27
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  base_model: gokulsrinivasagan/bert_base_lda_5_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_5_v1_qqp
15
+ results:
16
+ - task:
17
+ name: Text Classification
18
+ type: text-classification
19
+ dataset:
20
+ name: GLUE QQP
21
+ type: glue
22
+ args: qqp
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.837867919861489
27
+ - name: F1
28
+ type: f1
29
+ value: 0.7795971890655996
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_qqp
36
 
37
+ This model is a fine-tuned version of [gokulsrinivasagan/bert_base_lda_5_v1](https://huggingface.co/gokulsrinivasagan/bert_base_lda_5_v1) on the GLUE QQP dataset.
38
  It achieves the following results on the evaluation set:
39
+ - Loss: 0.3662
40
+ - Accuracy: 0.8379
41
+ - F1: 0.7796
42
+ - Combined Score: 0.8087
43
 
44
  ## Model description
45
 
all_results.json CHANGED
@@ -1,17 +1,17 @@
1
  {
2
- "epoch": 6.0,
3
- "eval_accuracy": 0.6318327974276527,
4
- "eval_combined_score": 0.3159163987138264,
5
- "eval_f1": 0.0,
6
- "eval_loss": 0.6573427319526672,
7
- "eval_runtime": 25.4059,
8
  "eval_samples": 40430,
9
- "eval_samples_per_second": 1591.364,
10
- "eval_steps_per_second": 6.219,
11
- "total_flos": 2.8719571514554368e+17,
12
- "train_loss": 0.662904584681658,
13
- "train_runtime": 3658.7532,
14
  "train_samples": 363846,
15
- "train_samples_per_second": 4972.268,
16
- "train_steps_per_second": 19.433
17
  }
 
1
  {
2
+ "epoch": 7.0,
3
+ "eval_accuracy": 0.837867919861489,
4
+ "eval_combined_score": 0.8087325544635443,
5
+ "eval_f1": 0.7795971890655996,
6
+ "eval_loss": 0.36624589562416077,
7
+ "eval_runtime": 25.8147,
8
  "eval_samples": 40430,
9
+ "eval_samples_per_second": 1566.16,
10
+ "eval_steps_per_second": 6.121,
11
+ "total_flos": 3.3506166766980096e+17,
12
+ "train_loss": 0.2248973712304138,
13
+ "train_runtime": 4307.3931,
14
  "train_samples": 363846,
15
+ "train_samples_per_second": 4223.506,
16
+ "train_steps_per_second": 16.507
17
  }
eval_results.json CHANGED
@@ -1,11 +1,11 @@
1
  {
2
- "epoch": 6.0,
3
- "eval_accuracy": 0.6318327974276527,
4
- "eval_combined_score": 0.3159163987138264,
5
- "eval_f1": 0.0,
6
- "eval_loss": 0.6573427319526672,
7
- "eval_runtime": 25.4059,
8
  "eval_samples": 40430,
9
- "eval_samples_per_second": 1591.364,
10
- "eval_steps_per_second": 6.219
11
  }
 
1
  {
2
+ "epoch": 7.0,
3
+ "eval_accuracy": 0.837867919861489,
4
+ "eval_combined_score": 0.8087325544635443,
5
+ "eval_f1": 0.7795971890655996,
6
+ "eval_loss": 0.36624589562416077,
7
+ "eval_runtime": 25.8147,
8
  "eval_samples": 40430,
9
+ "eval_samples_per_second": 1566.16,
10
+ "eval_steps_per_second": 6.121
11
  }
logs/events.out.tfevents.1733315543.ki-g0008.1206925.7 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48e77ca3599e097c4e1bbeb21d0758a01fa846544ed67765b83c8c9b94d98f31
3
+ size 515
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 6.0,
3
- "total_flos": 2.8719571514554368e+17,
4
- "train_loss": 0.662904584681658,
5
- "train_runtime": 3658.7532,
6
  "train_samples": 363846,
7
- "train_samples_per_second": 4972.268,
8
- "train_steps_per_second": 19.433
9
  }
 
1
  {
2
+ "epoch": 7.0,
3
+ "total_flos": 3.3506166766980096e+17,
4
+ "train_loss": 0.2248973712304138,
5
+ "train_runtime": 4307.3931,
6
  "train_samples": 363846,
7
+ "train_samples_per_second": 4223.506,
8
+ "train_steps_per_second": 16.507
9
  }
trainer_state.json CHANGED
@@ -1,129 +1,147 @@
1
  {
2
- "best_metric": 0.6573427319526672,
3
- "best_model_checkpoint": "bert_base_lda_5_v1_qqp/checkpoint-1422",
4
- "epoch": 6.0,
5
  "eval_steps": 500,
6
- "global_step": 8532,
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.3263278603553772,
14
- "learning_rate": 0.00098,
15
- "loss": 0.6633,
16
  "step": 1422
17
  },
18
  {
19
  "epoch": 1.0,
20
- "eval_accuracy": 0.6318327974276527,
21
- "eval_combined_score": 0.3159163987138264,
22
- "eval_f1": 0.0,
23
- "eval_loss": 0.6573427319526672,
24
- "eval_runtime": 25.7365,
25
- "eval_samples_per_second": 1570.918,
26
- "eval_steps_per_second": 6.139,
27
  "step": 1422
28
  },
29
  {
30
  "epoch": 2.0,
31
- "grad_norm": 0.06645578891038895,
32
- "learning_rate": 0.00096,
33
- "loss": 0.6589,
34
  "step": 2844
35
  },
36
  {
37
  "epoch": 2.0,
38
- "eval_accuracy": 0.6318327974276527,
39
- "eval_combined_score": 0.3159163987138264,
40
- "eval_f1": 0.0,
41
- "eval_loss": 0.6579644680023193,
42
- "eval_runtime": 25.7118,
43
- "eval_samples_per_second": 1572.431,
44
- "eval_steps_per_second": 6.145,
45
  "step": 2844
46
  },
47
  {
48
  "epoch": 3.0,
49
- "grad_norm": 0.055242717266082764,
50
- "learning_rate": 0.00094,
51
- "loss": 0.6797,
52
  "step": 4266
53
  },
54
  {
55
  "epoch": 3.0,
56
- "eval_accuracy": 0.6318327974276527,
57
- "eval_combined_score": 0.3159163987138264,
58
- "eval_f1": 0.0,
59
- "eval_loss": 0.658168613910675,
60
- "eval_runtime": 25.8276,
61
- "eval_samples_per_second": 1565.378,
62
- "eval_steps_per_second": 6.117,
63
  "step": 4266
64
  },
65
  {
66
  "epoch": 4.0,
67
- "grad_norm": 0.08355461061000824,
68
- "learning_rate": 0.00092,
69
- "loss": 0.6585,
70
  "step": 5688
71
  },
72
  {
73
  "epoch": 4.0,
74
- "eval_accuracy": 0.6318327974276527,
75
- "eval_combined_score": 0.3159163987138264,
76
- "eval_f1": 0.0,
77
- "eval_loss": 0.6573521494865417,
78
- "eval_runtime": 25.6995,
79
- "eval_samples_per_second": 1573.185,
80
- "eval_steps_per_second": 6.148,
81
  "step": 5688
82
  },
83
  {
84
  "epoch": 5.0,
85
- "grad_norm": 0.12464568763971329,
86
- "learning_rate": 0.0009000000000000001,
87
- "loss": 0.6585,
88
  "step": 7110
89
  },
90
  {
91
  "epoch": 5.0,
92
- "eval_accuracy": 0.6318327974276527,
93
- "eval_combined_score": 0.3159163987138264,
94
- "eval_f1": 0.0,
95
- "eval_loss": 0.6573521494865417,
96
- "eval_runtime": 25.7443,
97
- "eval_samples_per_second": 1570.443,
98
- "eval_steps_per_second": 6.137,
99
  "step": 7110
100
  },
101
  {
102
  "epoch": 6.0,
103
- "grad_norm": 0.03694356605410576,
104
- "learning_rate": 0.00088,
105
- "loss": 0.6585,
106
  "step": 8532
107
  },
108
  {
109
  "epoch": 6.0,
110
- "eval_accuracy": 0.6318327974276527,
111
- "eval_combined_score": 0.3159163987138264,
112
- "eval_f1": 0.0,
113
- "eval_loss": 0.6579644680023193,
114
- "eval_runtime": 25.7207,
115
- "eval_samples_per_second": 1571.886,
116
- "eval_steps_per_second": 6.143,
117
  "step": 8532
118
  },
119
  {
120
- "epoch": 6.0,
121
- "step": 8532,
122
- "total_flos": 2.8719571514554368e+17,
123
- "train_loss": 0.662904584681658,
124
- "train_runtime": 3658.7532,
125
- "train_samples_per_second": 4972.268,
126
- "train_steps_per_second": 19.433
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
127
  }
128
  ],
129
  "logging_steps": 1,
@@ -152,7 +170,7 @@
152
  "attributes": {}
153
  }
154
  },
155
- "total_flos": 2.8719571514554368e+17,
156
  "train_batch_size": 256,
157
  "trial_name": null,
158
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.36624589562416077,
3
+ "best_model_checkpoint": "bert_base_lda_5_v1_qqp/checkpoint-2844",
4
+ "epoch": 7.0,
5
  "eval_steps": 500,
6
+ "global_step": 9954,
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.1425893306732178,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.449,
16
  "step": 1422
17
  },
18
  {
19
  "epoch": 1.0,
20
+ "eval_accuracy": 0.8140489735345041,
21
+ "eval_combined_score": 0.7716723335193765,
22
+ "eval_f1": 0.7292956935042488,
23
+ "eval_loss": 0.3985694944858551,
24
+ "eval_runtime": 26.0018,
25
+ "eval_samples_per_second": 1554.894,
26
+ "eval_steps_per_second": 6.077,
27
  "step": 1422
28
  },
29
  {
30
  "epoch": 2.0,
31
+ "grad_norm": 2.969003438949585,
32
+ "learning_rate": 4.8e-05,
33
+ "loss": 0.3328,
34
  "step": 2844
35
  },
36
  {
37
  "epoch": 2.0,
38
+ "eval_accuracy": 0.837867919861489,
39
+ "eval_combined_score": 0.8087325544635443,
40
+ "eval_f1": 0.7795971890655996,
41
+ "eval_loss": 0.36624589562416077,
42
+ "eval_runtime": 26.1365,
43
+ "eval_samples_per_second": 1546.878,
44
+ "eval_steps_per_second": 6.045,
45
  "step": 2844
46
  },
47
  {
48
  "epoch": 3.0,
49
+ "grad_norm": 3.918194055557251,
50
+ "learning_rate": 4.7e-05,
51
+ "loss": 0.2532,
52
  "step": 4266
53
  },
54
  {
55
  "epoch": 3.0,
56
+ "eval_accuracy": 0.8429631461785803,
57
+ "eval_combined_score": 0.8202442098211203,
58
+ "eval_f1": 0.7975252734636604,
59
+ "eval_loss": 0.36973831057548523,
60
+ "eval_runtime": 25.9614,
61
+ "eval_samples_per_second": 1557.314,
62
+ "eval_steps_per_second": 6.086,
63
  "step": 4266
64
  },
65
  {
66
  "epoch": 4.0,
67
+ "grad_norm": 3.43363618850708,
68
+ "learning_rate": 4.600000000000001e-05,
69
+ "loss": 0.1908,
70
  "step": 5688
71
  },
72
  {
73
  "epoch": 4.0,
74
+ "eval_accuracy": 0.8527825871877319,
75
+ "eval_combined_score": 0.8250288957737024,
76
+ "eval_f1": 0.797275204359673,
77
+ "eval_loss": 0.4016028940677643,
78
+ "eval_runtime": 26.0725,
79
+ "eval_samples_per_second": 1550.676,
80
+ "eval_steps_per_second": 6.06,
81
  "step": 5688
82
  },
83
  {
84
  "epoch": 5.0,
85
+ "grad_norm": 4.095367908477783,
86
+ "learning_rate": 4.5e-05,
87
+ "loss": 0.1448,
88
  "step": 7110
89
  },
90
  {
91
  "epoch": 5.0,
92
+ "eval_accuracy": 0.854167697254514,
93
+ "eval_combined_score": 0.8237032903441879,
94
+ "eval_f1": 0.7932388834338616,
95
+ "eval_loss": 0.46372607350349426,
96
+ "eval_runtime": 26.0419,
97
+ "eval_samples_per_second": 1552.5,
98
+ "eval_steps_per_second": 6.067,
99
  "step": 7110
100
  },
101
  {
102
  "epoch": 6.0,
103
+ "grad_norm": 3.066826820373535,
104
+ "learning_rate": 4.4000000000000006e-05,
105
+ "loss": 0.112,
106
  "step": 8532
107
  },
108
  {
109
  "epoch": 6.0,
110
+ "eval_accuracy": 0.8571852584714321,
111
+ "eval_combined_score": 0.8304354144934339,
112
+ "eval_f1": 0.8036855705154358,
113
+ "eval_loss": 0.4905352294445038,
114
+ "eval_runtime": 26.1458,
115
+ "eval_samples_per_second": 1546.328,
116
+ "eval_steps_per_second": 6.043,
117
  "step": 8532
118
  },
119
  {
120
+ "epoch": 7.0,
121
+ "grad_norm": 3.6318132877349854,
122
+ "learning_rate": 4.3e-05,
123
+ "loss": 0.0917,
124
+ "step": 9954
125
+ },
126
+ {
127
+ "epoch": 7.0,
128
+ "eval_accuracy": 0.8559980212713332,
129
+ "eval_combined_score": 0.8281156727273493,
130
+ "eval_f1": 0.8002333241833653,
131
+ "eval_loss": 0.5419512987136841,
132
+ "eval_runtime": 26.1065,
133
+ "eval_samples_per_second": 1548.654,
134
+ "eval_steps_per_second": 6.052,
135
+ "step": 9954
136
+ },
137
+ {
138
+ "epoch": 7.0,
139
+ "step": 9954,
140
+ "total_flos": 3.3506166766980096e+17,
141
+ "train_loss": 0.2248973712304138,
142
+ "train_runtime": 4307.3931,
143
+ "train_samples_per_second": 4223.506,
144
+ "train_steps_per_second": 16.507
145
  }
146
  ],
147
  "logging_steps": 1,
 
170
  "attributes": {}
171
  }
172
  },
173
+ "total_flos": 3.3506166766980096e+17,
174
  "train_batch_size": 256,
175
  "trial_name": null,
176
  "trial_params": null