bgonzalezbustamante
commited on
Commit
•
36bd98c
1
Parent(s):
21173a3
Upload folder using huggingface_hub
Browse files- README.md +26 -0
- checkpoint-200/config.json +38 -0
- checkpoint-200/model.safetensors +3 -0
- checkpoint-200/optimizer.pt +3 -0
- checkpoint-200/rng_state.pth +3 -0
- checkpoint-200/scheduler.pt +3 -0
- checkpoint-200/trainer_state.json +348 -0
- checkpoint-200/training_args.bin +3 -0
- config.json +38 -0
- merges.txt +0 -0
- model.safetensors +3 -0
- runs/Nov02_01-51-31_r-bgonzalezbustamante-autotrain-kh5afcbo-97d26-43px8/events.out.tfevents.1730512293.r-bgonzalezbustamante-autotrain-kh5afcbo-97d26-43px8.146.0 +2 -2
- runs/Nov02_01-51-31_r-bgonzalezbustamante-autotrain-kh5afcbo-97d26-43px8/events.out.tfevents.1730515098.r-bgonzalezbustamante-autotrain-kh5afcbo-97d26-43px8.146.1 +3 -0
- special_tokens_map.json +51 -0
- tokenizer.json +0 -0
- tokenizer_config.json +57 -0
- training_args.bin +3 -0
- training_params.json +30 -0
- vocab.json +0 -0
README.md
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
---
|
3 |
+
tags:
|
4 |
+
- autotrain
|
5 |
+
- text-classification
|
6 |
+
base_model: cardiffnlp/twitter-roberta-base-sentiment
|
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.4823857545852661
|
17 |
+
|
18 |
+
f1: 0.7666666666666667
|
19 |
+
|
20 |
+
precision: 0.92
|
21 |
+
|
22 |
+
recall: 0.6571428571428571
|
23 |
+
|
24 |
+
auc: 0.8741854636591478
|
25 |
+
|
26 |
+
accuracy: 0.79
|
checkpoint-200/config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment",
|
3 |
+
"_num_labels": 2,
|
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": "NONTOXIC",
|
17 |
+
"1": "TOXIC"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"NONTOXIC": 0,
|
23 |
+
"TOXIC": 1
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-05,
|
26 |
+
"max_position_embeddings": 514,
|
27 |
+
"model_type": "roberta",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"pad_token_id": 1,
|
31 |
+
"position_embedding_type": "absolute",
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.45.0",
|
35 |
+
"type_vocab_size": 1,
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 50265
|
38 |
+
}
|
checkpoint-200/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:82e7b2515677556c3b0b67bcdecd5aec156095c76879421510efbc1c0636c821
|
3 |
+
size 498612824
|
checkpoint-200/optimizer.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57dc1065ee1b9cbd79bf7d2daedafd4661f386bdf6768fb770e7670c3bc6e484
|
3 |
+
size 997339898
|
checkpoint-200/rng_state.pth
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ca27102ed7b9af45002d578b9e983b9865821cee3cd5b539f9e5e209ba7eed74
|
3 |
+
size 13990
|
checkpoint-200/scheduler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7665b28e8c41ee6373fc3b9189263cf3dc093da1e219a5f029ddbd95ebe35e02
|
3 |
+
size 1064
|
checkpoint-200/trainer_state.json
ADDED
@@ -0,0 +1,348 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"best_metric": 0.4823857545852661,
|
3 |
+
"best_model_checkpoint": "ft-roberta-toxicity/checkpoint-200",
|
4 |
+
"epoch": 2.0,
|
5 |
+
"eval_steps": 500,
|
6 |
+
"global_step": 200,
|
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": 3.1541271209716797,
|
14 |
+
"learning_rate": 5e-06,
|
15 |
+
"loss": 0.7051,
|
16 |
+
"step": 5
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"epoch": 0.1,
|
20 |
+
"grad_norm": 4.209589958190918,
|
21 |
+
"learning_rate": 1e-05,
|
22 |
+
"loss": 0.6954,
|
23 |
+
"step": 10
|
24 |
+
},
|
25 |
+
{
|
26 |
+
"epoch": 0.15,
|
27 |
+
"grad_norm": 5.086088180541992,
|
28 |
+
"learning_rate": 1.5e-05,
|
29 |
+
"loss": 0.719,
|
30 |
+
"step": 15
|
31 |
+
},
|
32 |
+
{
|
33 |
+
"epoch": 0.2,
|
34 |
+
"grad_norm": 4.385767936706543,
|
35 |
+
"learning_rate": 2e-05,
|
36 |
+
"loss": 0.6785,
|
37 |
+
"step": 20
|
38 |
+
},
|
39 |
+
{
|
40 |
+
"epoch": 0.25,
|
41 |
+
"grad_norm": 3.3053433895111084,
|
42 |
+
"learning_rate": 2.5e-05,
|
43 |
+
"loss": 0.6874,
|
44 |
+
"step": 25
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"epoch": 0.3,
|
48 |
+
"grad_norm": 2.8885927200317383,
|
49 |
+
"learning_rate": 3e-05,
|
50 |
+
"loss": 0.6988,
|
51 |
+
"step": 30
|
52 |
+
},
|
53 |
+
{
|
54 |
+
"epoch": 0.35,
|
55 |
+
"grad_norm": 2.523589611053467,
|
56 |
+
"learning_rate": 3.5e-05,
|
57 |
+
"loss": 0.7674,
|
58 |
+
"step": 35
|
59 |
+
},
|
60 |
+
{
|
61 |
+
"epoch": 0.4,
|
62 |
+
"grad_norm": 8.986541748046875,
|
63 |
+
"learning_rate": 4e-05,
|
64 |
+
"loss": 0.6891,
|
65 |
+
"step": 40
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"epoch": 0.45,
|
69 |
+
"grad_norm": 6.452502727508545,
|
70 |
+
"learning_rate": 4.5e-05,
|
71 |
+
"loss": 0.8348,
|
72 |
+
"step": 45
|
73 |
+
},
|
74 |
+
{
|
75 |
+
"epoch": 0.5,
|
76 |
+
"grad_norm": 6.318837642669678,
|
77 |
+
"learning_rate": 5e-05,
|
78 |
+
"loss": 0.7019,
|
79 |
+
"step": 50
|
80 |
+
},
|
81 |
+
{
|
82 |
+
"epoch": 0.55,
|
83 |
+
"grad_norm": 3.7034225463867188,
|
84 |
+
"learning_rate": 4.9444444444444446e-05,
|
85 |
+
"loss": 0.65,
|
86 |
+
"step": 55
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"epoch": 0.6,
|
90 |
+
"grad_norm": 3.1009528636932373,
|
91 |
+
"learning_rate": 4.888888888888889e-05,
|
92 |
+
"loss": 0.6593,
|
93 |
+
"step": 60
|
94 |
+
},
|
95 |
+
{
|
96 |
+
"epoch": 0.65,
|
97 |
+
"grad_norm": 7.615400791168213,
|
98 |
+
"learning_rate": 4.8333333333333334e-05,
|
99 |
+
"loss": 0.6755,
|
100 |
+
"step": 65
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"epoch": 0.7,
|
104 |
+
"grad_norm": 3.228475332260132,
|
105 |
+
"learning_rate": 4.7777777777777784e-05,
|
106 |
+
"loss": 0.6034,
|
107 |
+
"step": 70
|
108 |
+
},
|
109 |
+
{
|
110 |
+
"epoch": 0.75,
|
111 |
+
"grad_norm": 4.151826858520508,
|
112 |
+
"learning_rate": 4.722222222222222e-05,
|
113 |
+
"loss": 0.7218,
|
114 |
+
"step": 75
|
115 |
+
},
|
116 |
+
{
|
117 |
+
"epoch": 0.8,
|
118 |
+
"grad_norm": 11.06347370147705,
|
119 |
+
"learning_rate": 4.666666666666667e-05,
|
120 |
+
"loss": 0.7539,
|
121 |
+
"step": 80
|
122 |
+
},
|
123 |
+
{
|
124 |
+
"epoch": 0.85,
|
125 |
+
"grad_norm": 24.23040771484375,
|
126 |
+
"learning_rate": 4.6111111111111115e-05,
|
127 |
+
"loss": 0.6296,
|
128 |
+
"step": 85
|
129 |
+
},
|
130 |
+
{
|
131 |
+
"epoch": 0.9,
|
132 |
+
"grad_norm": 6.828371047973633,
|
133 |
+
"learning_rate": 4.555555555555556e-05,
|
134 |
+
"loss": 0.559,
|
135 |
+
"step": 90
|
136 |
+
},
|
137 |
+
{
|
138 |
+
"epoch": 0.95,
|
139 |
+
"grad_norm": 7.590404510498047,
|
140 |
+
"learning_rate": 4.5e-05,
|
141 |
+
"loss": 0.4996,
|
142 |
+
"step": 95
|
143 |
+
},
|
144 |
+
{
|
145 |
+
"epoch": 1.0,
|
146 |
+
"grad_norm": 51.719970703125,
|
147 |
+
"learning_rate": 4.4444444444444447e-05,
|
148 |
+
"loss": 0.6665,
|
149 |
+
"step": 100
|
150 |
+
},
|
151 |
+
{
|
152 |
+
"epoch": 1.0,
|
153 |
+
"eval_accuracy": 0.715,
|
154 |
+
"eval_auc": 0.795187969924812,
|
155 |
+
"eval_f1": 0.7219512195121951,
|
156 |
+
"eval_loss": 0.5786986351013184,
|
157 |
+
"eval_precision": 0.74,
|
158 |
+
"eval_recall": 0.7047619047619048,
|
159 |
+
"eval_runtime": 32.3877,
|
160 |
+
"eval_samples_per_second": 6.175,
|
161 |
+
"eval_steps_per_second": 0.401,
|
162 |
+
"step": 100
|
163 |
+
},
|
164 |
+
{
|
165 |
+
"epoch": 1.05,
|
166 |
+
"grad_norm": 13.197641372680664,
|
167 |
+
"learning_rate": 4.388888888888889e-05,
|
168 |
+
"loss": 0.6974,
|
169 |
+
"step": 105
|
170 |
+
},
|
171 |
+
{
|
172 |
+
"epoch": 1.1,
|
173 |
+
"grad_norm": 4.645239353179932,
|
174 |
+
"learning_rate": 4.3333333333333334e-05,
|
175 |
+
"loss": 0.4852,
|
176 |
+
"step": 110
|
177 |
+
},
|
178 |
+
{
|
179 |
+
"epoch": 1.15,
|
180 |
+
"grad_norm": 4.36188268661499,
|
181 |
+
"learning_rate": 4.277777777777778e-05,
|
182 |
+
"loss": 0.7566,
|
183 |
+
"step": 115
|
184 |
+
},
|
185 |
+
{
|
186 |
+
"epoch": 1.2,
|
187 |
+
"grad_norm": 6.4677300453186035,
|
188 |
+
"learning_rate": 4.222222222222222e-05,
|
189 |
+
"loss": 0.4989,
|
190 |
+
"step": 120
|
191 |
+
},
|
192 |
+
{
|
193 |
+
"epoch": 1.25,
|
194 |
+
"grad_norm": 6.412233829498291,
|
195 |
+
"learning_rate": 4.166666666666667e-05,
|
196 |
+
"loss": 0.5496,
|
197 |
+
"step": 125
|
198 |
+
},
|
199 |
+
{
|
200 |
+
"epoch": 1.3,
|
201 |
+
"grad_norm": 12.167023658752441,
|
202 |
+
"learning_rate": 4.111111111111111e-05,
|
203 |
+
"loss": 0.5181,
|
204 |
+
"step": 130
|
205 |
+
},
|
206 |
+
{
|
207 |
+
"epoch": 1.35,
|
208 |
+
"grad_norm": 4.28169584274292,
|
209 |
+
"learning_rate": 4.055555555555556e-05,
|
210 |
+
"loss": 0.4636,
|
211 |
+
"step": 135
|
212 |
+
},
|
213 |
+
{
|
214 |
+
"epoch": 1.4,
|
215 |
+
"grad_norm": 20.04325294494629,
|
216 |
+
"learning_rate": 4e-05,
|
217 |
+
"loss": 0.4278,
|
218 |
+
"step": 140
|
219 |
+
},
|
220 |
+
{
|
221 |
+
"epoch": 1.45,
|
222 |
+
"grad_norm": 18.524545669555664,
|
223 |
+
"learning_rate": 3.944444444444445e-05,
|
224 |
+
"loss": 0.574,
|
225 |
+
"step": 145
|
226 |
+
},
|
227 |
+
{
|
228 |
+
"epoch": 1.5,
|
229 |
+
"grad_norm": 12.304378509521484,
|
230 |
+
"learning_rate": 3.888888888888889e-05,
|
231 |
+
"loss": 0.4926,
|
232 |
+
"step": 150
|
233 |
+
},
|
234 |
+
{
|
235 |
+
"epoch": 1.55,
|
236 |
+
"grad_norm": 16.889781951904297,
|
237 |
+
"learning_rate": 3.8333333333333334e-05,
|
238 |
+
"loss": 0.2429,
|
239 |
+
"step": 155
|
240 |
+
},
|
241 |
+
{
|
242 |
+
"epoch": 1.6,
|
243 |
+
"grad_norm": 18.878406524658203,
|
244 |
+
"learning_rate": 3.777777777777778e-05,
|
245 |
+
"loss": 0.4433,
|
246 |
+
"step": 160
|
247 |
+
},
|
248 |
+
{
|
249 |
+
"epoch": 1.65,
|
250 |
+
"grad_norm": 21.254526138305664,
|
251 |
+
"learning_rate": 3.722222222222222e-05,
|
252 |
+
"loss": 0.644,
|
253 |
+
"step": 165
|
254 |
+
},
|
255 |
+
{
|
256 |
+
"epoch": 1.7,
|
257 |
+
"grad_norm": 21.575471878051758,
|
258 |
+
"learning_rate": 3.6666666666666666e-05,
|
259 |
+
"loss": 0.6373,
|
260 |
+
"step": 170
|
261 |
+
},
|
262 |
+
{
|
263 |
+
"epoch": 1.75,
|
264 |
+
"grad_norm": 8.538455963134766,
|
265 |
+
"learning_rate": 3.611111111111111e-05,
|
266 |
+
"loss": 0.5708,
|
267 |
+
"step": 175
|
268 |
+
},
|
269 |
+
{
|
270 |
+
"epoch": 1.8,
|
271 |
+
"grad_norm": 7.5060577392578125,
|
272 |
+
"learning_rate": 3.555555555555556e-05,
|
273 |
+
"loss": 0.7443,
|
274 |
+
"step": 180
|
275 |
+
},
|
276 |
+
{
|
277 |
+
"epoch": 1.85,
|
278 |
+
"grad_norm": 7.51224946975708,
|
279 |
+
"learning_rate": 3.5e-05,
|
280 |
+
"loss": 0.4896,
|
281 |
+
"step": 185
|
282 |
+
},
|
283 |
+
{
|
284 |
+
"epoch": 1.9,
|
285 |
+
"grad_norm": 5.721360683441162,
|
286 |
+
"learning_rate": 3.444444444444445e-05,
|
287 |
+
"loss": 0.544,
|
288 |
+
"step": 190
|
289 |
+
},
|
290 |
+
{
|
291 |
+
"epoch": 1.95,
|
292 |
+
"grad_norm": 6.373270511627197,
|
293 |
+
"learning_rate": 3.388888888888889e-05,
|
294 |
+
"loss": 0.4813,
|
295 |
+
"step": 195
|
296 |
+
},
|
297 |
+
{
|
298 |
+
"epoch": 2.0,
|
299 |
+
"grad_norm": 5.219586372375488,
|
300 |
+
"learning_rate": 3.3333333333333335e-05,
|
301 |
+
"loss": 0.3724,
|
302 |
+
"step": 200
|
303 |
+
},
|
304 |
+
{
|
305 |
+
"epoch": 2.0,
|
306 |
+
"eval_accuracy": 0.79,
|
307 |
+
"eval_auc": 0.8741854636591478,
|
308 |
+
"eval_f1": 0.7666666666666667,
|
309 |
+
"eval_loss": 0.4823857545852661,
|
310 |
+
"eval_precision": 0.92,
|
311 |
+
"eval_recall": 0.6571428571428571,
|
312 |
+
"eval_runtime": 32.4699,
|
313 |
+
"eval_samples_per_second": 6.16,
|
314 |
+
"eval_steps_per_second": 0.4,
|
315 |
+
"step": 200
|
316 |
+
}
|
317 |
+
],
|
318 |
+
"logging_steps": 5,
|
319 |
+
"max_steps": 500,
|
320 |
+
"num_input_tokens_seen": 0,
|
321 |
+
"num_train_epochs": 5,
|
322 |
+
"save_steps": 500,
|
323 |
+
"stateful_callbacks": {
|
324 |
+
"EarlyStoppingCallback": {
|
325 |
+
"args": {
|
326 |
+
"early_stopping_patience": 5,
|
327 |
+
"early_stopping_threshold": 0.01
|
328 |
+
},
|
329 |
+
"attributes": {
|
330 |
+
"early_stopping_patience_counter": 0
|
331 |
+
}
|
332 |
+
},
|
333 |
+
"TrainerControl": {
|
334 |
+
"args": {
|
335 |
+
"should_epoch_stop": false,
|
336 |
+
"should_evaluate": false,
|
337 |
+
"should_log": false,
|
338 |
+
"should_save": true,
|
339 |
+
"should_training_stop": false
|
340 |
+
},
|
341 |
+
"attributes": {}
|
342 |
+
}
|
343 |
+
},
|
344 |
+
"total_flos": 105244422144000.0,
|
345 |
+
"train_batch_size": 8,
|
346 |
+
"trial_name": null,
|
347 |
+
"trial_params": null
|
348 |
+
}
|
checkpoint-200/training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a13b2e7a26fd4167d96c783d7e8d167a265cee625cae53843427363df4363159
|
3 |
+
size 5240
|
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "cardiffnlp/twitter-roberta-base-sentiment",
|
3 |
+
"_num_labels": 2,
|
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": "NONTOXIC",
|
17 |
+
"1": "TOXIC"
|
18 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"NONTOXIC": 0,
|
23 |
+
"TOXIC": 1
|
24 |
+
},
|
25 |
+
"layer_norm_eps": 1e-05,
|
26 |
+
"max_position_embeddings": 514,
|
27 |
+
"model_type": "roberta",
|
28 |
+
"num_attention_heads": 12,
|
29 |
+
"num_hidden_layers": 12,
|
30 |
+
"pad_token_id": 1,
|
31 |
+
"position_embedding_type": "absolute",
|
32 |
+
"problem_type": "single_label_classification",
|
33 |
+
"torch_dtype": "float32",
|
34 |
+
"transformers_version": "4.45.0",
|
35 |
+
"type_vocab_size": 1,
|
36 |
+
"use_cache": true,
|
37 |
+
"vocab_size": 50265
|
38 |
+
}
|
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:82e7b2515677556c3b0b67bcdecd5aec156095c76879421510efbc1c0636c821
|
3 |
+
size 498612824
|
runs/Nov02_01-51-31_r-bgonzalezbustamante-autotrain-kh5afcbo-97d26-43px8/events.out.tfevents.1730512293.r-bgonzalezbustamante-autotrain-kh5afcbo-97d26-43px8.146.0
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:625c91cddcad7722e74ff1fdd46abe7a2c189e33057b429438523eb7d69cd6bd
|
3 |
+
size 29127
|
runs/Nov02_01-51-31_r-bgonzalezbustamante-autotrain-kh5afcbo-97d26-43px8/events.out.tfevents.1730515098.r-bgonzalezbustamante-autotrain-kh5afcbo-97d26-43px8.146.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:487a690392a39d2b894e1c1938eea00d2222af4e0fc4183eea7eacf86a1109a3
|
3 |
+
size 607
|
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": true,
|
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:a13b2e7a26fd4167d96c783d7e8d167a265cee625cae53843427363df4363159
|
3 |
+
size 5240
|
training_params.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"data_path": "ft-roberta-toxicity/autotrain-data",
|
3 |
+
"model": "cardiffnlp/twitter-roberta-base-sentiment",
|
4 |
+
"lr": 5e-05,
|
5 |
+
"epochs": 5,
|
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": "ft-roberta-toxicity",
|
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": "bgonzalezbustamante",
|
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
|
|