End of training
Browse files- README.md +9 -9
- config.json +1 -1
- model.safetensors +1 -1
- special_tokens_map.json +35 -5
- tokenizer_config.json +7 -0
README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
-
base_model: distilbert-
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
@@ -18,13 +18,13 @@ should probably proofread and complete it, then remove this comment. -->
|
|
18 |
|
19 |
# sentiment-model-portuguese-distilbert-pos-neg
|
20 |
|
21 |
-
This model is a fine-tuned version of [distilbert-
|
22 |
It achieves the following results on the evaluation set:
|
23 |
-
- Loss: 0.
|
24 |
-
- Accuracy: 0.
|
25 |
-
- F1: 0.
|
26 |
-
- Precision: 0.
|
27 |
-
- Recall: 0.
|
28 |
|
29 |
## Model description
|
30 |
|
@@ -56,8 +56,8 @@ The following hyperparameters were used during training:
|
|
56 |
|
57 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
58 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
|
62 |
|
63 |
### Framework versions
|
|
|
1 |
---
|
2 |
license: apache-2.0
|
3 |
+
base_model: lipaoMai/sentiment-model-portuguese-distilbert-pos-neg
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
metrics:
|
|
|
18 |
|
19 |
# sentiment-model-portuguese-distilbert-pos-neg
|
20 |
|
21 |
+
This model is a fine-tuned version of [lipaoMai/sentiment-model-portuguese-distilbert-pos-neg](https://huggingface.co/lipaoMai/sentiment-model-portuguese-distilbert-pos-neg) on an unknown dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 0.2906
|
24 |
+
- Accuracy: 0.895
|
25 |
+
- F1: 0.8894
|
26 |
+
- Precision: 0.8887
|
27 |
+
- Recall: 0.895
|
28 |
|
29 |
## Model description
|
30 |
|
|
|
56 |
|
57 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 | Precision | Recall |
|
58 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|:---------:|:------:|
|
59 |
+
| 0.354 | 1.0 | 188 | 0.2773 | 0.8943 | 0.8870 | 0.8876 | 0.8943 |
|
60 |
+
| 0.1966 | 2.0 | 376 | 0.2906 | 0.895 | 0.8894 | 0.8887 | 0.895 |
|
61 |
|
62 |
|
63 |
### Framework versions
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "distilbert-
|
3 |
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
"DistilBertForSequenceClassification"
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "lipaoMai/sentiment-model-portuguese-distilbert-pos-neg",
|
3 |
"activation": "gelu",
|
4 |
"architectures": [
|
5 |
"DistilBertForSequenceClassification"
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 267832560
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7e8d82ded459230659c3be93db3a20efd2ab2c2a9f4ac5a75372bf438ec850ad
|
3 |
size 267832560
|
special_tokens_map.json
CHANGED
@@ -1,7 +1,37 @@
|
|
1 |
{
|
2 |
-
"cls_token":
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
}
|
|
|
1 |
{
|
2 |
+
"cls_token": {
|
3 |
+
"content": "[CLS]",
|
4 |
+
"lstrip": false,
|
5 |
+
"normalized": false,
|
6 |
+
"rstrip": false,
|
7 |
+
"single_word": false
|
8 |
+
},
|
9 |
+
"mask_token": {
|
10 |
+
"content": "[MASK]",
|
11 |
+
"lstrip": false,
|
12 |
+
"normalized": false,
|
13 |
+
"rstrip": false,
|
14 |
+
"single_word": false
|
15 |
+
},
|
16 |
+
"pad_token": {
|
17 |
+
"content": "[PAD]",
|
18 |
+
"lstrip": false,
|
19 |
+
"normalized": false,
|
20 |
+
"rstrip": false,
|
21 |
+
"single_word": false
|
22 |
+
},
|
23 |
+
"sep_token": {
|
24 |
+
"content": "[SEP]",
|
25 |
+
"lstrip": false,
|
26 |
+
"normalized": false,
|
27 |
+
"rstrip": false,
|
28 |
+
"single_word": false
|
29 |
+
},
|
30 |
+
"unk_token": {
|
31 |
+
"content": "[UNK]",
|
32 |
+
"lstrip": false,
|
33 |
+
"normalized": false,
|
34 |
+
"rstrip": false,
|
35 |
+
"single_word": false
|
36 |
+
}
|
37 |
}
|
tokenizer_config.json
CHANGED
@@ -45,11 +45,18 @@
|
|
45 |
"cls_token": "[CLS]",
|
46 |
"do_lower_case": true,
|
47 |
"mask_token": "[MASK]",
|
|
|
48 |
"model_max_length": 512,
|
|
|
49 |
"pad_token": "[PAD]",
|
|
|
|
|
50 |
"sep_token": "[SEP]",
|
|
|
51 |
"strip_accents": null,
|
52 |
"tokenize_chinese_chars": true,
|
53 |
"tokenizer_class": "DistilBertTokenizer",
|
|
|
|
|
54 |
"unk_token": "[UNK]"
|
55 |
}
|
|
|
45 |
"cls_token": "[CLS]",
|
46 |
"do_lower_case": true,
|
47 |
"mask_token": "[MASK]",
|
48 |
+
"max_length": 512,
|
49 |
"model_max_length": 512,
|
50 |
+
"pad_to_multiple_of": null,
|
51 |
"pad_token": "[PAD]",
|
52 |
+
"pad_token_type_id": 0,
|
53 |
+
"padding_side": "right",
|
54 |
"sep_token": "[SEP]",
|
55 |
+
"stride": 0,
|
56 |
"strip_accents": null,
|
57 |
"tokenize_chinese_chars": true,
|
58 |
"tokenizer_class": "DistilBertTokenizer",
|
59 |
+
"truncation_side": "right",
|
60 |
+
"truncation_strategy": "longest_first",
|
61 |
"unk_token": "[UNK]"
|
62 |
}
|