zkava01 commited on
Commit
02e42a3
1 Parent(s): ca51cb1

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ tags:
4
+ - autotrain
5
+ - text-classification
6
+ base_model: cardiffnlp/twitter-roberta-base-sentiment-latest
7
+ widget:
8
+ - text: "I love AutoTrain"
9
+ ---
10
+
11
+ # Model Trained Using AutoTrain
12
+
13
+ - Problem type: Text Classification
14
+
15
+ ## Validation Metrics
16
+ loss: 0.17190960049629211
17
+
18
+ f1_macro: 0.9521367521367522
19
+
20
+ f1_micro: 0.9375
21
+
22
+ f1_weighted: 0.9378205128205128
23
+
24
+ precision_macro: 0.9523809523809524
25
+
26
+ precision_micro: 0.9375
27
+
28
+ precision_weighted: 0.9464285714285714
29
+
30
+ recall_macro: 0.9583333333333334
31
+
32
+ recall_micro: 0.9375
33
+
34
+ recall_weighted: 0.9375
35
+
36
+ accuracy: 0.9375
checkpoint-24/config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment-latest",
3
+ "_num_labels": 3,
4
+ "architectures": [
5
+ "RobertaForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "0",
17
+ "1": "1",
18
+ "2": "2"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "0": 0,
24
+ "1": 1,
25
+ "2": 2
26
+ },
27
+ "layer_norm_eps": 1e-05,
28
+ "max_position_embeddings": 514,
29
+ "model_type": "roberta",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 1,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.46.2",
37
+ "type_vocab_size": 1,
38
+ "use_cache": true,
39
+ "vocab_size": 50265
40
+ }
checkpoint-24/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cccf5c0910813c2faa4f1e81cfcfdfd4eef906615c1ccf118bdc72367dd0e4c4
3
+ size 498615900
checkpoint-24/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad347cd27fd17d5ee90ec22316594341f7dd8fcffb0ea955d50baf9c67fa1e8b
3
+ size 997346042
checkpoint-24/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:146d7c867acb15d0f5e9ccada703d4ab48e0a2c1b775236873b3b46f650a470b
3
+ size 13990
checkpoint-24/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4125a99ce223336389179846164efbb632a48ee9f07ff7b83fd310857676db47
3
+ size 1064
checkpoint-24/trainer_state.json ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.17190960049629211,
3
+ "best_model_checkpoint": "firstparagraph/checkpoint-24",
4
+ "epoch": 3.0,
5
+ "eval_steps": 500,
6
+ "global_step": 24,
7
+ "is_hyper_param_search": false,
8
+ "is_local_process_zero": true,
9
+ "is_world_process_zero": true,
10
+ "log_history": [
11
+ {
12
+ "epoch": 0.125,
13
+ "grad_norm": 25.121994018554688,
14
+ "learning_rate": 1.6666666666666667e-05,
15
+ "loss": 0.6721,
16
+ "step": 1
17
+ },
18
+ {
19
+ "epoch": 0.25,
20
+ "grad_norm": 18.93373680114746,
21
+ "learning_rate": 3.3333333333333335e-05,
22
+ "loss": 0.8281,
23
+ "step": 2
24
+ },
25
+ {
26
+ "epoch": 0.375,
27
+ "grad_norm": 38.99924087524414,
28
+ "learning_rate": 5e-05,
29
+ "loss": 1.0106,
30
+ "step": 3
31
+ },
32
+ {
33
+ "epoch": 0.5,
34
+ "grad_norm": 16.744102478027344,
35
+ "learning_rate": 4.761904761904762e-05,
36
+ "loss": 0.6273,
37
+ "step": 4
38
+ },
39
+ {
40
+ "epoch": 0.625,
41
+ "grad_norm": 38.71282196044922,
42
+ "learning_rate": 4.523809523809524e-05,
43
+ "loss": 1.035,
44
+ "step": 5
45
+ },
46
+ {
47
+ "epoch": 0.75,
48
+ "grad_norm": 27.912067413330078,
49
+ "learning_rate": 4.2857142857142856e-05,
50
+ "loss": 1.2093,
51
+ "step": 6
52
+ },
53
+ {
54
+ "epoch": 0.875,
55
+ "grad_norm": 10.65064811706543,
56
+ "learning_rate": 4.047619047619048e-05,
57
+ "loss": 0.8038,
58
+ "step": 7
59
+ },
60
+ {
61
+ "epoch": 1.0,
62
+ "grad_norm": 7.035674571990967,
63
+ "learning_rate": 3.809523809523809e-05,
64
+ "loss": 0.3203,
65
+ "step": 8
66
+ },
67
+ {
68
+ "epoch": 1.0,
69
+ "eval_accuracy": 0.625,
70
+ "eval_f1_macro": 0.5904761904761905,
71
+ "eval_f1_micro": 0.625,
72
+ "eval_f1_weighted": 0.6214285714285714,
73
+ "eval_loss": 0.6885449886322021,
74
+ "eval_precision_macro": 0.5857142857142857,
75
+ "eval_precision_micro": 0.625,
76
+ "eval_precision_weighted": 0.6660714285714286,
77
+ "eval_recall_macro": 0.6944444444444443,
78
+ "eval_recall_micro": 0.625,
79
+ "eval_recall_weighted": 0.625,
80
+ "eval_runtime": 4.7789,
81
+ "eval_samples_per_second": 3.348,
82
+ "eval_steps_per_second": 0.209,
83
+ "step": 8
84
+ },
85
+ {
86
+ "epoch": 1.125,
87
+ "grad_norm": 14.902674674987793,
88
+ "learning_rate": 3.571428571428572e-05,
89
+ "loss": 0.5841,
90
+ "step": 9
91
+ },
92
+ {
93
+ "epoch": 1.25,
94
+ "grad_norm": 11.219338417053223,
95
+ "learning_rate": 3.3333333333333335e-05,
96
+ "loss": 0.3689,
97
+ "step": 10
98
+ },
99
+ {
100
+ "epoch": 1.375,
101
+ "grad_norm": 14.7273588180542,
102
+ "learning_rate": 3.095238095238095e-05,
103
+ "loss": 0.4076,
104
+ "step": 11
105
+ },
106
+ {
107
+ "epoch": 1.5,
108
+ "grad_norm": 20.348325729370117,
109
+ "learning_rate": 2.857142857142857e-05,
110
+ "loss": 0.4607,
111
+ "step": 12
112
+ },
113
+ {
114
+ "epoch": 1.625,
115
+ "grad_norm": 7.504858493804932,
116
+ "learning_rate": 2.6190476190476192e-05,
117
+ "loss": 0.2815,
118
+ "step": 13
119
+ },
120
+ {
121
+ "epoch": 1.75,
122
+ "grad_norm": 11.642386436462402,
123
+ "learning_rate": 2.380952380952381e-05,
124
+ "loss": 0.2483,
125
+ "step": 14
126
+ },
127
+ {
128
+ "epoch": 1.875,
129
+ "grad_norm": 9.98347282409668,
130
+ "learning_rate": 2.1428571428571428e-05,
131
+ "loss": 0.1843,
132
+ "step": 15
133
+ },
134
+ {
135
+ "epoch": 2.0,
136
+ "grad_norm": 13.617571830749512,
137
+ "learning_rate": 1.9047619047619046e-05,
138
+ "loss": 0.3504,
139
+ "step": 16
140
+ },
141
+ {
142
+ "epoch": 2.0,
143
+ "eval_accuracy": 0.875,
144
+ "eval_f1_macro": 0.9047619047619048,
145
+ "eval_f1_micro": 0.875,
146
+ "eval_f1_weighted": 0.875,
147
+ "eval_loss": 0.2879645526409149,
148
+ "eval_precision_macro": 0.9166666666666666,
149
+ "eval_precision_micro": 0.875,
150
+ "eval_precision_weighted": 0.90625,
151
+ "eval_recall_macro": 0.9166666666666666,
152
+ "eval_recall_micro": 0.875,
153
+ "eval_recall_weighted": 0.875,
154
+ "eval_runtime": 4.6651,
155
+ "eval_samples_per_second": 3.43,
156
+ "eval_steps_per_second": 0.214,
157
+ "step": 16
158
+ },
159
+ {
160
+ "epoch": 2.125,
161
+ "grad_norm": 8.915639877319336,
162
+ "learning_rate": 1.6666666666666667e-05,
163
+ "loss": 0.1485,
164
+ "step": 17
165
+ },
166
+ {
167
+ "epoch": 2.25,
168
+ "grad_norm": 3.445385217666626,
169
+ "learning_rate": 1.4285714285714285e-05,
170
+ "loss": 0.0882,
171
+ "step": 18
172
+ },
173
+ {
174
+ "epoch": 2.375,
175
+ "grad_norm": 4.290743350982666,
176
+ "learning_rate": 1.1904761904761905e-05,
177
+ "loss": 0.0859,
178
+ "step": 19
179
+ },
180
+ {
181
+ "epoch": 2.5,
182
+ "grad_norm": 5.496181011199951,
183
+ "learning_rate": 9.523809523809523e-06,
184
+ "loss": 0.1354,
185
+ "step": 20
186
+ },
187
+ {
188
+ "epoch": 2.625,
189
+ "grad_norm": 13.18715763092041,
190
+ "learning_rate": 7.142857142857143e-06,
191
+ "loss": 0.1897,
192
+ "step": 21
193
+ },
194
+ {
195
+ "epoch": 2.75,
196
+ "grad_norm": 28.582820892333984,
197
+ "learning_rate": 4.7619047619047615e-06,
198
+ "loss": 0.2239,
199
+ "step": 22
200
+ },
201
+ {
202
+ "epoch": 2.875,
203
+ "grad_norm": 3.829745292663574,
204
+ "learning_rate": 2.3809523809523808e-06,
205
+ "loss": 0.0806,
206
+ "step": 23
207
+ },
208
+ {
209
+ "epoch": 3.0,
210
+ "grad_norm": 2.7107293605804443,
211
+ "learning_rate": 0.0,
212
+ "loss": 0.0605,
213
+ "step": 24
214
+ },
215
+ {
216
+ "epoch": 3.0,
217
+ "eval_accuracy": 0.9375,
218
+ "eval_f1_macro": 0.9521367521367522,
219
+ "eval_f1_micro": 0.9375,
220
+ "eval_f1_weighted": 0.9378205128205128,
221
+ "eval_loss": 0.17190960049629211,
222
+ "eval_precision_macro": 0.9523809523809524,
223
+ "eval_precision_micro": 0.9375,
224
+ "eval_precision_weighted": 0.9464285714285714,
225
+ "eval_recall_macro": 0.9583333333333334,
226
+ "eval_recall_micro": 0.9375,
227
+ "eval_recall_weighted": 0.9375,
228
+ "eval_runtime": 3.7456,
229
+ "eval_samples_per_second": 4.272,
230
+ "eval_steps_per_second": 0.267,
231
+ "step": 24
232
+ }
233
+ ],
234
+ "logging_steps": 1,
235
+ "max_steps": 24,
236
+ "num_input_tokens_seen": 0,
237
+ "num_train_epochs": 3,
238
+ "save_steps": 500,
239
+ "stateful_callbacks": {
240
+ "EarlyStoppingCallback": {
241
+ "args": {
242
+ "early_stopping_patience": 5,
243
+ "early_stopping_threshold": 0.01
244
+ },
245
+ "attributes": {
246
+ "early_stopping_patience_counter": 0
247
+ }
248
+ },
249
+ "TrainerControl": {
250
+ "args": {
251
+ "should_epoch_stop": false,
252
+ "should_evaluate": false,
253
+ "should_log": false,
254
+ "should_save": true,
255
+ "should_training_stop": true
256
+ },
257
+ "attributes": {}
258
+ }
259
+ },
260
+ "total_flos": 12432108987648.0,
261
+ "train_batch_size": 8,
262
+ "trial_name": null,
263
+ "trial_params": null
264
+ }
checkpoint-24/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bde3bf9d822488987d48561d658e1b795fc84643a4cfd674b23803d9f78f8d56
3
+ size 5304
config.json ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment-latest",
3
+ "_num_labels": 3,
4
+ "architectures": [
5
+ "RobertaForSequenceClassification"
6
+ ],
7
+ "attention_probs_dropout_prob": 0.1,
8
+ "bos_token_id": 0,
9
+ "classifier_dropout": null,
10
+ "eos_token_id": 2,
11
+ "gradient_checkpointing": false,
12
+ "hidden_act": "gelu",
13
+ "hidden_dropout_prob": 0.1,
14
+ "hidden_size": 768,
15
+ "id2label": {
16
+ "0": "0",
17
+ "1": "1",
18
+ "2": "2"
19
+ },
20
+ "initializer_range": 0.02,
21
+ "intermediate_size": 3072,
22
+ "label2id": {
23
+ "0": 0,
24
+ "1": 1,
25
+ "2": 2
26
+ },
27
+ "layer_norm_eps": 1e-05,
28
+ "max_position_embeddings": 514,
29
+ "model_type": "roberta",
30
+ "num_attention_heads": 12,
31
+ "num_hidden_layers": 12,
32
+ "pad_token_id": 1,
33
+ "position_embedding_type": "absolute",
34
+ "problem_type": "single_label_classification",
35
+ "torch_dtype": "float32",
36
+ "transformers_version": "4.46.2",
37
+ "type_vocab_size": 1,
38
+ "use_cache": true,
39
+ "vocab_size": 50265
40
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cccf5c0910813c2faa4f1e81cfcfdfd4eef906615c1ccf118bdc72367dd0e4c4
3
+ size 498615900
runs/Nov21_20-09-02_r-zkava01-headlinesonly-c0e0w45t-ed2c4-eenl1/events.out.tfevents.1732219746.r-zkava01-headlinesonly-c0e0w45t-ed2c4-eenl1.136.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:4b0aa7497cdeaf26f8e2358c3287e770d832760283d9157a3dc08420f7c4c100
3
- size 5315
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:21f9b74ca35ed5d8d9bd01fbf6278dee101873df63d590d58e4cae2d0ad2b4a7
3
+ size 13085
runs/Nov21_20-09-02_r-zkava01-headlinesonly-c0e0w45t-ed2c4-eenl1/events.out.tfevents.1732219967.r-zkava01-headlinesonly-c0e0w45t-ed2c4-eenl1.136.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3ae49b3ce840c9af7b9a1165ae1ad4a9ad07d5a79916b1d2d6c25e132aa8f350
3
+ size 906
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "cls_token": {
10
+ "content": "<s>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "eos_token": {
17
+ "content": "</s>",
18
+ "lstrip": false,
19
+ "normalized": true,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ },
23
+ "mask_token": {
24
+ "content": "<mask>",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": false,
28
+ "single_word": false
29
+ },
30
+ "pad_token": {
31
+ "content": "<pad>",
32
+ "lstrip": false,
33
+ "normalized": true,
34
+ "rstrip": false,
35
+ "single_word": false
36
+ },
37
+ "sep_token": {
38
+ "content": "</s>",
39
+ "lstrip": false,
40
+ "normalized": true,
41
+ "rstrip": false,
42
+ "single_word": false
43
+ },
44
+ "unk_token": {
45
+ "content": "<unk>",
46
+ "lstrip": false,
47
+ "normalized": true,
48
+ "rstrip": false,
49
+ "single_word": false
50
+ }
51
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "<s>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "<pad>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "</s>",
22
+ "lstrip": false,
23
+ "normalized": true,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "<unk>",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "50264": {
37
+ "content": "<mask>",
38
+ "lstrip": true,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "<s>",
46
+ "clean_up_tokenization_spaces": false,
47
+ "cls_token": "<s>",
48
+ "eos_token": "</s>",
49
+ "errors": "replace",
50
+ "mask_token": "<mask>",
51
+ "model_max_length": 1000000000000000019884624838656,
52
+ "pad_token": "<pad>",
53
+ "sep_token": "</s>",
54
+ "tokenizer_class": "RobertaTokenizer",
55
+ "trim_offsets": true,
56
+ "unk_token": "<unk>"
57
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bde3bf9d822488987d48561d658e1b795fc84643a4cfd674b23803d9f78f8d56
3
+ size 5304
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "firstparagraph/autotrain-data",
3
+ "model": "cardiffnlp/twitter-roberta-base-sentiment-latest",
4
+ "lr": 5e-05,
5
+ "epochs": 3,
6
+ "max_seq_length": 128,
7
+ "batch_size": 8,
8
+ "warmup_ratio": 0.1,
9
+ "gradient_accumulation": 1,
10
+ "optimizer": "adamw_torch",
11
+ "scheduler": "linear",
12
+ "weight_decay": 0.0,
13
+ "max_grad_norm": 1.0,
14
+ "seed": 42,
15
+ "train_split": "train",
16
+ "valid_split": "validation",
17
+ "text_column": "autotrain_text",
18
+ "target_column": "autotrain_label",
19
+ "logging_steps": -1,
20
+ "project_name": "firstparagraph",
21
+ "auto_find_batch_size": false,
22
+ "mixed_precision": "fp16",
23
+ "save_total_limit": 1,
24
+ "push_to_hub": true,
25
+ "eval_strategy": "epoch",
26
+ "username": "zkava01",
27
+ "log": "tensorboard",
28
+ "early_stopping_patience": 5,
29
+ "early_stopping_threshold": 0.01
30
+ }
vocab.json ADDED
The diff for this file is too large to render. See raw diff