gokulsrinivasagan commited on
Commit
f078166
·
verified ·
1 Parent(s): 0c258c2

End of training

Browse files
README.md CHANGED
@@ -1,14 +1,29 @@
1
  ---
2
  library_name: transformers
 
 
3
  license: apache-2.0
4
  base_model: gokulsrinivasagan/tinybert_base_train_book_ent_15p_s_init
5
  tags:
6
  - generated_from_trainer
 
 
7
  metrics:
8
  - accuracy
9
  model-index:
10
  - name: tinybert_base_train_book_ent_15p_s_init_sst2
11
- results: []
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
@@ -16,10 +31,10 @@ should probably proofread and complete it, then remove this comment. -->
16
 
17
  # tinybert_base_train_book_ent_15p_s_init_sst2
18
 
19
- This model is a fine-tuned version of [gokulsrinivasagan/tinybert_base_train_book_ent_15p_s_init](https://huggingface.co/gokulsrinivasagan/tinybert_base_train_book_ent_15p_s_init) on an unknown dataset.
20
  It achieves the following results on the evaluation set:
21
- - Loss: 0.5464
22
- - Accuracy: 0.8360
23
 
24
  ## Model description
25
 
 
1
  ---
2
  library_name: transformers
3
+ language:
4
+ - en
5
  license: apache-2.0
6
  base_model: gokulsrinivasagan/tinybert_base_train_book_ent_15p_s_init
7
  tags:
8
  - generated_from_trainer
9
+ datasets:
10
+ - glue
11
  metrics:
12
  - accuracy
13
  model-index:
14
  - name: tinybert_base_train_book_ent_15p_s_init_sst2
15
+ results:
16
+ - task:
17
+ name: Text Classification
18
+ type: text-classification
19
+ dataset:
20
+ name: GLUE SST2
21
+ type: glue
22
+ args: sst2
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.8371559633027523
27
  ---
28
 
29
  <!-- This model card has been generated automatically according to the information the Trainer had access to. You
 
31
 
32
  # tinybert_base_train_book_ent_15p_s_init_sst2
33
 
34
+ This model is a fine-tuned version of [gokulsrinivasagan/tinybert_base_train_book_ent_15p_s_init](https://huggingface.co/gokulsrinivasagan/tinybert_base_train_book_ent_15p_s_init) on the GLUE SST2 dataset.
35
  It achieves the following results on the evaluation set:
36
+ - Loss: 0.4233
37
+ - Accuracy: 0.8372
38
 
39
  ## Model description
40
 
all_results.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 7.0,
3
+ "eval_accuracy": 0.8371559633027523,
4
+ "eval_loss": 0.42326632142066956,
5
+ "eval_runtime": 0.4562,
6
+ "eval_samples": 872,
7
+ "eval_samples_per_second": 1911.424,
8
+ "eval_steps_per_second": 8.768,
9
+ "total_flos": 9322707872572416.0,
10
+ "train_loss": 0.2009547892070952,
11
+ "train_runtime": 356.0592,
12
+ "train_samples": 67349,
13
+ "train_samples_per_second": 9457.557,
14
+ "train_steps_per_second": 37.072
15
+ }
eval_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 7.0,
3
+ "eval_accuracy": 0.8371559633027523,
4
+ "eval_loss": 0.42326632142066956,
5
+ "eval_runtime": 0.4562,
6
+ "eval_samples": 872,
7
+ "eval_samples_per_second": 1911.424,
8
+ "eval_steps_per_second": 8.768
9
+ }
logs/events.out.tfevents.1745508118.ki-g0008.3436350.11 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ba67fb12d472eb1bfdd469198c1bf85cf9c05d9f18a035c1c2cc85669a1e020
3
+ size 411
train_results.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "epoch": 7.0,
3
+ "total_flos": 9322707872572416.0,
4
+ "train_loss": 0.2009547892070952,
5
+ "train_runtime": 356.0592,
6
+ "train_samples": 67349,
7
+ "train_samples_per_second": 9457.557,
8
+ "train_steps_per_second": 37.072
9
+ }
trainer_state.json ADDED
@@ -0,0 +1,164 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_global_step": 528,
3
+ "best_metric": 0.42326632142066956,
4
+ "best_model_checkpoint": "tinybert_base_train_book_ent_15p_s_init_sst2/checkpoint-528",
5
+ "epoch": 7.0,
6
+ "eval_steps": 500,
7
+ "global_step": 1848,
8
+ "is_hyper_param_search": false,
9
+ "is_local_process_zero": true,
10
+ "is_world_process_zero": true,
11
+ "log_history": [
12
+ {
13
+ "epoch": 1.0,
14
+ "grad_norm": 8.234528541564941,
15
+ "learning_rate": 4.9003787878787885e-05,
16
+ "loss": 0.4327,
17
+ "step": 264
18
+ },
19
+ {
20
+ "epoch": 1.0,
21
+ "eval_accuracy": 0.8142201834862385,
22
+ "eval_loss": 0.42891594767570496,
23
+ "eval_runtime": 0.4846,
24
+ "eval_samples_per_second": 1799.371,
25
+ "eval_steps_per_second": 8.254,
26
+ "step": 264
27
+ },
28
+ {
29
+ "epoch": 2.0,
30
+ "grad_norm": 10.003406524658203,
31
+ "learning_rate": 4.800378787878788e-05,
32
+ "loss": 0.2697,
33
+ "step": 528
34
+ },
35
+ {
36
+ "epoch": 2.0,
37
+ "eval_accuracy": 0.8371559633027523,
38
+ "eval_loss": 0.42326632142066956,
39
+ "eval_runtime": 0.5716,
40
+ "eval_samples_per_second": 1525.65,
41
+ "eval_steps_per_second": 6.998,
42
+ "step": 528
43
+ },
44
+ {
45
+ "epoch": 3.0,
46
+ "grad_norm": 4.7203593254089355,
47
+ "learning_rate": 4.7003787878787884e-05,
48
+ "loss": 0.201,
49
+ "step": 792
50
+ },
51
+ {
52
+ "epoch": 3.0,
53
+ "eval_accuracy": 0.8279816513761468,
54
+ "eval_loss": 0.44505876302719116,
55
+ "eval_runtime": 0.4616,
56
+ "eval_samples_per_second": 1889.032,
57
+ "eval_steps_per_second": 8.665,
58
+ "step": 792
59
+ },
60
+ {
61
+ "epoch": 4.0,
62
+ "grad_norm": 11.59065055847168,
63
+ "learning_rate": 4.600378787878788e-05,
64
+ "loss": 0.1604,
65
+ "step": 1056
66
+ },
67
+ {
68
+ "epoch": 4.0,
69
+ "eval_accuracy": 0.8451834862385321,
70
+ "eval_loss": 0.4601452648639679,
71
+ "eval_runtime": 0.4782,
72
+ "eval_samples_per_second": 1823.658,
73
+ "eval_steps_per_second": 8.365,
74
+ "step": 1056
75
+ },
76
+ {
77
+ "epoch": 5.0,
78
+ "grad_norm": 9.951050758361816,
79
+ "learning_rate": 4.5003787878787876e-05,
80
+ "loss": 0.1338,
81
+ "step": 1320
82
+ },
83
+ {
84
+ "epoch": 5.0,
85
+ "eval_accuracy": 0.8291284403669725,
86
+ "eval_loss": 0.475068598985672,
87
+ "eval_runtime": 0.4604,
88
+ "eval_samples_per_second": 1894.142,
89
+ "eval_steps_per_second": 8.689,
90
+ "step": 1320
91
+ },
92
+ {
93
+ "epoch": 6.0,
94
+ "grad_norm": 10.206764221191406,
95
+ "learning_rate": 4.4003787878787885e-05,
96
+ "loss": 0.1116,
97
+ "step": 1584
98
+ },
99
+ {
100
+ "epoch": 6.0,
101
+ "eval_accuracy": 0.8188073394495413,
102
+ "eval_loss": 0.5976091027259827,
103
+ "eval_runtime": 0.4585,
104
+ "eval_samples_per_second": 1901.705,
105
+ "eval_steps_per_second": 8.723,
106
+ "step": 1584
107
+ },
108
+ {
109
+ "epoch": 7.0,
110
+ "grad_norm": 11.474570274353027,
111
+ "learning_rate": 4.300378787878788e-05,
112
+ "loss": 0.0973,
113
+ "step": 1848
114
+ },
115
+ {
116
+ "epoch": 7.0,
117
+ "eval_accuracy": 0.8360091743119266,
118
+ "eval_loss": 0.5464378595352173,
119
+ "eval_runtime": 0.4503,
120
+ "eval_samples_per_second": 1936.314,
121
+ "eval_steps_per_second": 8.882,
122
+ "step": 1848
123
+ },
124
+ {
125
+ "epoch": 7.0,
126
+ "step": 1848,
127
+ "total_flos": 9322707872572416.0,
128
+ "train_loss": 0.2009547892070952,
129
+ "train_runtime": 356.0592,
130
+ "train_samples_per_second": 9457.557,
131
+ "train_steps_per_second": 37.072
132
+ }
133
+ ],
134
+ "logging_steps": 1,
135
+ "max_steps": 13200,
136
+ "num_input_tokens_seen": 0,
137
+ "num_train_epochs": 50,
138
+ "save_steps": 500,
139
+ "stateful_callbacks": {
140
+ "EarlyStoppingCallback": {
141
+ "args": {
142
+ "early_stopping_patience": 5,
143
+ "early_stopping_threshold": 0.0
144
+ },
145
+ "attributes": {
146
+ "early_stopping_patience_counter": 5
147
+ }
148
+ },
149
+ "TrainerControl": {
150
+ "args": {
151
+ "should_epoch_stop": false,
152
+ "should_evaluate": false,
153
+ "should_log": false,
154
+ "should_save": true,
155
+ "should_training_stop": true
156
+ },
157
+ "attributes": {}
158
+ }
159
+ },
160
+ "total_flos": 9322707872572416.0,
161
+ "train_batch_size": 256,
162
+ "trial_name": null,
163
+ "trial_params": null
164
+ }