gokulsrinivasagan commited on
Commit
ef8578d
·
verified ·
1 Parent(s): 90c0273

End of training

Browse files
README.md CHANGED
@@ -1,13 +1,28 @@
1
  ---
2
  library_name: transformers
 
 
3
  base_model: gokulsrinivasagan/bert_tiny_lda_5_v1
4
  tags:
5
  - generated_from_trainer
 
 
6
  metrics:
7
  - accuracy
8
  model-index:
9
  - name: bert_tiny_lda_5_v1_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_5_v1_sst2
17
 
18
- This model is a fine-tuned version of [gokulsrinivasagan/bert_tiny_lda_5_v1](https://huggingface.co/gokulsrinivasagan/bert_tiny_lda_5_v1) on an unknown dataset.
19
  It achieves the following results on the evaluation set:
20
- - Loss: 0.6731
21
- - Accuracy: 0.7936
22
 
23
  ## Model description
24
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  base_model: gokulsrinivasagan/bert_tiny_lda_5_v1
6
  tags:
7
  - generated_from_trainer
8
+ datasets:
9
+ - glue
10
  metrics:
11
  - accuracy
12
  model-index:
13
  - name: bert_tiny_lda_5_v1_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.8153669724770642
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_5_v1_sst2
32
 
33
+ This model is a fine-tuned version of [gokulsrinivasagan/bert_tiny_lda_5_v1](https://huggingface.co/gokulsrinivasagan/bert_tiny_lda_5_v1) on the GLUE SST2 dataset.
34
  It achieves the following results on the evaluation set:
35
+ - Loss: 0.4397
36
+ - Accuracy: 0.8154
37
 
38
  ## Model description
39
 
all_results.json CHANGED
@@ -1,15 +1,15 @@
1
  {
2
- "epoch": 7.0,
3
- "eval_accuracy": 0.5091743119266054,
4
- "eval_loss": 0.6927546262741089,
5
- "eval_runtime": 0.2812,
6
  "eval_samples": 872,
7
- "eval_samples_per_second": 3101.546,
8
- "eval_steps_per_second": 14.227,
9
- "total_flos": 1.2362922335855616e+16,
10
- "train_loss": 0.6844654330959568,
11
- "train_runtime": 261.6721,
12
  "train_samples": 67349,
13
- "train_samples_per_second": 12868.97,
14
- "train_steps_per_second": 50.445
15
  }
 
1
  {
2
+ "epoch": 6.0,
3
+ "eval_accuracy": 0.8153669724770642,
4
+ "eval_loss": 0.4396927058696747,
5
+ "eval_runtime": 0.2696,
6
  "eval_samples": 872,
7
+ "eval_samples_per_second": 3234.929,
8
+ "eval_steps_per_second": 14.839,
9
+ "total_flos": 1.0596790573590528e+16,
10
+ "train_loss": 0.19634188305247913,
11
+ "train_runtime": 225.2591,
12
  "train_samples": 67349,
13
+ "train_samples_per_second": 14949.233,
14
+ "train_steps_per_second": 58.599
15
  }
eval_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 7.0,
3
- "eval_accuracy": 0.5091743119266054,
4
- "eval_loss": 0.6927546262741089,
5
- "eval_runtime": 0.2812,
6
  "eval_samples": 872,
7
- "eval_samples_per_second": 3101.546,
8
- "eval_steps_per_second": 14.227
9
  }
 
1
  {
2
+ "epoch": 6.0,
3
+ "eval_accuracy": 0.8153669724770642,
4
+ "eval_loss": 0.4396927058696747,
5
+ "eval_runtime": 0.2696,
6
  "eval_samples": 872,
7
+ "eval_samples_per_second": 3234.929,
8
+ "eval_steps_per_second": 14.839
9
  }
logs/events.out.tfevents.1733325107.ki-g0008.1206925.29 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d7a7425ee3ca1b3eff723f00ada33b6915463f7ed92b903284ada8628210280
3
+ size 411
train_results.json CHANGED
@@ -1,9 +1,9 @@
1
  {
2
- "epoch": 7.0,
3
- "total_flos": 1.2362922335855616e+16,
4
- "train_loss": 0.6844654330959568,
5
- "train_runtime": 261.6721,
6
  "train_samples": 67349,
7
- "train_samples_per_second": 12868.97,
8
- "train_steps_per_second": 50.445
9
  }
 
1
  {
2
+ "epoch": 6.0,
3
+ "total_flos": 1.0596790573590528e+16,
4
+ "train_loss": 0.19634188305247913,
5
+ "train_runtime": 225.2591,
6
  "train_samples": 67349,
7
+ "train_samples_per_second": 14949.233,
8
+ "train_steps_per_second": 58.599
9
  }
trainer_state.json CHANGED
@@ -1,133 +1,117 @@
1
  {
2
- "best_metric": 0.6927546262741089,
3
- "best_model_checkpoint": "bert_tiny_lda_5_v1_sst2/checkpoint-528",
4
- "epoch": 7.0,
5
  "eval_steps": 500,
6
- "global_step": 1848,
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.4769257307052612,
14
- "learning_rate": 0.00098,
15
- "loss": 0.6805,
16
  "step": 264
17
  },
18
  {
19
  "epoch": 1.0,
20
- "eval_accuracy": 0.533256880733945,
21
- "eval_loss": 0.694188117980957,
22
- "eval_runtime": 0.2722,
23
- "eval_samples_per_second": 3203.363,
24
- "eval_steps_per_second": 14.694,
25
  "step": 264
26
  },
27
  {
28
  "epoch": 2.0,
29
- "grad_norm": 0.41901111602783203,
30
- "learning_rate": 0.00096,
31
- "loss": 0.6795,
32
  "step": 528
33
  },
34
  {
35
  "epoch": 2.0,
36
- "eval_accuracy": 0.5091743119266054,
37
- "eval_loss": 0.6927546262741089,
38
- "eval_runtime": 0.2751,
39
- "eval_samples_per_second": 3169.792,
40
- "eval_steps_per_second": 14.54,
41
  "step": 528
42
  },
43
  {
44
  "epoch": 3.0,
45
- "grad_norm": 0.19532398879528046,
46
- "learning_rate": 0.00094,
47
- "loss": 0.6848,
48
  "step": 792
49
  },
50
  {
51
  "epoch": 3.0,
52
- "eval_accuracy": 0.5091743119266054,
53
- "eval_loss": 0.6971402168273926,
54
- "eval_runtime": 0.2751,
55
- "eval_samples_per_second": 3169.886,
56
- "eval_steps_per_second": 14.541,
57
  "step": 792
58
  },
59
  {
60
  "epoch": 4.0,
61
- "grad_norm": 0.3345678448677063,
62
- "learning_rate": 0.00092,
63
- "loss": 0.6868,
64
  "step": 1056
65
  },
66
  {
67
  "epoch": 4.0,
68
- "eval_accuracy": 0.5091743119266054,
69
- "eval_loss": 0.695724606513977,
70
- "eval_runtime": 0.2812,
71
- "eval_samples_per_second": 3101.48,
72
- "eval_steps_per_second": 14.227,
73
  "step": 1056
74
  },
75
  {
76
  "epoch": 5.0,
77
- "grad_norm": 0.1190953329205513,
78
- "learning_rate": 0.0009000000000000001,
79
- "loss": 0.6866,
80
  "step": 1320
81
  },
82
  {
83
  "epoch": 5.0,
84
- "eval_accuracy": 0.5091743119266054,
85
- "eval_loss": 0.6954379081726074,
86
- "eval_runtime": 0.2865,
87
- "eval_samples_per_second": 3043.347,
88
- "eval_steps_per_second": 13.96,
89
  "step": 1320
90
  },
91
  {
92
  "epoch": 6.0,
93
- "grad_norm": 0.08549844473600388,
94
- "learning_rate": 0.00088,
95
- "loss": 0.6865,
96
  "step": 1584
97
  },
98
  {
99
  "epoch": 6.0,
100
- "eval_accuracy": 0.5091743119266054,
101
- "eval_loss": 0.6989858150482178,
102
- "eval_runtime": 0.285,
103
- "eval_samples_per_second": 3059.492,
104
- "eval_steps_per_second": 14.034,
105
  "step": 1584
106
  },
107
  {
108
- "epoch": 7.0,
109
- "grad_norm": 0.5443962216377258,
110
- "learning_rate": 0.00086,
111
- "loss": 0.6866,
112
- "step": 1848
113
- },
114
- {
115
- "epoch": 7.0,
116
- "eval_accuracy": 0.5091743119266054,
117
- "eval_loss": 0.7005447149276733,
118
- "eval_runtime": 0.2848,
119
- "eval_samples_per_second": 3061.81,
120
- "eval_steps_per_second": 14.045,
121
- "step": 1848
122
- },
123
- {
124
- "epoch": 7.0,
125
- "step": 1848,
126
- "total_flos": 1.2362922335855616e+16,
127
- "train_loss": 0.6844654330959568,
128
- "train_runtime": 261.6721,
129
- "train_samples_per_second": 12868.97,
130
- "train_steps_per_second": 50.445
131
  }
132
  ],
133
  "logging_steps": 1,
@@ -156,7 +140,7 @@
156
  "attributes": {}
157
  }
158
  },
159
- "total_flos": 1.2362922335855616e+16,
160
  "train_batch_size": 256,
161
  "trial_name": null,
162
  "trial_params": null
 
1
  {
2
+ "best_metric": 0.4396927058696747,
3
+ "best_model_checkpoint": "bert_tiny_lda_5_v1_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": 9.570955276489258,
14
+ "learning_rate": 4.9e-05,
15
+ "loss": 0.402,
16
  "step": 264
17
  },
18
  {
19
  "epoch": 1.0,
20
+ "eval_accuracy": 0.8153669724770642,
21
+ "eval_loss": 0.4396927058696747,
22
+ "eval_runtime": 0.2768,
23
+ "eval_samples_per_second": 3150.401,
24
+ "eval_steps_per_second": 14.451,
25
  "step": 264
26
  },
27
  {
28
  "epoch": 2.0,
29
+ "grad_norm": 10.17089557647705,
30
+ "learning_rate": 4.8e-05,
31
+ "loss": 0.2385,
32
  "step": 528
33
  },
34
  {
35
  "epoch": 2.0,
36
+ "eval_accuracy": 0.8038990825688074,
37
+ "eval_loss": 0.49887505173683167,
38
+ "eval_runtime": 0.2789,
39
+ "eval_samples_per_second": 3126.276,
40
+ "eval_steps_per_second": 14.341,
41
  "step": 528
42
  },
43
  {
44
  "epoch": 3.0,
45
+ "grad_norm": 6.174217224121094,
46
+ "learning_rate": 4.7e-05,
47
+ "loss": 0.1813,
48
  "step": 792
49
  },
50
  {
51
  "epoch": 3.0,
52
+ "eval_accuracy": 0.7970183486238532,
53
+ "eval_loss": 0.5259420871734619,
54
+ "eval_runtime": 0.2888,
55
+ "eval_samples_per_second": 3019.151,
56
+ "eval_steps_per_second": 13.849,
57
  "step": 792
58
  },
59
  {
60
  "epoch": 4.0,
61
+ "grad_norm": 6.113431930541992,
62
+ "learning_rate": 4.600000000000001e-05,
63
+ "loss": 0.1449,
64
  "step": 1056
65
  },
66
  {
67
  "epoch": 4.0,
68
+ "eval_accuracy": 0.8004587155963303,
69
+ "eval_loss": 0.5909135341644287,
70
+ "eval_runtime": 0.2819,
71
+ "eval_samples_per_second": 3093.767,
72
+ "eval_steps_per_second": 14.192,
73
  "step": 1056
74
  },
75
  {
76
  "epoch": 5.0,
77
+ "grad_norm": 3.880650043487549,
78
+ "learning_rate": 4.5e-05,
79
+ "loss": 0.1159,
80
  "step": 1320
81
  },
82
  {
83
  "epoch": 5.0,
84
+ "eval_accuracy": 0.8027522935779816,
85
+ "eval_loss": 0.6297979950904846,
86
+ "eval_runtime": 0.2757,
87
+ "eval_samples_per_second": 3162.953,
88
+ "eval_steps_per_second": 14.509,
89
  "step": 1320
90
  },
91
  {
92
  "epoch": 6.0,
93
+ "grad_norm": 4.169188976287842,
94
+ "learning_rate": 4.4000000000000006e-05,
95
+ "loss": 0.0955,
96
  "step": 1584
97
  },
98
  {
99
  "epoch": 6.0,
100
+ "eval_accuracy": 0.7935779816513762,
101
+ "eval_loss": 0.6731319427490234,
102
+ "eval_runtime": 0.2813,
103
+ "eval_samples_per_second": 3100.384,
104
+ "eval_steps_per_second": 14.222,
105
  "step": 1584
106
  },
107
  {
108
+ "epoch": 6.0,
109
+ "step": 1584,
110
+ "total_flos": 1.0596790573590528e+16,
111
+ "train_loss": 0.19634188305247913,
112
+ "train_runtime": 225.2591,
113
+ "train_samples_per_second": 14949.233,
114
+ "train_steps_per_second": 58.599
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
  }
116
  ],
117
  "logging_steps": 1,
 
140
  "attributes": {}
141
  }
142
  },
143
+ "total_flos": 1.0596790573590528e+16,
144
  "train_batch_size": 256,
145
  "trial_name": null,
146
  "trial_params": null