haryoaw commited on
Commit
3975934
1 Parent(s): 1317ac2

Initial Commit

Browse files
Files changed (4) hide show
  1. README.md +89 -0
  2. config.json +45 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-TCR_data-cardiffnlp_tweet_sentiment_multilingual_all
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.6361882716049383
27
+ - name: F1
28
+ type: f1
29
+ value: 0.6387023843949189
30
+ ---
31
+
32
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
33
+ should probably proofread and complete it, then remove this comment. -->
34
+
35
+ # scenario-TCR_data-cardiffnlp_tweet_sentiment_multilingual_all
36
+
37
+ 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.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 2.0269
40
+ - Accuracy: 0.6362
41
+ - F1: 0.6387
42
+
43
+ ## Model description
44
+
45
+ More information needed
46
+
47
+ ## Intended uses & limitations
48
+
49
+ More information needed
50
+
51
+ ## Training and evaluation data
52
+
53
+ More information needed
54
+
55
+ ## Training procedure
56
+
57
+ ### Training hyperparameters
58
+
59
+ The following hyperparameters were used during training:
60
+ - learning_rate: 5e-05
61
+ - train_batch_size: 32
62
+ - eval_batch_size: 32
63
+ - seed: 66
64
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
65
+ - lr_scheduler_type: linear
66
+ - num_epochs: 30
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
71
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
72
+ | 0.8991 | 1.09 | 500 | 0.8258 | 0.6265 | 0.6117 |
73
+ | 0.6873 | 2.17 | 1000 | 0.8627 | 0.6481 | 0.6502 |
74
+ | 0.5102 | 3.26 | 1500 | 0.9726 | 0.6516 | 0.6440 |
75
+ | 0.3825 | 4.35 | 2000 | 1.1881 | 0.6578 | 0.6540 |
76
+ | 0.2946 | 5.43 | 2500 | 1.2475 | 0.6532 | 0.6554 |
77
+ | 0.228 | 6.52 | 3000 | 1.5294 | 0.6435 | 0.6458 |
78
+ | 0.2006 | 7.61 | 3500 | 1.6058 | 0.6389 | 0.6342 |
79
+ | 0.159 | 8.7 | 4000 | 1.5956 | 0.6528 | 0.6510 |
80
+ | 0.1334 | 9.78 | 4500 | 1.8463 | 0.6478 | 0.6409 |
81
+ | 0.1052 | 10.87 | 5000 | 2.0269 | 0.6362 | 0.6387 |
82
+
83
+
84
+ ### Framework versions
85
+
86
+ - Transformers 4.33.3
87
+ - Pytorch 2.1.1+cu121
88
+ - Datasets 2.14.5
89
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "microsoft/mdeberta-v3-base",
3
+ "architectures": [
4
+ "DebertaV2ForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "hidden_act": "gelu",
8
+ "hidden_dropout_prob": 0.1,
9
+ "hidden_size": 768,
10
+ "id2label": {
11
+ "0": "LABEL_0",
12
+ "1": "LABEL_1",
13
+ "2": "LABEL_2"
14
+ },
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "label2id": {
18
+ "LABEL_0": 0,
19
+ "LABEL_1": 1,
20
+ "LABEL_2": 2
21
+ },
22
+ "layer_norm_eps": 1e-07,
23
+ "max_position_embeddings": 512,
24
+ "max_relative_positions": -1,
25
+ "model_type": "deberta-v2",
26
+ "norm_rel_ebd": "layer_norm",
27
+ "num_attention_heads": 12,
28
+ "num_hidden_layers": 12,
29
+ "pad_token_id": 0,
30
+ "pooler_dropout": 0,
31
+ "pooler_hidden_act": "gelu",
32
+ "pooler_hidden_size": 768,
33
+ "pos_att_type": [
34
+ "p2c",
35
+ "c2p"
36
+ ],
37
+ "position_biased_input": false,
38
+ "position_buckets": 256,
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:633c35068c05308412a6dac4045ff94bc274ca97c47dacb2f7c7a9970a9aa70e
3
+ size 1115316658
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9a15e545fe609414fff11a3df07dca5b153ab5918b7650813f1648c310b1dc7d
3
+ size 4600