Luasmontesinos
commited on
Training complete
Browse files- README.md +10 -15
- config.json +10 -13
- merges.txt +0 -0
- model.safetensors +2 -2
- special_tokens_map.json +49 -5
- tokenizer.json +0 -0
- tokenizer_config.json +29 -22
- training_args.bin +1 -1
- vocab.json +0 -0
README.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
-
|
|
|
4 |
tags:
|
5 |
- classification
|
6 |
- generated_from_trainer
|
@@ -16,10 +17,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
16 |
|
17 |
# clasificador-tweets
|
18 |
|
19 |
-
This model is a fine-tuned version of [
|
20 |
It achieves the following results on the evaluation set:
|
21 |
-
- Loss: 1.
|
22 |
-
- Accuracy: 0.
|
23 |
|
24 |
## Model description
|
25 |
|
@@ -44,22 +45,16 @@ 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.
|
54 |
-
| No log | 2.0 | 46 | 1.
|
55 |
-
| No log | 3.0 | 69 | 1.
|
56 |
-
| No log | 4.0 | 92 | 1.
|
57 |
-
| No log | 5.0 | 115 | 1.1773 | 0.6383 |
|
58 |
-
| No log | 6.0 | 138 | 1.1364 | 0.6383 |
|
59 |
-
| No log | 7.0 | 161 | 1.1633 | 0.6596 |
|
60 |
-
| No log | 8.0 | 184 | 1.1439 | 0.6809 |
|
61 |
-
| No log | 9.0 | 207 | 1.1955 | 0.6170 |
|
62 |
-
| No log | 10.0 | 230 | 1.1770 | 0.7021 |
|
63 |
|
64 |
|
65 |
### Framework versions
|
|
|
1 |
---
|
2 |
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: SamLowe/roberta-base-go_emotions
|
5 |
tags:
|
6 |
- classification
|
7 |
- generated_from_trainer
|
|
|
17 |
|
18 |
# clasificador-tweets
|
19 |
|
20 |
+
This model is a fine-tuned version of [SamLowe/roberta-base-go_emotions](https://huggingface.co/SamLowe/roberta-base-go_emotions) on an unknown dataset.
|
21 |
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 1.6660
|
23 |
+
- Accuracy: 0.3830
|
24 |
|
25 |
## Model description
|
26 |
|
|
|
45 |
- seed: 42
|
46 |
- optimizer: Use adamw_torch with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
47 |
- lr_scheduler_type: linear
|
48 |
+
- num_epochs: 4
|
49 |
|
50 |
### Training results
|
51 |
|
52 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
53 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
54 |
+
| No log | 1.0 | 23 | 1.7741 | 0.3404 |
|
55 |
+
| No log | 2.0 | 46 | 1.7247 | 0.3404 |
|
56 |
+
| No log | 3.0 | 69 | 1.6892 | 0.3830 |
|
57 |
+
| No log | 4.0 | 92 | 1.6660 | 0.3830 |
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
|
59 |
|
60 |
### Framework versions
|
config.json
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
7 |
"classifier_dropout": null,
|
8 |
-
"
|
9 |
"hidden_act": "gelu",
|
10 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
@@ -31,21 +32,17 @@
|
|
31 |
"LABEL_6": 6,
|
32 |
"LABEL_7": 7
|
33 |
},
|
34 |
-
"layer_norm_eps": 1e-
|
35 |
-
"max_position_embeddings":
|
36 |
-
"model_type": "
|
37 |
"num_attention_heads": 12,
|
38 |
"num_hidden_layers": 12,
|
39 |
-
"pad_token_id":
|
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",
|
45 |
-
"summary_use_proj": true,
|
46 |
"torch_dtype": "float32",
|
47 |
"transformers_version": "4.47.1",
|
48 |
-
"type_vocab_size":
|
49 |
"use_cache": true,
|
50 |
-
"vocab_size":
|
51 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "SamLowe/roberta-base-go_emotions",
|
3 |
"architectures": [
|
4 |
+
"RobertaForSequenceClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"bos_token_id": 0,
|
8 |
"classifier_dropout": null,
|
9 |
+
"eos_token_id": 2,
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
"hidden_size": 768,
|
|
|
32 |
"LABEL_6": 6,
|
33 |
"LABEL_7": 7
|
34 |
},
|
35 |
+
"layer_norm_eps": 1e-05,
|
36 |
+
"max_position_embeddings": 514,
|
37 |
+
"model_type": "roberta",
|
38 |
"num_attention_heads": 12,
|
39 |
"num_hidden_layers": 12,
|
40 |
+
"pad_token_id": 1,
|
41 |
"position_embedding_type": "absolute",
|
42 |
"problem_type": "single_label_classification",
|
|
|
|
|
|
|
|
|
43 |
"torch_dtype": "float32",
|
44 |
"transformers_version": "4.47.1",
|
45 |
+
"type_vocab_size": 1,
|
46 |
"use_cache": true,
|
47 |
+
"vocab_size": 50265
|
48 |
}
|
merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
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:2a0ef4312d1d9419ed6697d3ca2a7ab1397835a9cf6e085eb8e5fbd103615668
|
3 |
+
size 498631280
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,51 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<s>",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"cls_token": {
|
10 |
+
"content": "<s>",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"eos_token": {
|
17 |
+
"content": "</s>",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
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": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
},
|
37 |
+
"sep_token": {
|
38 |
+
"content": "</s>",
|
39 |
+
"lstrip": false,
|
40 |
+
"normalized": false,
|
41 |
+
"rstrip": false,
|
42 |
+
"single_word": false
|
43 |
+
},
|
44 |
+
"unk_token": {
|
45 |
+
"content": "<unk>",
|
46 |
+
"lstrip": false,
|
47 |
+
"normalized": false,
|
48 |
+
"rstrip": false,
|
49 |
+
"single_word": false
|
50 |
+
}
|
51 |
}
|
tokenizer.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
{
|
|
|
2 |
"added_tokens_decoder": {
|
3 |
"0": {
|
4 |
-
"content": "
|
5 |
"lstrip": false,
|
6 |
"normalized": false,
|
7 |
"rstrip": false,
|
@@ -9,50 +10,56 @@
|
|
9 |
"special": true
|
10 |
},
|
11 |
"1": {
|
12 |
-
"content": "
|
13 |
"lstrip": false,
|
14 |
"normalized": false,
|
15 |
"rstrip": false,
|
16 |
"single_word": false,
|
17 |
"special": true
|
18 |
},
|
19 |
-
"
|
20 |
-
"content": "
|
21 |
"lstrip": false,
|
22 |
"normalized": false,
|
23 |
"rstrip": false,
|
24 |
"single_word": false,
|
25 |
"special": true
|
26 |
},
|
27 |
-
"
|
28 |
-
"content": "
|
29 |
"lstrip": false,
|
30 |
"normalized": false,
|
31 |
"rstrip": false,
|
32 |
"single_word": false,
|
33 |
"special": true
|
34 |
},
|
35 |
-
"
|
36 |
-
"content": "
|
37 |
-
"lstrip":
|
38 |
"normalized": false,
|
39 |
"rstrip": false,
|
40 |
"single_word": false,
|
41 |
"special": true
|
42 |
}
|
43 |
},
|
44 |
-
"
|
45 |
-
"
|
46 |
-
"
|
47 |
-
"
|
|
|
48 |
"extra_special_tokens": {},
|
49 |
-
"mask_token": "
|
50 |
-
"
|
51 |
-
"
|
52 |
-
"
|
53 |
-
"
|
54 |
-
"
|
55 |
-
"
|
56 |
-
"
|
57 |
-
"
|
|
|
|
|
|
|
|
|
|
|
58 |
}
|
|
|
1 |
{
|
2 |
+
"add_prefix_space": false,
|
3 |
"added_tokens_decoder": {
|
4 |
"0": {
|
5 |
+
"content": "<s>",
|
6 |
"lstrip": false,
|
7 |
"normalized": false,
|
8 |
"rstrip": false,
|
|
|
10 |
"special": true
|
11 |
},
|
12 |
"1": {
|
13 |
+
"content": "<pad>",
|
14 |
"lstrip": false,
|
15 |
"normalized": false,
|
16 |
"rstrip": false,
|
17 |
"single_word": false,
|
18 |
"special": true
|
19 |
},
|
20 |
+
"2": {
|
21 |
+
"content": "</s>",
|
22 |
"lstrip": false,
|
23 |
"normalized": false,
|
24 |
"rstrip": false,
|
25 |
"single_word": false,
|
26 |
"special": true
|
27 |
},
|
28 |
+
"3": {
|
29 |
+
"content": "<unk>",
|
30 |
"lstrip": false,
|
31 |
"normalized": false,
|
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 |
+
"max_length": 128,
|
53 |
+
"model_max_length": 512,
|
54 |
+
"pad_to_multiple_of": null,
|
55 |
+
"pad_token": "<pad>",
|
56 |
+
"pad_token_type_id": 0,
|
57 |
+
"padding_side": "right",
|
58 |
+
"sep_token": "</s>",
|
59 |
+
"stride": 0,
|
60 |
+
"tokenizer_class": "RobertaTokenizer",
|
61 |
+
"trim_offsets": true,
|
62 |
+
"truncation_side": "right",
|
63 |
+
"truncation_strategy": "longest_first",
|
64 |
+
"unk_token": "<unk>"
|
65 |
}
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 5304
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ada6e21c566c01d1b9cbf86722cceddad350117b43a76b0d140f60d1977d550b
|
3 |
size 5304
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|