End of training
Browse files- README.md +74 -74
- config.json +38 -38
- model.safetensors +1 -1
- special_tokens_map.json +51 -51
- tokenizer_config.json +54 -54
- 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:
|
23 |
-
- Accuracy: 0.
|
24 |
-
- F1: 0.
|
25 |
-
- Precision: 0.
|
26 |
-
- Recall: 0.
|
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:
|
47 |
-
- eval_batch_size:
|
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.
|
58 |
-
| 0.
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
-
| 0.
|
64 |
-
| 0.
|
65 |
-
| 0.
|
66 |
-
| 0.
|
67 |
-
|
68 |
-
|
69 |
-
### Framework versions
|
70 |
-
|
71 |
-
- Transformers 4.43.
|
72 |
-
- Pytorch 2.0
|
73 |
-
- Datasets 2.
|
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.
|
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:
|
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:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f8215af0631b88ecb29fcaad30bb1a316c44de69a5431917b26327e762b67634
|
3 |
+
size 5112
|