alecmontero commited on
Commit
f3e1f38
·
verified ·
1 Parent(s): c42b5a9

End of training

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: pysentimiento/robertuito-sentiment-analysis
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - precision
8
+ - recall
9
+ model-index:
10
+ - name: roBERTuito-Meta4Types-ft-ES
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # roBERTuito-Meta4Types-ft-ES
18
+
19
+ This model is a fine-tuned version of [pysentimiento/robertuito-sentiment-analysis](https://huggingface.co/pysentimiento/robertuito-sentiment-analysis) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 0.8547
22
+ - Roc Auc: 0.6496
23
+ - Hamming Loss: 0.1830
24
+ - F1 Score: 0.5653
25
+ - Accuracy: 0.5931
26
+ - Precision: 0.6214
27
+ - Recall: 0.5298
28
+
29
+ ## Model description
30
+
31
+ More information needed
32
+
33
+ ## Intended uses & limitations
34
+
35
+ More information needed
36
+
37
+ ## Training and evaluation data
38
+
39
+ More information needed
40
+
41
+ ## Training procedure
42
+
43
+ ### Training hyperparameters
44
+
45
+ The following hyperparameters were used during training:
46
+ - learning_rate: 5e-05
47
+ - train_batch_size: 4
48
+ - eval_batch_size: 4
49
+ - seed: 42
50
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
51
+ - lr_scheduler_type: linear
52
+ - lr_scheduler_warmup_steps: 500
53
+ - num_epochs: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | Roc Auc | Hamming Loss | F1 Score | Accuracy | Precision | Recall |
58
+ |:-------------:|:-----:|:----:|:---------------:|:-------:|:------------:|:--------:|:--------:|:---------:|:------:|
59
+ | No log | 1.0 | 204 | 0.5044 | 0.5 | 0.2026 | 0.2930 | 0.6176 | 0.9281 | 0.3333 |
60
+ | No log | 2.0 | 408 | 0.4634 | 0.5717 | 0.1961 | 0.4829 | 0.6225 | 0.5819 | 0.4651 |
61
+ | 0.4697 | 3.0 | 612 | 0.4784 | 0.6173 | 0.1748 | 0.4993 | 0.6275 | 0.8438 | 0.4596 |
62
+ | 0.4697 | 4.0 | 816 | 0.6585 | 0.6129 | 0.2124 | 0.5351 | 0.5539 | 0.5456 | 0.5279 |
63
+ | 0.1464 | 5.0 | 1020 | 0.8070 | 0.5891 | 0.2010 | 0.4963 | 0.6078 | 0.5732 | 0.4703 |
64
+ | 0.1464 | 6.0 | 1224 | 0.7848 | 0.6094 | 0.1912 | 0.5294 | 0.5735 | 0.5916 | 0.4989 |
65
+ | 0.1464 | 7.0 | 1428 | 0.8547 | 0.6496 | 0.1830 | 0.5653 | 0.5931 | 0.6214 | 0.5298 |
66
+ | 0.0278 | 8.0 | 1632 | 0.9068 | 0.6152 | 0.1846 | 0.5396 | 0.5784 | 0.6114 | 0.5064 |
67
+ | 0.0278 | 9.0 | 1836 | 0.9251 | 0.6110 | 0.1961 | 0.5258 | 0.5588 | 0.5674 | 0.5023 |
68
+ | 0.0029 | 10.0 | 2040 | 0.9343 | 0.6146 | 0.1944 | 0.5276 | 0.5686 | 0.5751 | 0.5002 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.43.3
74
+ - Pytorch 2.3.1+cu121
75
+ - Datasets 2.20.0
76
+ - Tokenizers 0.19.1
config.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "pysentimiento/robertuito-sentiment-analysis",
3
+ "architectures": [
4
+ "RobertaForMultilabelSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
9
+ "eos_token_id": 2,
10
+ "gradient_checkpointing": false,
11
+ "hidden_act": "gelu",
12
+ "hidden_dropout_prob": 0.1,
13
+ "hidden_size": 768,
14
+ "id2label": {
15
+ "0": "NEG",
16
+ "1": "NEU",
17
+ "2": "POS"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "intermediate_size": 3072,
21
+ "label2id": {
22
+ "NEG": 0,
23
+ "NEU": 1,
24
+ "POS": 2
25
+ },
26
+ "layer_norm_eps": 1e-12,
27
+ "max_position_embeddings": 130,
28
+ "model_type": "roberta",
29
+ "num_attention_heads": 12,
30
+ "num_hidden_layers": 12,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "single_label_classification",
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.43.3",
36
+ "type_vocab_size": 1,
37
+ "use_cache": true,
38
+ "vocab_size": 30002
39
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:247f6dd57ea871bfe67dc674b13eaa544338182bf1e88b3a87e9f387c76fd4a8
3
+ size 435188268
special_tokens_map.json ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": false,
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 ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<s>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "<pad>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "</s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "4": {
36
+ "content": "<mask>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "430": {
44
+ "content": "@usuario",
45
+ "lstrip": false,
46
+ "normalized": true,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": false
50
+ },
51
+ "27394": {
52
+ "content": "url",
53
+ "lstrip": false,
54
+ "normalized": true,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": false
58
+ },
59
+ "30000": {
60
+ "content": "hashtag",
61
+ "lstrip": false,
62
+ "normalized": true,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": false
66
+ },
67
+ "30001": {
68
+ "content": "emoji",
69
+ "lstrip": false,
70
+ "normalized": true,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": false
74
+ }
75
+ },
76
+ "bos_token": "<s>",
77
+ "clean_up_tokenization_spaces": true,
78
+ "cls_token": "<s>",
79
+ "eos_token": "</s>",
80
+ "mask_token": "<mask>",
81
+ "max_length": 128,
82
+ "model_max_length": 128,
83
+ "pad_token": "<pad>",
84
+ "sep_token": "</s>",
85
+ "stride": 0,
86
+ "tokenizer_class": "PreTrainedTokenizerFast",
87
+ "truncation_side": "right",
88
+ "truncation_strategy": "longest_first",
89
+ "unk_token": "<unk>"
90
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:db1ec68de1b76cef0b79329144872436467bf76a8566e875679fcd4fd541ae3f
3
+ size 5176