Initial Commit
Browse files- README.md +57 -58
- config.json +1 -1
- eval_results_cardiff.json +1 -1
- pytorch_model.bin +2 -2
- training_args.bin +2 -2
README.md
CHANGED
@@ -1,14 +1,13 @@
|
|
1 |
---
|
|
|
2 |
base_model: microsoft/mdeberta-v3-base
|
|
|
|
|
3 |
datasets:
|
4 |
- tweet_sentiment_multilingual
|
5 |
-
library_name: transformers
|
6 |
-
license: mit
|
7 |
metrics:
|
8 |
- accuracy
|
9 |
- f1
|
10 |
-
tags:
|
11 |
-
- generated_from_trainer
|
12 |
model-index:
|
13 |
- name: scenario-NON-KD-PR-COPY-CDF-ALL-D2_data-cardiffnlp_tweet_sentiment_multilingual_
|
14 |
results: []
|
@@ -21,9 +20,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
21 |
|
22 |
This model is a fine-tuned version of [microsoft/mdeberta-v3-base](https://huggingface.co/microsoft/mdeberta-v3-base) on the tweet_sentiment_multilingual dataset.
|
23 |
It achieves the following results on the evaluation set:
|
24 |
-
- Loss:
|
25 |
-
- Accuracy: 0.
|
26 |
-
- F1: 0.
|
27 |
|
28 |
## Model description
|
29 |
|
@@ -45,66 +44,66 @@ The following hyperparameters were used during training:
|
|
45 |
- learning_rate: 5e-05
|
46 |
- train_batch_size: 32
|
47 |
- eval_batch_size: 32
|
48 |
-
- seed:
|
49 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
50 |
- lr_scheduler_type: linear
|
51 |
- num_epochs: 50
|
52 |
|
53 |
### Training results
|
54 |
|
55 |
-
| Training Loss | Epoch
|
56 |
-
|
57 |
-
| 1.
|
58 |
-
| 0.
|
59 |
-
| 0.
|
60 |
-
| 0.
|
61 |
-
| 0.
|
62 |
-
| 0.
|
63 |
-
| 0.
|
64 |
-
| 0.
|
65 |
-
| 0.
|
66 |
-
| 0.
|
67 |
-
| 0.
|
68 |
-
| 0.
|
69 |
-
| 0.
|
70 |
-
| 0.
|
71 |
-
| 0.
|
72 |
-
| 0.
|
73 |
-
| 0.
|
74 |
-
| 0.
|
75 |
-
| 0.
|
76 |
-
| 0.
|
77 |
-
| 0.
|
78 |
-
| 0.
|
79 |
-
| 0.
|
80 |
-
| 0.
|
81 |
-
| 0.
|
82 |
-
| 0.
|
83 |
-
| 0.
|
84 |
-
| 0.
|
85 |
-
| 0.
|
86 |
-
| 0.
|
87 |
-
| 0.
|
88 |
-
| 0.
|
89 |
-
| 0.
|
90 |
-
| 0.
|
91 |
-
| 0.
|
92 |
-
| 0.
|
93 |
-
| 0.
|
94 |
-
| 0.
|
95 |
-
| 0.
|
96 |
-
| 0.
|
97 |
-
| 0.
|
98 |
-
| 0.
|
99 |
-
| 0.
|
100 |
-
| 0.
|
101 |
-
| 0.
|
102 |
-
| 0.
|
103 |
|
104 |
|
105 |
### Framework versions
|
106 |
|
107 |
-
- Transformers 4.
|
108 |
- Pytorch 2.1.1+cu121
|
109 |
- Datasets 2.14.5
|
110 |
-
- Tokenizers 0.
|
|
|
1 |
---
|
2 |
+
license: mit
|
3 |
base_model: microsoft/mdeberta-v3-base
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
datasets:
|
7 |
- tweet_sentiment_multilingual
|
|
|
|
|
8 |
metrics:
|
9 |
- accuracy
|
10 |
- f1
|
|
|
|
|
11 |
model-index:
|
12 |
- name: scenario-NON-KD-PR-COPY-CDF-ALL-D2_data-cardiffnlp_tweet_sentiment_multilingual_
|
13 |
results: []
|
|
|
20 |
|
21 |
This model is a fine-tuned version of [microsoft/mdeberta-v3-base](https://huggingface.co/microsoft/mdeberta-v3-base) on the tweet_sentiment_multilingual dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 4.7763
|
24 |
+
- Accuracy: 0.5525
|
25 |
+
- F1: 0.5514
|
26 |
|
27 |
## Model description
|
28 |
|
|
|
44 |
- learning_rate: 5e-05
|
45 |
- train_batch_size: 32
|
46 |
- eval_batch_size: 32
|
47 |
+
- seed: 66
|
48 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
- lr_scheduler_type: linear
|
50 |
- num_epochs: 50
|
51 |
|
52 |
### Training results
|
53 |
|
54 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
55 |
+
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
|
56 |
+
| 1.0802 | 1.09 | 500 | 1.0761 | 0.4776 | 0.4641 |
|
57 |
+
| 0.9869 | 2.17 | 1000 | 1.0145 | 0.5320 | 0.5250 |
|
58 |
+
| 0.8881 | 3.26 | 1500 | 0.9953 | 0.5432 | 0.5391 |
|
59 |
+
| 0.7877 | 4.35 | 2000 | 1.0837 | 0.5340 | 0.5311 |
|
60 |
+
| 0.6671 | 5.43 | 2500 | 1.2702 | 0.5394 | 0.5411 |
|
61 |
+
| 0.5716 | 6.52 | 3000 | 1.4643 | 0.5440 | 0.5409 |
|
62 |
+
| 0.4817 | 7.61 | 3500 | 1.6304 | 0.5448 | 0.5336 |
|
63 |
+
| 0.4102 | 8.7 | 4000 | 1.7103 | 0.5301 | 0.5267 |
|
64 |
+
| 0.3334 | 9.78 | 4500 | 2.0038 | 0.5343 | 0.5334 |
|
65 |
+
| 0.2776 | 10.87 | 5000 | 1.8016 | 0.5475 | 0.5472 |
|
66 |
+
| 0.2349 | 11.96 | 5500 | 2.0203 | 0.5282 | 0.5280 |
|
67 |
+
| 0.2017 | 13.04 | 6000 | 2.4490 | 0.5359 | 0.5334 |
|
68 |
+
| 0.1727 | 14.13 | 6500 | 2.5313 | 0.5378 | 0.5382 |
|
69 |
+
| 0.1491 | 15.22 | 7000 | 2.3797 | 0.5390 | 0.5388 |
|
70 |
+
| 0.1425 | 16.3 | 7500 | 2.4724 | 0.5444 | 0.5446 |
|
71 |
+
| 0.1265 | 17.39 | 8000 | 2.9398 | 0.5413 | 0.5389 |
|
72 |
+
| 0.1185 | 18.48 | 8500 | 2.3527 | 0.5370 | 0.5370 |
|
73 |
+
| 0.1038 | 19.57 | 9000 | 3.2756 | 0.5482 | 0.5442 |
|
74 |
+
| 0.1071 | 20.65 | 9500 | 3.0308 | 0.5432 | 0.5441 |
|
75 |
+
| 0.0865 | 21.74 | 10000 | 3.1408 | 0.5297 | 0.5296 |
|
76 |
+
| 0.0813 | 22.83 | 10500 | 3.3928 | 0.5436 | 0.5434 |
|
77 |
+
| 0.0831 | 23.91 | 11000 | 3.4793 | 0.5320 | 0.5339 |
|
78 |
+
| 0.0736 | 25.0 | 11500 | 3.2782 | 0.5451 | 0.5452 |
|
79 |
+
| 0.0672 | 26.09 | 12000 | 3.4270 | 0.5428 | 0.5396 |
|
80 |
+
| 0.0616 | 27.17 | 12500 | 3.7192 | 0.5471 | 0.5425 |
|
81 |
+
| 0.0588 | 28.26 | 13000 | 3.3739 | 0.5421 | 0.5424 |
|
82 |
+
| 0.0537 | 29.35 | 13500 | 3.5891 | 0.5421 | 0.5393 |
|
83 |
+
| 0.0534 | 30.43 | 14000 | 3.5400 | 0.5436 | 0.5391 |
|
84 |
+
| 0.0503 | 31.52 | 14500 | 4.1166 | 0.5409 | 0.5378 |
|
85 |
+
| 0.0431 | 32.61 | 15000 | 4.1346 | 0.5374 | 0.5339 |
|
86 |
+
| 0.0423 | 33.7 | 15500 | 3.9483 | 0.5478 | 0.5456 |
|
87 |
+
| 0.0371 | 34.78 | 16000 | 4.0371 | 0.5436 | 0.5429 |
|
88 |
+
| 0.0339 | 35.87 | 16500 | 4.0302 | 0.5478 | 0.5480 |
|
89 |
+
| 0.0381 | 36.96 | 17000 | 4.0057 | 0.5432 | 0.5425 |
|
90 |
+
| 0.0274 | 38.04 | 17500 | 4.5734 | 0.5521 | 0.5520 |
|
91 |
+
| 0.0288 | 39.13 | 18000 | 4.4791 | 0.5502 | 0.5472 |
|
92 |
+
| 0.0203 | 40.22 | 18500 | 4.7187 | 0.5536 | 0.5538 |
|
93 |
+
| 0.0248 | 41.3 | 19000 | 4.7855 | 0.5486 | 0.5490 |
|
94 |
+
| 0.025 | 42.39 | 19500 | 4.4324 | 0.5502 | 0.5471 |
|
95 |
+
| 0.0211 | 43.48 | 20000 | 4.7410 | 0.5475 | 0.5470 |
|
96 |
+
| 0.0215 | 44.57 | 20500 | 4.6235 | 0.5478 | 0.5483 |
|
97 |
+
| 0.0188 | 45.65 | 21000 | 4.6657 | 0.5517 | 0.5499 |
|
98 |
+
| 0.0163 | 46.74 | 21500 | 4.7207 | 0.5509 | 0.5505 |
|
99 |
+
| 0.0136 | 47.83 | 22000 | 4.7870 | 0.5525 | 0.5523 |
|
100 |
+
| 0.0131 | 48.91 | 22500 | 4.8396 | 0.5505 | 0.5501 |
|
101 |
+
| 0.0207 | 50.0 | 23000 | 4.7763 | 0.5525 | 0.5514 |
|
102 |
|
103 |
|
104 |
### Framework versions
|
105 |
|
106 |
+
- Transformers 4.33.3
|
107 |
- Pytorch 2.1.1+cu121
|
108 |
- Datasets 2.14.5
|
109 |
+
- Tokenizers 0.13.3
|
config.json
CHANGED
@@ -39,7 +39,7 @@
|
|
39 |
"relative_attention": true,
|
40 |
"share_att_key": true,
|
41 |
"torch_dtype": "float32",
|
42 |
-
"transformers_version": "4.
|
43 |
"type_vocab_size": 0,
|
44 |
"vocab_size": 251000
|
45 |
}
|
|
|
39 |
"relative_attention": true,
|
40 |
"share_att_key": true,
|
41 |
"torch_dtype": "float32",
|
42 |
+
"transformers_version": "4.33.3",
|
43 |
"type_vocab_size": 0,
|
44 |
"vocab_size": 251000
|
45 |
}
|
eval_results_cardiff.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"arabic": {"f1": 0.
|
|
|
1 |
+
{"arabic": {"f1": 0.4913237337553058, "accuracy": 0.4896551724137931, "confusion_matrix": [[148, 99, 43], [89, 135, 66], [59, 88, 143]]}, "english": {"f1": 0.5802643889534133, "accuracy": 0.5804597701149425, "confusion_matrix": [[212, 66, 12], [119, 137, 34], [51, 83, 156]]}, "french": {"f1": 0.5737235230438815, "accuracy": 0.5724137931034483, "confusion_matrix": [[171, 57, 62], [40, 169, 81], [47, 85, 158]]}, "german": {"f1": 0.6055909597413228, "accuracy": 0.6057471264367816, "confusion_matrix": [[175, 64, 51], [60, 168, 62], [54, 52, 184]]}, "hindi": {"f1": 0.45075025262918283, "accuracy": 0.45057471264367815, "confusion_matrix": [[141, 88, 61], [90, 128, 72], [70, 97, 123]]}, "italian": {"f1": 0.5260257984431246, "accuracy": 0.5367816091954023, "confusion_matrix": [[96, 112, 82], [18, 203, 69], [23, 99, 168]]}, "portuguese": {"f1": 0.5823465032900264, "accuracy": 0.5816091954022988, "confusion_matrix": [[165, 83, 42], [75, 153, 62], [30, 72, 188]]}, "spanish": {"f1": 0.545025097311418, "accuracy": 0.5448275862068965, "confusion_matrix": [[156, 92, 42], [76, 140, 74], [46, 66, 178]]}, "all": {"f1": 0.5461495899502564, "accuracy": 0.5452586206896551, "confusion_matrix": [[1264, 661, 395], [567, 1233, 520], [380, 642, 1298]]}}
|
pytorch_model.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:93e487911902f10250cf9e34adbefeb7a66247822226160e41fd5fb272a78e02
|
3 |
+
size 945174322
|
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:51ce125a8e77b013b6621c2d66bd5caeb194ba0371f5b40904d5b89d99d1d131
|
3 |
+
size 4664
|