raulgdp commited on
Commit
1e582a1
1 Parent(s): 5c7840e

End of training

Browse files
Files changed (6) hide show
  1. README.md +74 -74
  2. config.json +38 -38
  3. model.safetensors +1 -1
  4. special_tokens_map.json +51 -51
  5. tokenizer_config.json +54 -54
  6. training_args.bin +2 -2
README.md CHANGED
@@ -1,74 +1,74 @@
1
- ---
2
- base_model: daveni/twitter-xlm-roberta-emotion-es
3
- tags:
4
- - generated_from_trainer
5
- metrics:
6
- - accuracy
7
- - f1
8
- - precision
9
- - recall
10
- model-index:
11
- - name: base
12
- results: []
13
- ---
14
-
15
- <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
- should probably proofread and complete it, then remove this comment. -->
17
-
18
- # base
19
-
20
- This model is a fine-tuned version of [daveni/twitter-xlm-roberta-emotion-es](https://huggingface.co/daveni/twitter-xlm-roberta-emotion-es) on an unknown dataset.
21
- It achieves the following results on the evaluation set:
22
- - Loss: 0.9425
23
- - Accuracy: 0.8465
24
- - F1: 0.8
25
- - Precision: 0.8667
26
- - Recall: 0.7429
27
-
28
- ## Model description
29
-
30
- More information needed
31
-
32
- ## Intended uses & limitations
33
-
34
- More information needed
35
-
36
- ## Training and evaluation data
37
-
38
- More information needed
39
-
40
- ## Training procedure
41
-
42
- ### Training hyperparameters
43
-
44
- The following hyperparameters were used during training:
45
- - learning_rate: 5e-05
46
- - train_batch_size: 16
47
- - eval_batch_size: 8
48
- - seed: 42
49
- - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
- - lr_scheduler_type: linear
51
- - num_epochs: 10
52
-
53
- ### Training results
54
-
55
- | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
56
- |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
57
- | 0.6431 | 1.0 | 64 | 0.5474 | 0.7362 | 0.6171 | 0.7714 | 0.5143 |
58
- | 0.4576 | 2.0 | 128 | 0.5103 | 0.7795 | 0.7358 | 0.7290 | 0.7429 |
59
- | 0.2933 | 3.0 | 192 | 0.5647 | 0.8228 | 0.7619 | 0.8571 | 0.6857 |
60
- | 0.198 | 4.0 | 256 | 0.6377 | 0.8346 | 0.7742 | 0.8889 | 0.6857 |
61
- | 0.113 | 5.0 | 320 | 0.6867 | 0.8504 | 0.7935 | 0.9241 | 0.6952 |
62
- | 0.057 | 6.0 | 384 | 0.8875 | 0.8189 | 0.7788 | 0.7864 | 0.7714 |
63
- | 0.0282 | 7.0 | 448 | 0.9361 | 0.8346 | 0.7879 | 0.8387 | 0.7429 |
64
- | 0.0234 | 8.0 | 512 | 1.0229 | 0.8228 | 0.7826 | 0.7941 | 0.7714 |
65
- | 0.0095 | 9.0 | 576 | 0.9131 | 0.8622 | 0.8168 | 0.9070 | 0.7429 |
66
- | 0.0101 | 10.0 | 640 | 0.9425 | 0.8465 | 0.8 | 0.8667 | 0.7429 |
67
-
68
-
69
- ### Framework versions
70
-
71
- - Transformers 4.43.0.dev0
72
- - Pytorch 2.0.1+cu117
73
- - Datasets 2.19.1
74
- - Tokenizers 0.19.1
 
1
+ ---
2
+ base_model: daveni/twitter-xlm-roberta-emotion-es
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - accuracy
7
+ - f1
8
+ - precision
9
+ - recall
10
+ model-index:
11
+ - name: base
12
+ results: []
13
+ ---
14
+
15
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
16
+ should probably proofread and complete it, then remove this comment. -->
17
+
18
+ # base
19
+
20
+ This model is a fine-tuned version of [daveni/twitter-xlm-roberta-emotion-es](https://huggingface.co/daveni/twitter-xlm-roberta-emotion-es) on an unknown dataset.
21
+ It achieves the following results on the evaluation set:
22
+ - Loss: 1.1501
23
+ - Accuracy: 0.8346
24
+ - F1: 0.7717
25
+ - Precision: 0.8987
26
+ - Recall: 0.6762
27
+
28
+ ## Model description
29
+
30
+ More information needed
31
+
32
+ ## Intended uses & limitations
33
+
34
+ More information needed
35
+
36
+ ## Training and evaluation data
37
+
38
+ More information needed
39
+
40
+ ## Training procedure
41
+
42
+ ### Training hyperparameters
43
+
44
+ The following hyperparameters were used during training:
45
+ - learning_rate: 5e-05
46
+ - train_batch_size: 32
47
+ - eval_batch_size: 16
48
+ - seed: 42
49
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
50
+ - lr_scheduler_type: linear
51
+ - num_epochs: 10
52
+
53
+ ### Training results
54
+
55
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
56
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
57
+ | 0.6694 | 1.0 | 32 | 0.6008 | 0.6969 | 0.4901 | 0.8043 | 0.3524 |
58
+ | 0.5305 | 2.0 | 64 | 0.4786 | 0.7795 | 0.6854 | 0.8356 | 0.5810 |
59
+ | 0.3457 | 3.0 | 96 | 0.4456 | 0.8031 | 0.7788 | 0.7273 | 0.8381 |
60
+ | 0.2513 | 4.0 | 128 | 0.5167 | 0.8307 | 0.7725 | 0.8690 | 0.6952 |
61
+ | 0.1725 | 5.0 | 160 | 0.6917 | 0.8189 | 0.7604 | 0.8391 | 0.6952 |
62
+ | 0.0974 | 6.0 | 192 | 0.7955 | 0.8228 | 0.7619 | 0.8571 | 0.6857 |
63
+ | 0.042 | 7.0 | 224 | 0.8829 | 0.8346 | 0.7766 | 0.8795 | 0.6952 |
64
+ | 0.014 | 8.0 | 256 | 0.9991 | 0.8189 | 0.7653 | 0.8242 | 0.7143 |
65
+ | 0.0103 | 9.0 | 288 | 1.1313 | 0.8346 | 0.7717 | 0.8987 | 0.6762 |
66
+ | 0.0194 | 10.0 | 320 | 1.1501 | 0.8346 | 0.7717 | 0.8987 | 0.6762 |
67
+
68
+
69
+ ### Framework versions
70
+
71
+ - Transformers 4.43.3
72
+ - Pytorch 2.4.0
73
+ - Datasets 2.20.0
74
+ - Tokenizers 0.19.1
config.json CHANGED
@@ -1,38 +1,38 @@
1
- {
2
- "_name_or_path": "daveni/twitter-xlm-roberta-emotion-es",
3
- "architectures": [
4
- "XLMRobertaForSequenceClassification"
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": "NEGATIVE",
16
- "1": "POSITIVE"
17
- },
18
- "initializer_range": 0.02,
19
- "intermediate_size": 3072,
20
- "label2id": {
21
- "NEGATIVE": 0,
22
- "POSITIVE": 1
23
- },
24
- "layer_norm_eps": 1e-05,
25
- "max_position_embeddings": 514,
26
- "model_type": "xlm-roberta",
27
- "num_attention_heads": 12,
28
- "num_hidden_layers": 12,
29
- "output_past": true,
30
- "pad_token_id": 1,
31
- "position_embedding_type": "absolute",
32
- "problem_type": "single_label_classification",
33
- "torch_dtype": "float32",
34
- "transformers_version": "4.43.0.dev0",
35
- "type_vocab_size": 1,
36
- "use_cache": true,
37
- "vocab_size": 250002
38
- }
 
1
+ {
2
+ "_name_or_path": "daveni/twitter-xlm-roberta-emotion-es",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassification"
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": "NEGATIVE",
16
+ "1": "POSITIVE"
17
+ },
18
+ "initializer_range": 0.02,
19
+ "intermediate_size": 3072,
20
+ "label2id": {
21
+ "NEGATIVE": 0,
22
+ "POSITIVE": 1
23
+ },
24
+ "layer_norm_eps": 1e-05,
25
+ "max_position_embeddings": 514,
26
+ "model_type": "xlm-roberta",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "output_past": true,
30
+ "pad_token_id": 1,
31
+ "position_embedding_type": "absolute",
32
+ "problem_type": "single_label_classification",
33
+ "torch_dtype": "float32",
34
+ "transformers_version": "4.43.3",
35
+ "type_vocab_size": 1,
36
+ "use_cache": true,
37
+ "vocab_size": 250002
38
+ }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0348eec658e1d96f07cdd0e21fa4b10f8521fceba28b4684377823df4a7da290
3
  size 1112205008
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5a9fffa6f344efb3fb79ab79827cc3292c701d0b19fc83961cd95fb1a24daed
3
  size 1112205008
special_tokens_map.json CHANGED
@@ -1,51 +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": 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
- }
 
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_config.json CHANGED
@@ -1,54 +1,54 @@
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
- "250001": {
36
- "content": "<mask>",
37
- "lstrip": true,
38
- "normalized": false,
39
- "rstrip": false,
40
- "single_word": false,
41
- "special": true
42
- }
43
- },
44
- "bos_token": "<s>",
45
- "clean_up_tokenization_spaces": true,
46
- "cls_token": "<s>",
47
- "eos_token": "</s>",
48
- "mask_token": "<mask>",
49
- "model_max_length": 1000000000000000019884624838656,
50
- "pad_token": "<pad>",
51
- "sep_token": "</s>",
52
- "tokenizer_class": "XLMRobertaTokenizer",
53
- "unk_token": "<unk>"
54
- }
 
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
+ "250001": {
36
+ "content": "<mask>",
37
+ "lstrip": true,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "bos_token": "<s>",
45
+ "clean_up_tokenization_spaces": true,
46
+ "cls_token": "<s>",
47
+ "eos_token": "</s>",
48
+ "mask_token": "<mask>",
49
+ "model_max_length": 1000000000000000019884624838656,
50
+ "pad_token": "<pad>",
51
+ "sep_token": "</s>",
52
+ "tokenizer_class": "XLMRobertaTokenizer",
53
+ "unk_token": "<unk>"
54
+ }
training_args.bin CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bd6cb7ce499a3de2aca196efa66551465a13a5a89d1d65fc966b9216831fce00
3
- size 4667
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8215af0631b88ecb29fcaad30bb1a316c44de69a5431917b26327e762b67634
3
+ size 5112