haryoaw commited on
Commit
dfc3683
1 Parent(s): 83f6d76

Initial Commit

Browse files
Files changed (5) hide show
  1. README.md +88 -0
  2. config.json +45 -0
  3. eval_results_cardiff.json +1 -0
  4. pytorch_model.bin +3 -0
  5. training_args.bin +3 -0
README.md ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: haryoaw/scenario-MDBT-TCR_data-cl-cardiff_cl_only
4
+ tags:
5
+ - generated_from_trainer
6
+ metrics:
7
+ - accuracy
8
+ - f1
9
+ model-index:
10
+ - name: scenario-KD-PO-CDF-CL-D2_data-cl-cardiff_cl_only44
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # scenario-KD-PO-CDF-CL-D2_data-cl-cardiff_cl_only44
18
+
19
+ This model is a fine-tuned version of [haryoaw/scenario-MDBT-TCR_data-cl-cardiff_cl_only](https://huggingface.co/haryoaw/scenario-MDBT-TCR_data-cl-cardiff_cl_only) on the None dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 35.0455
22
+ - Accuracy: 0.4421
23
+ - F1: 0.4372
24
+
25
+ ## Model description
26
+
27
+ More information needed
28
+
29
+ ## Intended uses & limitations
30
+
31
+ More information needed
32
+
33
+ ## Training and evaluation data
34
+
35
+ More information needed
36
+
37
+ ## Training procedure
38
+
39
+ ### Training hyperparameters
40
+
41
+ The following hyperparameters were used during training:
42
+ - learning_rate: 5e-05
43
+ - train_batch_size: 32
44
+ - eval_batch_size: 32
45
+ - seed: 44
46
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
47
+ - lr_scheduler_type: linear
48
+ - num_epochs: 30
49
+
50
+ ### Training results
51
+
52
+ | Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
53
+ |:-------------:|:-----:|:----:|:---------------:|:--------:|:------:|
54
+ | No log | 1.09 | 250 | 22.7040 | 0.4236 | 0.4110 |
55
+ | 23.1676 | 2.17 | 500 | 21.6418 | 0.4336 | 0.4116 |
56
+ | 23.1676 | 3.26 | 750 | 24.6174 | 0.4267 | 0.4155 |
57
+ | 12.9705 | 4.35 | 1000 | 27.2959 | 0.4460 | 0.4447 |
58
+ | 12.9705 | 5.43 | 1250 | 28.1257 | 0.4375 | 0.4315 |
59
+ | 7.1171 | 6.52 | 1500 | 27.9161 | 0.4360 | 0.4279 |
60
+ | 7.1171 | 7.61 | 1750 | 29.9352 | 0.4383 | 0.4361 |
61
+ | 4.3718 | 8.7 | 2000 | 34.5593 | 0.4298 | 0.4191 |
62
+ | 4.3718 | 9.78 | 2250 | 34.0346 | 0.4421 | 0.4373 |
63
+ | 3.4048 | 10.87 | 2500 | 33.3230 | 0.4390 | 0.4351 |
64
+ | 3.4048 | 11.96 | 2750 | 35.1604 | 0.4367 | 0.4313 |
65
+ | 2.4739 | 13.04 | 3000 | 33.4441 | 0.4228 | 0.4170 |
66
+ | 2.4739 | 14.13 | 3250 | 32.9534 | 0.4367 | 0.4308 |
67
+ | 2.0055 | 15.22 | 3500 | 34.2647 | 0.4429 | 0.4414 |
68
+ | 2.0055 | 16.3 | 3750 | 33.4915 | 0.4460 | 0.4450 |
69
+ | 1.4812 | 17.39 | 4000 | 35.4776 | 0.4298 | 0.4249 |
70
+ | 1.4812 | 18.48 | 4250 | 35.4540 | 0.4375 | 0.4366 |
71
+ | 1.299 | 19.57 | 4500 | 34.2270 | 0.4468 | 0.4467 |
72
+ | 1.299 | 20.65 | 4750 | 34.7234 | 0.4460 | 0.4441 |
73
+ | 0.98 | 21.74 | 5000 | 34.8872 | 0.4352 | 0.4294 |
74
+ | 0.98 | 22.83 | 5250 | 34.8777 | 0.4383 | 0.4370 |
75
+ | 0.7847 | 23.91 | 5500 | 35.0968 | 0.4522 | 0.4518 |
76
+ | 0.7847 | 25.0 | 5750 | 34.3877 | 0.4329 | 0.4285 |
77
+ | 0.6835 | 26.09 | 6000 | 35.0458 | 0.4390 | 0.4365 |
78
+ | 0.6835 | 27.17 | 6250 | 35.2727 | 0.4360 | 0.4326 |
79
+ | 0.5378 | 28.26 | 6500 | 33.4029 | 0.4390 | 0.4353 |
80
+ | 0.5378 | 29.35 | 6750 | 35.0455 | 0.4421 | 0.4372 |
81
+
82
+
83
+ ### Framework versions
84
+
85
+ - Transformers 4.33.3
86
+ - Pytorch 2.1.1+cu121
87
+ - Datasets 2.14.5
88
+ - Tokenizers 0.13.3
config.json ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "haryoaw/scenario-MDBT-TCR_data-cl-cardiff_cl_only",
3
+ "architectures": [
4
+ "DebertaForSequenceClassificationKD"
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": 6,
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
+ }
eval_results_cardiff.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"arabic": {"f1": 0.5197240620720346, "accuracy": 0.5287356321839081, "confusion_matrix": [[101, 93, 96], [47, 166, 77], [27, 70, 193]]}, "english": {"f1": 0.5937565896018729, "accuracy": 0.603448275862069, "confusion_matrix": [[232, 37, 21], [121, 115, 54], [56, 56, 178]]}, "french": {"f1": 0.4108960245918663, "accuracy": 0.4482758620689655, "confusion_matrix": [[104, 166, 20], [28, 239, 23], [33, 210, 47]]}, "german": {"f1": 0.6767599584491766, "accuracy": 0.6781609195402298, "confusion_matrix": [[176, 55, 59], [48, 194, 48], [31, 39, 220]]}, "hindi": {"f1": 0.4440536817957769, "accuracy": 0.4494252873563218, "confusion_matrix": [[144, 57, 89], [98, 92, 100], [75, 60, 155]]}, "italian": {"f1": 0.5894634016561572, "accuracy": 0.593103448275862, "confusion_matrix": [[128, 77, 85], [20, 194, 76], [25, 71, 194]]}, "portuguese": {"f1": 0.4806079340381193, "accuracy": 0.4862068965517241, "confusion_matrix": [[102, 97, 91], [58, 146, 86], [39, 76, 175]]}, "spanish": {"f1": 0.5642141374018236, "accuracy": 0.5689655172413793, "confusion_matrix": [[174, 69, 47], [75, 123, 92], [44, 48, 198]]}, "all": {"f1": 0.546620031340669, "accuracy": 0.5468390804597701, "confusion_matrix": [[1151, 659, 510], [502, 1294, 524], [354, 605, 1361]]}}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e31d6635517dee265ed18f720d73b86e693087b4546b974ceb929203dcf1eb22
3
+ size 946740394
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3543cf0fb0144607cb9d7bda3d2d51d300adce71d78a109a467cf8e5df07b4b3
3
+ size 4600