Modelo de clasificación de tweets
Browse files- README.md +1 -23
- config.json +2 -5
- model.safetensors +2 -2
- runs/Jan09_18-50-09_f873932dfc5b/events.out.tfevents.1736448653.f873932dfc5b.1306.0 +3 -0
- tokenizer.json +2 -14
- training_args.bin +2 -2
README.md
CHANGED
@@ -2,10 +2,7 @@
|
|
2 |
library_name: transformers
|
3 |
base_model: mrm8488/electricidad-base-discriminator
|
4 |
tags:
|
5 |
-
- classification
|
6 |
- generated_from_trainer
|
7 |
-
metrics:
|
8 |
-
- accuracy
|
9 |
model-index:
|
10 |
- name: clasificador-tweets
|
11 |
results: []
|
@@ -17,9 +14,6 @@ should probably proofread and complete it, then remove this comment. -->
|
|
17 |
# clasificador-tweets
|
18 |
|
19 |
This model is a fine-tuned version of [mrm8488/electricidad-base-discriminator](https://huggingface.co/mrm8488/electricidad-base-discriminator) on an unknown dataset.
|
20 |
-
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 1.0256
|
22 |
-
- Accuracy: 0.7021
|
23 |
|
24 |
## Model description
|
25 |
|
@@ -44,23 +38,7 @@ The following hyperparameters were used during training:
|
|
44 |
- seed: 42
|
45 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
46 |
- lr_scheduler_type: linear
|
47 |
-
- num_epochs:
|
48 |
-
|
49 |
-
### Training results
|
50 |
-
|
51 |
-
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
-
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
-
| No log | 1.0 | 23 | 1.7696 | 0.3404 |
|
54 |
-
| No log | 2.0 | 46 | 1.5945 | 0.4255 |
|
55 |
-
| No log | 3.0 | 69 | 1.3513 | 0.5745 |
|
56 |
-
| No log | 4.0 | 92 | 1.1753 | 0.6170 |
|
57 |
-
| No log | 5.0 | 115 | 1.1159 | 0.7021 |
|
58 |
-
| No log | 6.0 | 138 | 1.0493 | 0.6809 |
|
59 |
-
| No log | 7.0 | 161 | 1.0481 | 0.6383 |
|
60 |
-
| No log | 8.0 | 184 | 1.0136 | 0.7234 |
|
61 |
-
| No log | 9.0 | 207 | 1.0259 | 0.7234 |
|
62 |
-
| No log | 10.0 | 230 | 1.0256 | 0.7021 |
|
63 |
-
|
64 |
|
65 |
### Framework versions
|
66 |
|
|
|
2 |
library_name: transformers
|
3 |
base_model: mrm8488/electricidad-base-discriminator
|
4 |
tags:
|
|
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
model-index:
|
7 |
- name: clasificador-tweets
|
8 |
results: []
|
|
|
14 |
# clasificador-tweets
|
15 |
|
16 |
This model is a fine-tuned version of [mrm8488/electricidad-base-discriminator](https://huggingface.co/mrm8488/electricidad-base-discriminator) on an unknown dataset.
|
|
|
|
|
|
|
17 |
|
18 |
## Model description
|
19 |
|
|
|
38 |
- seed: 42
|
39 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
40 |
- lr_scheduler_type: linear
|
41 |
+
- num_epochs: 3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
|
43 |
### Framework versions
|
44 |
|
config.json
CHANGED
@@ -16,8 +16,7 @@
|
|
16 |
"3": "LABEL_3",
|
17 |
"4": "LABEL_4",
|
18 |
"5": "LABEL_5",
|
19 |
-
"6": "LABEL_6"
|
20 |
-
"7": "LABEL_7"
|
21 |
},
|
22 |
"initializer_range": 0.02,
|
23 |
"intermediate_size": 3072,
|
@@ -28,8 +27,7 @@
|
|
28 |
"LABEL_3": 3,
|
29 |
"LABEL_4": 4,
|
30 |
"LABEL_5": 5,
|
31 |
-
"LABEL_6": 6
|
32 |
-
"LABEL_7": 7
|
33 |
},
|
34 |
"layer_norm_eps": 1e-12,
|
35 |
"max_position_embeddings": 512,
|
@@ -38,7 +36,6 @@
|
|
38 |
"num_hidden_layers": 12,
|
39 |
"pad_token_id": 0,
|
40 |
"position_embedding_type": "absolute",
|
41 |
-
"problem_type": "single_label_classification",
|
42 |
"summary_activation": "gelu",
|
43 |
"summary_last_dropout": 0.1,
|
44 |
"summary_type": "first",
|
|
|
16 |
"3": "LABEL_3",
|
17 |
"4": "LABEL_4",
|
18 |
"5": "LABEL_5",
|
19 |
+
"6": "LABEL_6"
|
|
|
20 |
},
|
21 |
"initializer_range": 0.02,
|
22 |
"intermediate_size": 3072,
|
|
|
27 |
"LABEL_3": 3,
|
28 |
"LABEL_4": 4,
|
29 |
"LABEL_5": 5,
|
30 |
+
"LABEL_6": 6
|
|
|
31 |
},
|
32 |
"layer_norm_eps": 1e-12,
|
33 |
"max_position_embeddings": 512,
|
|
|
36 |
"num_hidden_layers": 12,
|
37 |
"pad_token_id": 0,
|
38 |
"position_embedding_type": "absolute",
|
|
|
39 |
"summary_activation": "gelu",
|
40 |
"summary_last_dropout": 0.1,
|
41 |
"summary_type": "first",
|
model.safetensors
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:67cecc9272d0252f1b10a31e59fb7b35610ffb05a4eb795035fb792041ae1c65
|
3 |
+
size 439449188
|
runs/Jan09_18-50-09_f873932dfc5b/events.out.tfevents.1736448653.f873932dfc5b.1306.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2da016ea1e55105a38394e5248de6466f1970732de1a27a9f710d002bf3927ca
|
3 |
+
size 5501
|
tokenizer.json
CHANGED
@@ -1,19 +1,7 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
4 |
-
|
5 |
-
"max_length": 128,
|
6 |
-
"strategy": "LongestFirst",
|
7 |
-
"stride": 0
|
8 |
-
},
|
9 |
-
"padding": {
|
10 |
-
"strategy": "BatchLongest",
|
11 |
-
"direction": "Right",
|
12 |
-
"pad_to_multiple_of": null,
|
13 |
-
"pad_id": 1,
|
14 |
-
"pad_type_id": 0,
|
15 |
-
"pad_token": "[PAD]"
|
16 |
-
},
|
17 |
"added_tokens": [
|
18 |
{
|
19 |
"id": 0,
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": null,
|
4 |
+
"padding": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"added_tokens": [
|
6 |
{
|
7 |
"id": 0,
|
training_args.bin
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:86c998f0cdde7c26abadc3480aa6003bf96e4cb76cd83cdeddb727adfb2b9645
|
3 |
+
size 5368
|