Initial Commit
Browse files- README.md +51 -67
- config.json +3 -3
- pytorch_model.bin +2 -2
- training_args.bin +1 -1
README.md
CHANGED
@@ -10,23 +10,7 @@ metrics:
|
|
10 |
- f1
|
11 |
model-index:
|
12 |
- name: scenario-NON-KD-PR-COPY-CDF-ALL-D2_data-cardiffnlp_tweet_sentiment_multilingual_
|
13 |
-
results:
|
14 |
-
- task:
|
15 |
-
name: Text Classification
|
16 |
-
type: text-classification
|
17 |
-
dataset:
|
18 |
-
name: tweet_sentiment_multilingual
|
19 |
-
type: tweet_sentiment_multilingual
|
20 |
-
config: all
|
21 |
-
split: validation
|
22 |
-
args: all
|
23 |
-
metrics:
|
24 |
-
- name: Accuracy
|
25 |
-
type: accuracy
|
26 |
-
value: 0.589891975308642
|
27 |
-
- name: F1
|
28 |
-
type: f1
|
29 |
-
value: 0.588413122388427
|
30 |
---
|
31 |
|
32 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
@@ -36,9 +20,9 @@ should probably proofread and complete it, then remove this comment. -->
|
|
36 |
|
37 |
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the tweet_sentiment_multilingual dataset.
|
38 |
It achieves the following results on the evaluation set:
|
39 |
-
- Loss:
|
40 |
-
- Accuracy: 0.
|
41 |
-
- F1: 0.
|
42 |
|
43 |
## Model description
|
44 |
|
@@ -60,7 +44,7 @@ The following hyperparameters were used during training:
|
|
60 |
- learning_rate: 5e-05
|
61 |
- train_batch_size: 32
|
62 |
- eval_batch_size: 32
|
63 |
-
- seed:
|
64 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
65 |
- lr_scheduler_type: linear
|
66 |
- num_epochs: 50
|
@@ -69,52 +53,52 @@ The following hyperparameters were used during training:
|
|
69 |
|
70 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
71 |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
|
72 |
-
| 1.
|
73 |
-
|
|
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 |
-
| 0.
|
104 |
-
| 0.
|
105 |
-
| 0.
|
106 |
-
| 0.
|
107 |
-
| 0.
|
108 |
-
| 0.
|
109 |
-
| 0.
|
110 |
-
| 0.
|
111 |
-
| 0.
|
112 |
-
| 0.
|
113 |
-
| 0.
|
114 |
-
| 0.
|
115 |
-
| 0.
|
116 |
-
| 0.
|
117 |
-
| 0.
|
118 |
|
119 |
|
120 |
### Framework versions
|
|
|
10 |
- f1
|
11 |
model-index:
|
12 |
- name: scenario-NON-KD-PR-COPY-CDF-ALL-D2_data-cardiffnlp_tweet_sentiment_multilingual_
|
13 |
+
results: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
---
|
15 |
|
16 |
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
|
|
20 |
|
21 |
This model is a fine-tuned version of [xlm-roberta-base](https://huggingface.co/xlm-roberta-base) on the tweet_sentiment_multilingual dataset.
|
22 |
It achieves the following results on the evaluation set:
|
23 |
+
- Loss: 3.2776
|
24 |
+
- Accuracy: 0.5490
|
25 |
+
- F1: 0.5470
|
26 |
|
27 |
## Model description
|
28 |
|
|
|
44 |
- learning_rate: 5e-05
|
45 |
- train_batch_size: 32
|
46 |
- eval_batch_size: 32
|
47 |
+
- seed: 333
|
48 |
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
49 |
- lr_scheduler_type: linear
|
50 |
- num_epochs: 50
|
|
|
53 |
|
54 |
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
55 |
|:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
|
56 |
+
| 1.0901 | 1.09 | 500 | 1.0564 | 0.4379 | 0.4046 |
|
57 |
+
| 1.0001 | 2.17 | 1000 | 1.0287 | 0.5085 | 0.4941 |
|
58 |
+
| 0.9108 | 3.26 | 1500 | 1.0254 | 0.5316 | 0.5273 |
|
59 |
+
| 0.8453 | 4.35 | 2000 | 0.9739 | 0.5390 | 0.5363 |
|
60 |
+
| 0.786 | 5.43 | 2500 | 0.9965 | 0.5540 | 0.5500 |
|
61 |
+
| 0.7317 | 6.52 | 3000 | 1.0309 | 0.5505 | 0.5452 |
|
62 |
+
| 0.6714 | 7.61 | 3500 | 1.1479 | 0.5444 | 0.5466 |
|
63 |
+
| 0.6192 | 8.7 | 4000 | 1.0839 | 0.5536 | 0.5533 |
|
64 |
+
| 0.5693 | 9.78 | 4500 | 1.2411 | 0.5382 | 0.5259 |
|
65 |
+
| 0.5114 | 10.87 | 5000 | 1.2202 | 0.5486 | 0.5502 |
|
66 |
+
| 0.4705 | 11.96 | 5500 | 1.4185 | 0.5478 | 0.5445 |
|
67 |
+
| 0.425 | 13.04 | 6000 | 1.3994 | 0.5417 | 0.5314 |
|
68 |
+
| 0.3815 | 14.13 | 6500 | 1.5880 | 0.5475 | 0.5475 |
|
69 |
+
| 0.3405 | 15.22 | 7000 | 1.5789 | 0.5405 | 0.5330 |
|
70 |
+
| 0.3046 | 16.3 | 7500 | 1.7872 | 0.5405 | 0.5328 |
|
71 |
+
| 0.279 | 17.39 | 8000 | 1.7094 | 0.5417 | 0.5390 |
|
72 |
+
| 0.2488 | 18.48 | 8500 | 1.7790 | 0.5471 | 0.5451 |
|
73 |
+
| 0.2203 | 19.57 | 9000 | 1.8204 | 0.5478 | 0.5464 |
|
74 |
+
| 0.2145 | 20.65 | 9500 | 1.9339 | 0.5448 | 0.5386 |
|
75 |
+
| 0.1869 | 21.74 | 10000 | 2.1092 | 0.5390 | 0.5360 |
|
76 |
+
| 0.1788 | 22.83 | 10500 | 1.9770 | 0.5540 | 0.5513 |
|
77 |
+
| 0.1473 | 23.91 | 11000 | 2.1967 | 0.5471 | 0.5425 |
|
78 |
+
| 0.1437 | 25.0 | 11500 | 2.1961 | 0.5513 | 0.5431 |
|
79 |
+
| 0.1296 | 26.09 | 12000 | 2.2828 | 0.5536 | 0.5518 |
|
80 |
+
| 0.1151 | 27.17 | 12500 | 2.3900 | 0.5405 | 0.5346 |
|
81 |
+
| 0.1151 | 28.26 | 13000 | 2.5206 | 0.5440 | 0.5394 |
|
82 |
+
| 0.1058 | 29.35 | 13500 | 2.5638 | 0.5463 | 0.5413 |
|
83 |
+
| 0.1056 | 30.43 | 14000 | 2.6504 | 0.5417 | 0.5351 |
|
84 |
+
| 0.098 | 31.52 | 14500 | 2.6291 | 0.5571 | 0.5544 |
|
85 |
+
| 0.0918 | 32.61 | 15000 | 2.6844 | 0.5421 | 0.5408 |
|
86 |
+
| 0.0873 | 33.7 | 15500 | 2.7813 | 0.5401 | 0.5403 |
|
87 |
+
| 0.0897 | 34.78 | 16000 | 2.8257 | 0.5459 | 0.5428 |
|
88 |
+
| 0.0781 | 35.87 | 16500 | 2.8813 | 0.5478 | 0.5450 |
|
89 |
+
| 0.0698 | 36.96 | 17000 | 3.0486 | 0.5336 | 0.5303 |
|
90 |
+
| 0.0674 | 38.04 | 17500 | 3.1261 | 0.5475 | 0.5417 |
|
91 |
+
| 0.0756 | 39.13 | 18000 | 3.0463 | 0.5482 | 0.5480 |
|
92 |
+
| 0.0592 | 40.22 | 18500 | 3.1190 | 0.5440 | 0.5412 |
|
93 |
+
| 0.0562 | 41.3 | 19000 | 3.1770 | 0.5370 | 0.5342 |
|
94 |
+
| 0.0575 | 42.39 | 19500 | 3.1928 | 0.5432 | 0.5405 |
|
95 |
+
| 0.0534 | 43.48 | 20000 | 3.2141 | 0.5494 | 0.5462 |
|
96 |
+
| 0.0487 | 44.57 | 20500 | 3.2784 | 0.5440 | 0.5376 |
|
97 |
+
| 0.0472 | 45.65 | 21000 | 3.2675 | 0.5451 | 0.5420 |
|
98 |
+
| 0.0495 | 46.74 | 21500 | 3.2487 | 0.5502 | 0.5474 |
|
99 |
+
| 0.0411 | 47.83 | 22000 | 3.2628 | 0.5486 | 0.5468 |
|
100 |
+
| 0.0417 | 48.91 | 22500 | 3.2780 | 0.5494 | 0.5476 |
|
101 |
+
| 0.0412 | 50.0 | 23000 | 3.2776 | 0.5490 | 0.5470 |
|
102 |
|
103 |
|
104 |
### Framework versions
|
config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_name_or_path": "xlm-roberta-base",
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"bos_token_id": 0,
|
@@ -9,14 +9,14 @@
|
|
9 |
"eos_token_id": 2,
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
-
"hidden_size":
|
13 |
"id2label": {
|
14 |
"0": "LABEL_0",
|
15 |
"1": "LABEL_1",
|
16 |
"2": "LABEL_2"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
-
"intermediate_size":
|
20 |
"label2id": {
|
21 |
"LABEL_0": 0,
|
22 |
"LABEL_1": 1,
|
|
|
1 |
{
|
2 |
"_name_or_path": "xlm-roberta-base",
|
3 |
"architectures": [
|
4 |
+
"XLMRobertaForSequenceClassificationKD"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
7 |
"bos_token_id": 0,
|
|
|
9 |
"eos_token_id": 2,
|
10 |
"hidden_act": "gelu",
|
11 |
"hidden_dropout_prob": 0.1,
|
12 |
+
"hidden_size": 384,
|
13 |
"id2label": {
|
14 |
"0": "LABEL_0",
|
15 |
"1": "LABEL_1",
|
16 |
"2": "LABEL_2"
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
+
"intermediate_size": 1536,
|
20 |
"label2id": {
|
21 |
"LABEL_0": 0,
|
22 |
"LABEL_1": 1,
|
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:f105078f6541c246d9a0ab2cd1e3b7423591a6a6fa7484509b8fa313d42f4d25
|
3 |
+
size 429199798
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 4664
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:166ec74f89602a4d853987af4b4f99ed1bccaff0844ae7d838470c6f12d39ac9
|
3 |
size 4664
|