haryoaw commited on
Commit
d8a2050
1 Parent(s): ab3bbef

Initial Commit

Browse files
Files changed (4) hide show
  1. README.md +109 -0
  2. config.json +39 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: FacebookAI/xlm-roberta-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-KD-PR-CDF-ALL-D2_data-cardiffnlp_tweet_sentiment_multilingual_all_gamma
13
+ results: []
14
+ ---
15
+
16
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
17
+ should probably proofread and complete it, then remove this comment. -->
18
+
19
+ # scenario-KD-PR-CDF-ALL-D2_data-cardiffnlp_tweet_sentiment_multilingual_all_gamma
20
+
21
+ This model is a fine-tuned version of [FacebookAI/xlm-roberta-base](https://huggingface.co/FacebookAI/xlm-roberta-base) on the tweet_sentiment_multilingual dataset.
22
+ It achieves the following results on the evaluation set:
23
+ - Loss: 3.4838
24
+ - Accuracy: 0.5505
25
+ - F1: 0.5508
26
+
27
+ ## Model description
28
+
29
+ More information needed
30
+
31
+ ## Intended uses & limitations
32
+
33
+ More information needed
34
+
35
+ ## Training and evaluation data
36
+
37
+ More information needed
38
+
39
+ ## Training procedure
40
+
41
+ ### Training hyperparameters
42
+
43
+ The following hyperparameters were used during training:
44
+ - learning_rate: 5e-05
45
+ - train_batch_size: 32
46
+ - eval_batch_size: 32
47
+ - seed: 88458
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
+ | 4.8911 | 1.09 | 500 | 4.3088 | 0.4047 | 0.3809 |
57
+ | 4.106 | 2.17 | 1000 | 3.7773 | 0.5058 | 0.4920 |
58
+ | 3.4954 | 3.26 | 1500 | 3.3608 | 0.5347 | 0.5357 |
59
+ | 3.1472 | 4.35 | 2000 | 3.4225 | 0.5343 | 0.5327 |
60
+ | 2.8094 | 5.43 | 2500 | 3.4088 | 0.5436 | 0.5399 |
61
+ | 2.5414 | 6.52 | 3000 | 3.3362 | 0.5552 | 0.5562 |
62
+ | 2.331 | 7.61 | 3500 | 3.3218 | 0.5459 | 0.5389 |
63
+ | 2.1295 | 8.7 | 4000 | 3.6107 | 0.5525 | 0.5532 |
64
+ | 1.9843 | 9.78 | 4500 | 3.4533 | 0.5575 | 0.5578 |
65
+ | 1.8472 | 10.87 | 5000 | 3.2933 | 0.5482 | 0.5469 |
66
+ | 1.7227 | 11.96 | 5500 | 3.3387 | 0.5513 | 0.5521 |
67
+ | 1.6067 | 13.04 | 6000 | 3.2725 | 0.5444 | 0.5454 |
68
+ | 1.5328 | 14.13 | 6500 | 3.3817 | 0.5513 | 0.5528 |
69
+ | 1.4166 | 15.22 | 7000 | 3.5382 | 0.5421 | 0.5437 |
70
+ | 1.346 | 16.3 | 7500 | 3.4353 | 0.5567 | 0.5574 |
71
+ | 1.3038 | 17.39 | 8000 | 3.5873 | 0.5478 | 0.5462 |
72
+ | 1.2285 | 18.48 | 8500 | 3.7322 | 0.5525 | 0.5516 |
73
+ | 1.1916 | 19.57 | 9000 | 3.5055 | 0.5486 | 0.5488 |
74
+ | 1.1143 | 20.65 | 9500 | 3.4413 | 0.5575 | 0.5589 |
75
+ | 1.0749 | 21.74 | 10000 | 3.7211 | 0.5559 | 0.5572 |
76
+ | 1.0668 | 22.83 | 10500 | 3.5802 | 0.5575 | 0.5576 |
77
+ | 1.0111 | 23.91 | 11000 | 3.5038 | 0.5606 | 0.5598 |
78
+ | 0.9837 | 25.0 | 11500 | 3.6704 | 0.5521 | 0.5517 |
79
+ | 0.9643 | 26.09 | 12000 | 3.5238 | 0.5598 | 0.5609 |
80
+ | 0.9311 | 27.17 | 12500 | 3.5195 | 0.5559 | 0.5558 |
81
+ | 0.902 | 28.26 | 13000 | 3.3760 | 0.5679 | 0.5653 |
82
+ | 0.8935 | 29.35 | 13500 | 3.6155 | 0.5536 | 0.5539 |
83
+ | 0.8745 | 30.43 | 14000 | 3.5108 | 0.5667 | 0.5662 |
84
+ | 0.8444 | 31.52 | 14500 | 3.6231 | 0.5606 | 0.5597 |
85
+ | 0.8327 | 32.61 | 15000 | 3.5783 | 0.5552 | 0.5508 |
86
+ | 0.8237 | 33.7 | 15500 | 3.5527 | 0.5556 | 0.5548 |
87
+ | 0.8035 | 34.78 | 16000 | 3.4553 | 0.5660 | 0.5657 |
88
+ | 0.7948 | 35.87 | 16500 | 3.4230 | 0.5490 | 0.5503 |
89
+ | 0.7886 | 36.96 | 17000 | 3.5010 | 0.5482 | 0.5494 |
90
+ | 0.7711 | 38.04 | 17500 | 3.4771 | 0.5644 | 0.5648 |
91
+ | 0.76 | 39.13 | 18000 | 3.5514 | 0.5563 | 0.5570 |
92
+ | 0.7509 | 40.22 | 18500 | 3.4726 | 0.5586 | 0.5585 |
93
+ | 0.7522 | 41.3 | 19000 | 3.5237 | 0.5606 | 0.5586 |
94
+ | 0.7368 | 42.39 | 19500 | 3.4514 | 0.5532 | 0.5516 |
95
+ | 0.7377 | 43.48 | 20000 | 3.5320 | 0.5633 | 0.5636 |
96
+ | 0.7142 | 44.57 | 20500 | 3.4685 | 0.5613 | 0.5608 |
97
+ | 0.7255 | 45.65 | 21000 | 3.4919 | 0.5652 | 0.5635 |
98
+ | 0.7139 | 46.74 | 21500 | 3.4869 | 0.5556 | 0.5551 |
99
+ | 0.7124 | 47.83 | 22000 | 3.4748 | 0.5644 | 0.5642 |
100
+ | 0.7065 | 48.91 | 22500 | 3.4405 | 0.5602 | 0.5601 |
101
+ | 0.7038 | 50.0 | 23000 | 3.4838 | 0.5505 | 0.5508 |
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 ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "FacebookAI/xlm-roberta-base",
3
+ "architectures": [
4
+ "XLMRobertaForSequenceClassificationKD"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "classifier_dropout": null,
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,
23
+ "LABEL_2": 2
24
+ },
25
+ "layer_norm_eps": 1e-05,
26
+ "max_position_embeddings": 514,
27
+ "model_type": "xlm-roberta",
28
+ "num_attention_heads": 12,
29
+ "num_hidden_layers": 6,
30
+ "output_past": true,
31
+ "pad_token_id": 1,
32
+ "position_embedding_type": "absolute",
33
+ "problem_type": "single_label_classification",
34
+ "torch_dtype": "float32",
35
+ "transformers_version": "4.33.3",
36
+ "type_vocab_size": 1,
37
+ "use_cache": true,
38
+ "vocab_size": 250002
39
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7a01494533e7eaa098a8581f981c2d3746eef7864223a1dbd76d44396e3c7e21
3
+ size 429199798
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:609cd4e1b16abc2609744ac2a662179eef39dbefb53d99f4c099c1118b3b4af5
3
+ size 4664