zkava01 commited on
Commit
a233c59
·
verified ·
1 Parent(s): 222edea

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ ---
3
+ library_name: transformers
4
+ tags:
5
+ - autotrain
6
+ - text-classification
7
+ base_model: cardiffnlp/twitter-roberta-base-sentiment-latest
8
+ widget:
9
+ - text: "I love AutoTrain"
10
+ ---
11
+
12
+ # Model Trained Using AutoTrain
13
+
14
+ - Problem type: Text Classification
15
+
16
+ ## Validation Metrics
17
+ loss: 0.8140808343887329
18
+
19
+ f1_macro: 0.7169680062645076
20
+
21
+ f1_micro: 0.71875
22
+
23
+ f1_weighted: 0.719803137322762
24
+
25
+ precision_macro: 0.7124963414309661
26
+
27
+ precision_micro: 0.71875
28
+
29
+ precision_weighted: 0.7473707776787377
30
+
31
+ recall_macro: 0.7500480606863587
32
+
33
+ recall_micro: 0.71875
34
+
35
+ recall_weighted: 0.71875
36
+
37
+ accuracy: 0.71875
checkpoint-80/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.48.0",
37
+ "type_vocab_size": 1,
38
+ "use_cache": true,
39
+ "vocab_size": 50265
40
+ }
checkpoint-80/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e9083bd210e4d4772f1bce2f66ed18f552bbf9047e33d005ff38d4af90e5e36
3
+ size 498615900
checkpoint-80/optimizer.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe3d21090b5d737ed9032462567fa846de986510a99c3f0fa6d40bf849e12d23
3
+ size 997346042
checkpoint-80/rng_state.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:296b5dd209c91172d90aaf742cae48c299e6b91c0a27ce509cd26e772895f1d0
3
+ size 13990
checkpoint-80/scheduler.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49063e9d618d7aeba60f83d7ea8dd17dcea5220d4d1f483236bf62e8ad0ca98d
3
+ size 1064
checkpoint-80/trainer_state.json ADDED
@@ -0,0 +1,200 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "best_metric": 0.8140808343887329,
3
+ "best_model_checkpoint": "autotrain-g8xiw-ebx5n/checkpoint-80",
4
+ "epoch": 1.0,
5
+ "eval_steps": 500,
6
+ "global_step": 80,
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.05,
13
+ "grad_norm": 18.177003860473633,
14
+ "learning_rate": 8.333333333333334e-06,
15
+ "loss": 0.7215,
16
+ "step": 4
17
+ },
18
+ {
19
+ "epoch": 0.1,
20
+ "grad_norm": 25.83134651184082,
21
+ "learning_rate": 1.6666666666666667e-05,
22
+ "loss": 0.9735,
23
+ "step": 8
24
+ },
25
+ {
26
+ "epoch": 0.15,
27
+ "grad_norm": 28.273202896118164,
28
+ "learning_rate": 2.5e-05,
29
+ "loss": 0.9053,
30
+ "step": 12
31
+ },
32
+ {
33
+ "epoch": 0.2,
34
+ "grad_norm": 77.66250610351562,
35
+ "learning_rate": 3.3333333333333335e-05,
36
+ "loss": 0.7484,
37
+ "step": 16
38
+ },
39
+ {
40
+ "epoch": 0.25,
41
+ "grad_norm": 78.92176055908203,
42
+ "learning_rate": 4.166666666666667e-05,
43
+ "loss": 0.8162,
44
+ "step": 20
45
+ },
46
+ {
47
+ "epoch": 0.3,
48
+ "grad_norm": 24.40717315673828,
49
+ "learning_rate": 5e-05,
50
+ "loss": 1.2395,
51
+ "step": 24
52
+ },
53
+ {
54
+ "epoch": 0.35,
55
+ "grad_norm": 20.296764373779297,
56
+ "learning_rate": 4.9074074074074075e-05,
57
+ "loss": 1.2468,
58
+ "step": 28
59
+ },
60
+ {
61
+ "epoch": 0.4,
62
+ "grad_norm": 17.20810890197754,
63
+ "learning_rate": 4.814814814814815e-05,
64
+ "loss": 0.7842,
65
+ "step": 32
66
+ },
67
+ {
68
+ "epoch": 0.45,
69
+ "grad_norm": 13.720386505126953,
70
+ "learning_rate": 4.722222222222222e-05,
71
+ "loss": 0.8349,
72
+ "step": 36
73
+ },
74
+ {
75
+ "epoch": 0.5,
76
+ "grad_norm": 19.7871150970459,
77
+ "learning_rate": 4.62962962962963e-05,
78
+ "loss": 0.6975,
79
+ "step": 40
80
+ },
81
+ {
82
+ "epoch": 0.55,
83
+ "grad_norm": 8.968467712402344,
84
+ "learning_rate": 4.5370370370370374e-05,
85
+ "loss": 0.6712,
86
+ "step": 44
87
+ },
88
+ {
89
+ "epoch": 0.6,
90
+ "grad_norm": 14.593846321105957,
91
+ "learning_rate": 4.4444444444444447e-05,
92
+ "loss": 0.6436,
93
+ "step": 48
94
+ },
95
+ {
96
+ "epoch": 0.65,
97
+ "grad_norm": 32.06483459472656,
98
+ "learning_rate": 4.351851851851852e-05,
99
+ "loss": 0.5649,
100
+ "step": 52
101
+ },
102
+ {
103
+ "epoch": 0.7,
104
+ "grad_norm": 13.875551223754883,
105
+ "learning_rate": 4.259259259259259e-05,
106
+ "loss": 0.5657,
107
+ "step": 56
108
+ },
109
+ {
110
+ "epoch": 0.75,
111
+ "grad_norm": 15.4502534866333,
112
+ "learning_rate": 4.166666666666667e-05,
113
+ "loss": 0.6948,
114
+ "step": 60
115
+ },
116
+ {
117
+ "epoch": 0.8,
118
+ "grad_norm": 42.757694244384766,
119
+ "learning_rate": 4.074074074074074e-05,
120
+ "loss": 0.9738,
121
+ "step": 64
122
+ },
123
+ {
124
+ "epoch": 0.85,
125
+ "grad_norm": 21.160280227661133,
126
+ "learning_rate": 3.981481481481482e-05,
127
+ "loss": 0.6472,
128
+ "step": 68
129
+ },
130
+ {
131
+ "epoch": 0.9,
132
+ "grad_norm": 11.125871658325195,
133
+ "learning_rate": 3.888888888888889e-05,
134
+ "loss": 0.9644,
135
+ "step": 72
136
+ },
137
+ {
138
+ "epoch": 0.95,
139
+ "grad_norm": 11.052087783813477,
140
+ "learning_rate": 3.7962962962962964e-05,
141
+ "loss": 0.5686,
142
+ "step": 76
143
+ },
144
+ {
145
+ "epoch": 1.0,
146
+ "grad_norm": 8.721762657165527,
147
+ "learning_rate": 3.7037037037037037e-05,
148
+ "loss": 0.3979,
149
+ "step": 80
150
+ },
151
+ {
152
+ "epoch": 1.0,
153
+ "eval_accuracy": 0.71875,
154
+ "eval_f1_macro": 0.7169680062645076,
155
+ "eval_f1_micro": 0.71875,
156
+ "eval_f1_weighted": 0.719803137322762,
157
+ "eval_loss": 0.8140808343887329,
158
+ "eval_precision_macro": 0.7124963414309661,
159
+ "eval_precision_micro": 0.71875,
160
+ "eval_precision_weighted": 0.7473707776787377,
161
+ "eval_recall_macro": 0.7500480606863587,
162
+ "eval_recall_micro": 0.71875,
163
+ "eval_recall_weighted": 0.71875,
164
+ "eval_runtime": 27.1736,
165
+ "eval_samples_per_second": 5.888,
166
+ "eval_steps_per_second": 0.368,
167
+ "step": 80
168
+ }
169
+ ],
170
+ "logging_steps": 4,
171
+ "max_steps": 240,
172
+ "num_input_tokens_seen": 0,
173
+ "num_train_epochs": 3,
174
+ "save_steps": 500,
175
+ "stateful_callbacks": {
176
+ "EarlyStoppingCallback": {
177
+ "args": {
178
+ "early_stopping_patience": 5,
179
+ "early_stopping_threshold": 0.01
180
+ },
181
+ "attributes": {
182
+ "early_stopping_patience_counter": 0
183
+ }
184
+ },
185
+ "TrainerControl": {
186
+ "args": {
187
+ "should_epoch_stop": false,
188
+ "should_evaluate": false,
189
+ "should_log": false,
190
+ "should_save": true,
191
+ "should_training_stop": false
192
+ },
193
+ "attributes": {}
194
+ }
195
+ },
196
+ "total_flos": 41835033418752.0,
197
+ "train_batch_size": 8,
198
+ "trial_name": null,
199
+ "trial_params": null
200
+ }
checkpoint-80/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48faa3cc650669e79fd7c891f81f64918604bf46f4dce4c803a36b30cea721fe
3
+ size 5368
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.48.0",
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:2e9083bd210e4d4772f1bce2f66ed18f552bbf9047e33d005ff38d4af90e5e36
3
+ size 498615900
runs/Feb07_15-43-47_r-zkava01-economictonenyt-7q1i7oti-59abe-qnhjp/events.out.tfevents.1738943029.r-zkava01-economictonenyt-7q1i7oti-59abe-qnhjp.107.0 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:650beae524e08734a4e9d5240738cfda288f2d9b943fd337f514a48af577add7
3
- size 18047
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7a223944f88f79001474b64e95eb5286dcc3b0f9e6b1bd5853e317c63a0e563
3
+ size 20711
runs/Feb07_15-43-47_r-zkava01-economictonenyt-7q1i7oti-59abe-qnhjp/events.out.tfevents.1738944456.r-zkava01-economictonenyt-7q1i7oti-59abe-qnhjp.107.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:736e143ec9d61e21715cb3a3bf46ff25ce5bb7afbce0ec203e807cf1ec1d495f
3
+ size 921
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "extra_special_tokens": {},
51
+ "mask_token": "<mask>",
52
+ "model_max_length": 1000000000000000019884624838656,
53
+ "pad_token": "<pad>",
54
+ "sep_token": "</s>",
55
+ "tokenizer_class": "RobertaTokenizer",
56
+ "trim_offsets": true,
57
+ "unk_token": "<unk>"
58
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:48faa3cc650669e79fd7c891f81f64918604bf46f4dce4c803a36b30cea721fe
3
+ size 5368
training_params.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "data_path": "autotrain-g8xiw-ebx5n/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": "autotrain-g8xiw-ebx5n",
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