syafiqfaray
commited on
Commit
•
b24f977
1
Parent(s):
4754a9d
End of training
Browse files- README.md +56 -0
- added_tokens.json +8 -0
- config.json +39 -0
- model.safetensors +3 -0
- special_tokens_map.json +7 -0
- tokenizer.json +0 -0
- tokenizer_config.json +113 -0
- training_args.bin +3 -0
- vocab.txt +0 -0
README.md
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- generated_from_trainer
|
4 |
+
model-index:
|
5 |
+
- name: spanemo-id-pretrained
|
6 |
+
results: []
|
7 |
+
---
|
8 |
+
|
9 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
10 |
+
should probably proofread and complete it, then remove this comment. -->
|
11 |
+
|
12 |
+
# spanemo-id-pretrained
|
13 |
+
|
14 |
+
This model is a fine-tuned version of [](https://huggingface.co/) on an unknown dataset.
|
15 |
+
It achieves the following results on the evaluation set:
|
16 |
+
- eval_loss: 0.6842
|
17 |
+
- eval_f1_Macro: 0.1747
|
18 |
+
- eval_f1_Micro: 0.1934
|
19 |
+
- eval_js: 0.0851
|
20 |
+
- eval_hamming_loss: 0.4428
|
21 |
+
- eval_runtime: 5.5759
|
22 |
+
- eval_samples_per_second: 151.007
|
23 |
+
- eval_steps_per_second: 4.842
|
24 |
+
- step: 0
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 2e-05
|
44 |
+
- train_batch_size: 32
|
45 |
+
- eval_batch_size: 32
|
46 |
+
- seed: 42
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 10
|
50 |
+
|
51 |
+
### Framework versions
|
52 |
+
|
53 |
+
- Transformers 4.40.0.dev0
|
54 |
+
- Pytorch 2.2.1+cu121
|
55 |
+
- Datasets 2.18.1.dev0
|
56 |
+
- Tokenizers 0.15.2
|
added_tokens.json
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"anger": 31928,
|
3 |
+
"disgust": 31927,
|
4 |
+
"fear": 31926,
|
5 |
+
"happiness": 31925,
|
6 |
+
"sadness": 31924,
|
7 |
+
"surprise": 31923
|
8 |
+
}
|
config.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"SpanEmo"
|
4 |
+
],
|
5 |
+
"embedding_vocab_size": 31929,
|
6 |
+
"id2label": {
|
7 |
+
"0": "surprise",
|
8 |
+
"1": "sadness",
|
9 |
+
"2": "like",
|
10 |
+
"3": "happiness",
|
11 |
+
"4": "fear",
|
12 |
+
"5": "disgust",
|
13 |
+
"6": "anger"
|
14 |
+
},
|
15 |
+
"inter_loss_factor": 0.0,
|
16 |
+
"label2id": {
|
17 |
+
"anger": 6,
|
18 |
+
"disgust": 5,
|
19 |
+
"fear": 4,
|
20 |
+
"happiness": 3,
|
21 |
+
"like": 2,
|
22 |
+
"sadness": 1,
|
23 |
+
"surprise": 0
|
24 |
+
},
|
25 |
+
"label_idxs": [
|
26 |
+
1,
|
27 |
+
2,
|
28 |
+
3,
|
29 |
+
4,
|
30 |
+
5,
|
31 |
+
6,
|
32 |
+
7
|
33 |
+
],
|
34 |
+
"model_type": "spanemo",
|
35 |
+
"output_dropout": 0.1,
|
36 |
+
"torch_dtype": "float32",
|
37 |
+
"transformers_version": "4.40.0.dev0",
|
38 |
+
"zlpr_loss_factor": 0.0
|
39 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7efdaac2068430a8dd009e48e137d32bf76131f7c5f6c9dfeb9061bb14b703af
|
3 |
+
size 444641028
|
special_tokens_map.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"cls_token": "[CLS]",
|
3 |
+
"mask_token": "[MASK]",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"sep_token": "[SEP]",
|
6 |
+
"unk_token": "[UNK]"
|
7 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"0": {
|
4 |
+
"content": "[PAD]",
|
5 |
+
"lstrip": false,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": false,
|
8 |
+
"single_word": false,
|
9 |
+
"special": true
|
10 |
+
},
|
11 |
+
"1": {
|
12 |
+
"content": "[UNK]",
|
13 |
+
"lstrip": false,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": false,
|
16 |
+
"single_word": false,
|
17 |
+
"special": true
|
18 |
+
},
|
19 |
+
"2": {
|
20 |
+
"content": "[MASK]",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"3": {
|
28 |
+
"content": "[CLS]",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
},
|
35 |
+
"4": {
|
36 |
+
"content": "[SEP]",
|
37 |
+
"lstrip": false,
|
38 |
+
"normalized": false,
|
39 |
+
"rstrip": false,
|
40 |
+
"single_word": false,
|
41 |
+
"special": true
|
42 |
+
},
|
43 |
+
"16094": {
|
44 |
+
"content": "like",
|
45 |
+
"lstrip": false,
|
46 |
+
"normalized": true,
|
47 |
+
"rstrip": false,
|
48 |
+
"single_word": false,
|
49 |
+
"special": false
|
50 |
+
},
|
51 |
+
"31923": {
|
52 |
+
"content": "surprise",
|
53 |
+
"lstrip": false,
|
54 |
+
"normalized": true,
|
55 |
+
"rstrip": false,
|
56 |
+
"single_word": false,
|
57 |
+
"special": false
|
58 |
+
},
|
59 |
+
"31924": {
|
60 |
+
"content": "sadness",
|
61 |
+
"lstrip": false,
|
62 |
+
"normalized": true,
|
63 |
+
"rstrip": false,
|
64 |
+
"single_word": false,
|
65 |
+
"special": false
|
66 |
+
},
|
67 |
+
"31925": {
|
68 |
+
"content": "happiness",
|
69 |
+
"lstrip": false,
|
70 |
+
"normalized": true,
|
71 |
+
"rstrip": false,
|
72 |
+
"single_word": false,
|
73 |
+
"special": false
|
74 |
+
},
|
75 |
+
"31926": {
|
76 |
+
"content": "fear",
|
77 |
+
"lstrip": false,
|
78 |
+
"normalized": true,
|
79 |
+
"rstrip": false,
|
80 |
+
"single_word": false,
|
81 |
+
"special": false
|
82 |
+
},
|
83 |
+
"31927": {
|
84 |
+
"content": "disgust",
|
85 |
+
"lstrip": false,
|
86 |
+
"normalized": true,
|
87 |
+
"rstrip": false,
|
88 |
+
"single_word": false,
|
89 |
+
"special": false
|
90 |
+
},
|
91 |
+
"31928": {
|
92 |
+
"content": "anger",
|
93 |
+
"lstrip": false,
|
94 |
+
"normalized": true,
|
95 |
+
"rstrip": false,
|
96 |
+
"single_word": false,
|
97 |
+
"special": false
|
98 |
+
}
|
99 |
+
},
|
100 |
+
"clean_up_tokenization_spaces": true,
|
101 |
+
"cls_token": "[CLS]",
|
102 |
+
"do_basic_tokenize": true,
|
103 |
+
"do_lower_case": true,
|
104 |
+
"mask_token": "[MASK]",
|
105 |
+
"model_max_length": 1000000000000000019884624838656,
|
106 |
+
"never_split": null,
|
107 |
+
"pad_token": "[PAD]",
|
108 |
+
"sep_token": "[SEP]",
|
109 |
+
"strip_accents": null,
|
110 |
+
"tokenize_chinese_chars": true,
|
111 |
+
"tokenizer_class": "BertTokenizer",
|
112 |
+
"unk_token": "[UNK]"
|
113 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:087abc3ac0d986f5415123340840a51bbc4229d63024859c7d8cd7e8bd7956ee
|
3 |
+
size 5048
|
vocab.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|