luigisaetta
commited on
Commit
•
5aaa717
1
Parent(s):
8ed98a2
sentiment_ita
Browse files- README.md +14 -45
- model.safetensors +1 -1
- runs/Nov26_11-54-48_844b425e6119/events.out.tfevents.1700999696.844b425e6119.823.0 +3 -0
- runs/Nov26_11-56-01_844b425e6119/events.out.tfevents.1700999763.844b425e6119.1887.0 +3 -0
- runs/Nov26_12-03-11_844b425e6119/events.out.tfevents.1701000192.844b425e6119.3787.0 +3 -0
- tokenizer.json +2 -16
- training_args.bin +1 -1
README.md
CHANGED
@@ -3,26 +3,11 @@ license: mit
|
|
3 |
base_model: neuraly/bert-base-italian-cased-sentiment
|
4 |
tags:
|
5 |
- generated_from_trainer
|
6 |
-
datasets:
|
7 |
-
- tweet_sentiment_multilingual
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
model-index:
|
11 |
- name: sentiment_ita
|
12 |
-
results:
|
13 |
-
- task:
|
14 |
-
name: Text Classification
|
15 |
-
type: text-classification
|
16 |
-
dataset:
|
17 |
-
name: tweet_sentiment_multilingual
|
18 |
-
type: tweet_sentiment_multilingual
|
19 |
-
config: italian
|
20 |
-
split: validation
|
21 |
-
args: italian
|
22 |
-
metrics:
|
23 |
-
- name: Accuracy
|
24 |
-
type: accuracy
|
25 |
-
value: 0.6790123456790124
|
26 |
---
|
27 |
|
28 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -30,10 +15,10 @@ should probably proofread and complete it, then remove this comment. -->
|
|
30 |
|
31 |
# sentiment_ita
|
32 |
|
33 |
-
This model is a fine-tuned version of [neuraly/bert-base-italian-cased-sentiment](https://huggingface.co/neuraly/bert-base-italian-cased-sentiment) on the
|
34 |
It achieves the following results on the evaluation set:
|
35 |
-
- Loss:
|
36 |
-
- Accuracy: 0.
|
37 |
|
38 |
## Model description
|
39 |
|
@@ -53,42 +38,26 @@ More information needed
|
|
53 |
|
54 |
The following hyperparameters were used during training:
|
55 |
- learning_rate: 2e-05
|
56 |
-
- train_batch_size:
|
57 |
- eval_batch_size: 16
|
58 |
- seed: 42
|
59 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
60 |
- lr_scheduler_type: linear
|
61 |
-
- lr_scheduler_warmup_steps:
|
62 |
- num_epochs: 14
|
63 |
|
64 |
### Training results
|
65 |
|
66 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
67 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
68 |
-
| 1.
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
-
| 0.2372 | 5.11 | 900 | 1.0713 | 0.6759 |
|
77 |
-
| 0.1445 | 5.68 | 1000 | 1.3554 | 0.6883 |
|
78 |
-
| 0.1329 | 6.25 | 1100 | 1.5381 | 0.6605 |
|
79 |
-
| 0.1023 | 6.82 | 1200 | 1.5506 | 0.6914 |
|
80 |
-
| 0.0542 | 7.39 | 1300 | 1.8265 | 0.6852 |
|
81 |
-
| 0.0472 | 7.95 | 1400 | 2.0343 | 0.6698 |
|
82 |
-
| 0.0227 | 8.52 | 1500 | 2.1335 | 0.6728 |
|
83 |
-
| 0.0247 | 9.09 | 1600 | 2.1640 | 0.6605 |
|
84 |
-
| 0.0165 | 9.66 | 1700 | 2.1982 | 0.6759 |
|
85 |
-
| 0.0069 | 10.23 | 1800 | 2.2789 | 0.6790 |
|
86 |
-
| 0.0256 | 10.8 | 1900 | 2.2858 | 0.6883 |
|
87 |
-
| 0.0125 | 11.36 | 2000 | 2.3091 | 0.6852 |
|
88 |
-
| 0.0051 | 11.93 | 2100 | 2.3238 | 0.6821 |
|
89 |
-
| 0.0014 | 12.5 | 2200 | 2.3700 | 0.6883 |
|
90 |
-
| 0.0019 | 13.07 | 2300 | 2.3582 | 0.6790 |
|
91 |
-
| 0.0038 | 13.64 | 2400 | 2.3764 | 0.6790 |
|
92 |
|
93 |
|
94 |
### Framework versions
|
|
|
3 |
base_model: neuraly/bert-base-italian-cased-sentiment
|
4 |
tags:
|
5 |
- generated_from_trainer
|
|
|
|
|
6 |
metrics:
|
7 |
- accuracy
|
8 |
model-index:
|
9 |
- name: sentiment_ita
|
10 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
15 |
|
16 |
# sentiment_ita
|
17 |
|
18 |
+
This model is a fine-tuned version of [neuraly/bert-base-italian-cased-sentiment](https://huggingface.co/neuraly/bert-base-italian-cased-sentiment) on the None dataset.
|
19 |
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 1.6301
|
21 |
+
- Accuracy: 0.6903
|
22 |
|
23 |
## Model description
|
24 |
|
|
|
38 |
|
39 |
The following hyperparameters were used during training:
|
40 |
- learning_rate: 2e-05
|
41 |
+
- train_batch_size: 48
|
42 |
- eval_batch_size: 16
|
43 |
- seed: 42
|
44 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
45 |
- lr_scheduler_type: linear
|
46 |
+
- lr_scheduler_warmup_steps: 600
|
47 |
- num_epochs: 14
|
48 |
|
49 |
### Training results
|
50 |
|
51 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy |
|
52 |
|:-------------:|:-----:|:----:|:---------------:|:--------:|
|
53 |
+
| 1.5002 | 1.67 | 100 | 0.9894 | 0.6460 |
|
54 |
+
| 0.6959 | 3.33 | 200 | 0.7681 | 0.6726 |
|
55 |
+
| 0.5325 | 5.0 | 300 | 0.7615 | 0.6962 |
|
56 |
+
| 0.349 | 6.67 | 400 | 0.8867 | 0.6932 |
|
57 |
+
| 0.1798 | 8.33 | 500 | 1.1361 | 0.6873 |
|
58 |
+
| 0.0983 | 10.0 | 600 | 1.3994 | 0.6962 |
|
59 |
+
| 0.0412 | 11.67 | 700 | 1.5411 | 0.7109 |
|
60 |
+
| 0.0293 | 13.33 | 800 | 1.6301 | 0.6903 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
|
62 |
|
63 |
### Framework versions
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 442815492
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ab0a2e0fd9c57c0c99c08360c96fb105942e6ab433034627be4e3e0f4b8dca2a
|
3 |
size 442815492
|
runs/Nov26_11-54-48_844b425e6119/events.out.tfevents.1700999696.844b425e6119.823.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:58123828c2c333aa6d744be6ee80d497453c676af4227c25d5ae0cd77bdcd02c
|
3 |
+
size 4416
|
runs/Nov26_11-56-01_844b425e6119/events.out.tfevents.1700999763.844b425e6119.1887.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8080cea45d7124c5086551396046e421cf35a449e9daea0b91c9417ce3711e8a
|
3 |
+
size 6327
|
runs/Nov26_12-03-11_844b425e6119/events.out.tfevents.1701000192.844b425e6119.3787.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3f395bb57ab47848434f7b8254355edf139f577e2416c425fd82d2369089cd68
|
3 |
+
size 8600
|
tokenizer.json
CHANGED
@@ -1,21 +1,7 @@
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
-
"truncation":
|
4 |
-
|
5 |
-
"max_length": 512,
|
6 |
-
"strategy": "LongestFirst",
|
7 |
-
"stride": 0
|
8 |
-
},
|
9 |
-
"padding": {
|
10 |
-
"strategy": {
|
11 |
-
"Fixed": 512
|
12 |
-
},
|
13 |
-
"direction": "Right",
|
14 |
-
"pad_to_multiple_of": null,
|
15 |
-
"pad_id": 0,
|
16 |
-
"pad_type_id": 0,
|
17 |
-
"pad_token": "[PAD]"
|
18 |
-
},
|
19 |
"added_tokens": [
|
20 |
{
|
21 |
"id": 0,
|
|
|
1 |
{
|
2 |
"version": "1.0",
|
3 |
+
"truncation": null,
|
4 |
+
"padding": null,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
"added_tokens": [
|
6 |
{
|
7 |
"id": 0,
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4155
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:257db300ef90ff556ff164ddd8845fca9630f28dba9d5b604292c872107112a0
|
3 |
size 4155
|