haryoaw commited on
Commit
c95fc6a
1 Parent(s): c296a44

Initial Commit

Browse files
Files changed (4) hide show
  1. README.md +87 -0
  2. config.json +159 -0
  3. pytorch_model.bin +3 -0
  4. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: microsoft/mdeberta-v3-base
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - massive
8
+ metrics:
9
+ - accuracy
10
+ - f1
11
+ model-index:
12
+ - name: scenario-TCR_data-cl-massive_all_1_1
13
+ results:
14
+ - task:
15
+ name: Text Classification
16
+ type: text-classification
17
+ dataset:
18
+ name: massive
19
+ type: massive
20
+ config: all_1.1
21
+ split: validation
22
+ args: all_1.1
23
+ metrics:
24
+ - name: Accuracy
25
+ type: accuracy
26
+ value: 0.7990745295221439
27
+ - name: F1
28
+ type: f1
29
+ value: 0.7564886611883039
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-cl-massive_all_1_1
36
+
37
+ This model is a fine-tuned version of [microsoft/mdeberta-v3-base](https://huggingface.co/microsoft/mdeberta-v3-base) on the massive dataset.
38
+ It achieves the following results on the evaluation set:
39
+ - Loss: 1.3782
40
+ - Accuracy: 0.7991
41
+ - F1: 0.7565
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: 5
67
+
68
+ ### Training results
69
+
70
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
71
+ |:-------------:|:-----:|:-----:|:---------------:|:--------:|:------:|
72
+ | 0.4764 | 0.56 | 5000 | 0.9292 | 0.7898 | 0.7395 |
73
+ | 0.2624 | 1.11 | 10000 | 0.9850 | 0.7935 | 0.7392 |
74
+ | 0.2344 | 1.67 | 15000 | 1.0603 | 0.7976 | 0.7472 |
75
+ | 0.1556 | 2.22 | 20000 | 1.1387 | 0.7925 | 0.7431 |
76
+ | 0.1488 | 2.78 | 25000 | 1.1552 | 0.7960 | 0.7552 |
77
+ | 0.1048 | 3.33 | 30000 | 1.3310 | 0.7943 | 0.7452 |
78
+ | 0.101 | 3.89 | 35000 | 1.2902 | 0.7938 | 0.7516 |
79
+ | 0.0618 | 4.45 | 40000 | 1.3782 | 0.7991 | 0.7565 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.33.3
85
+ - Pytorch 2.1.1+cu121
86
+ - Datasets 2.14.5
87
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,159 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "3": "LABEL_3",
15
+ "4": "LABEL_4",
16
+ "5": "LABEL_5",
17
+ "6": "LABEL_6",
18
+ "7": "LABEL_7",
19
+ "8": "LABEL_8",
20
+ "9": "LABEL_9",
21
+ "10": "LABEL_10",
22
+ "11": "LABEL_11",
23
+ "12": "LABEL_12",
24
+ "13": "LABEL_13",
25
+ "14": "LABEL_14",
26
+ "15": "LABEL_15",
27
+ "16": "LABEL_16",
28
+ "17": "LABEL_17",
29
+ "18": "LABEL_18",
30
+ "19": "LABEL_19",
31
+ "20": "LABEL_20",
32
+ "21": "LABEL_21",
33
+ "22": "LABEL_22",
34
+ "23": "LABEL_23",
35
+ "24": "LABEL_24",
36
+ "25": "LABEL_25",
37
+ "26": "LABEL_26",
38
+ "27": "LABEL_27",
39
+ "28": "LABEL_28",
40
+ "29": "LABEL_29",
41
+ "30": "LABEL_30",
42
+ "31": "LABEL_31",
43
+ "32": "LABEL_32",
44
+ "33": "LABEL_33",
45
+ "34": "LABEL_34",
46
+ "35": "LABEL_35",
47
+ "36": "LABEL_36",
48
+ "37": "LABEL_37",
49
+ "38": "LABEL_38",
50
+ "39": "LABEL_39",
51
+ "40": "LABEL_40",
52
+ "41": "LABEL_41",
53
+ "42": "LABEL_42",
54
+ "43": "LABEL_43",
55
+ "44": "LABEL_44",
56
+ "45": "LABEL_45",
57
+ "46": "LABEL_46",
58
+ "47": "LABEL_47",
59
+ "48": "LABEL_48",
60
+ "49": "LABEL_49",
61
+ "50": "LABEL_50",
62
+ "51": "LABEL_51",
63
+ "52": "LABEL_52",
64
+ "53": "LABEL_53",
65
+ "54": "LABEL_54",
66
+ "55": "LABEL_55",
67
+ "56": "LABEL_56",
68
+ "57": "LABEL_57",
69
+ "58": "LABEL_58",
70
+ "59": "LABEL_59"
71
+ },
72
+ "initializer_range": 0.02,
73
+ "intermediate_size": 3072,
74
+ "label2id": {
75
+ "LABEL_0": 0,
76
+ "LABEL_1": 1,
77
+ "LABEL_10": 10,
78
+ "LABEL_11": 11,
79
+ "LABEL_12": 12,
80
+ "LABEL_13": 13,
81
+ "LABEL_14": 14,
82
+ "LABEL_15": 15,
83
+ "LABEL_16": 16,
84
+ "LABEL_17": 17,
85
+ "LABEL_18": 18,
86
+ "LABEL_19": 19,
87
+ "LABEL_2": 2,
88
+ "LABEL_20": 20,
89
+ "LABEL_21": 21,
90
+ "LABEL_22": 22,
91
+ "LABEL_23": 23,
92
+ "LABEL_24": 24,
93
+ "LABEL_25": 25,
94
+ "LABEL_26": 26,
95
+ "LABEL_27": 27,
96
+ "LABEL_28": 28,
97
+ "LABEL_29": 29,
98
+ "LABEL_3": 3,
99
+ "LABEL_30": 30,
100
+ "LABEL_31": 31,
101
+ "LABEL_32": 32,
102
+ "LABEL_33": 33,
103
+ "LABEL_34": 34,
104
+ "LABEL_35": 35,
105
+ "LABEL_36": 36,
106
+ "LABEL_37": 37,
107
+ "LABEL_38": 38,
108
+ "LABEL_39": 39,
109
+ "LABEL_4": 4,
110
+ "LABEL_40": 40,
111
+ "LABEL_41": 41,
112
+ "LABEL_42": 42,
113
+ "LABEL_43": 43,
114
+ "LABEL_44": 44,
115
+ "LABEL_45": 45,
116
+ "LABEL_46": 46,
117
+ "LABEL_47": 47,
118
+ "LABEL_48": 48,
119
+ "LABEL_49": 49,
120
+ "LABEL_5": 5,
121
+ "LABEL_50": 50,
122
+ "LABEL_51": 51,
123
+ "LABEL_52": 52,
124
+ "LABEL_53": 53,
125
+ "LABEL_54": 54,
126
+ "LABEL_55": 55,
127
+ "LABEL_56": 56,
128
+ "LABEL_57": 57,
129
+ "LABEL_58": 58,
130
+ "LABEL_59": 59,
131
+ "LABEL_6": 6,
132
+ "LABEL_7": 7,
133
+ "LABEL_8": 8,
134
+ "LABEL_9": 9
135
+ },
136
+ "layer_norm_eps": 1e-07,
137
+ "max_position_embeddings": 512,
138
+ "max_relative_positions": -1,
139
+ "model_type": "deberta-v2",
140
+ "norm_rel_ebd": "layer_norm",
141
+ "num_attention_heads": 12,
142
+ "num_hidden_layers": 12,
143
+ "pad_token_id": 0,
144
+ "pooler_dropout": 0,
145
+ "pooler_hidden_act": "gelu",
146
+ "pooler_hidden_size": 768,
147
+ "pos_att_type": [
148
+ "p2c",
149
+ "c2p"
150
+ ],
151
+ "position_biased_input": false,
152
+ "position_buckets": 256,
153
+ "relative_attention": true,
154
+ "share_att_key": true,
155
+ "torch_dtype": "float32",
156
+ "transformers_version": "4.33.3",
157
+ "type_vocab_size": 0,
158
+ "vocab_size": 251000
159
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9df3c31255b7d2ba33cdb22f972ac932c34b050ccbfda252f74374f404bccb46
3
+ size 1115491954
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f3cb34e0d61a7da10fbde1333e077815cf29db290b432a7499f13e57a56ec3b
3
+ size 4536