haryoaw commited on
Commit
39af9ed
1 Parent(s): e16dacd

Initial Commit

Browse files
Files changed (5) hide show
  1. README.md +78 -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,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-EN-FROM-CL-D2_data-en-cardiff_eng_only55
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-EN-FROM-CL-D2_data-en-cardiff_eng_only55
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: 39.4604
22
+ - Accuracy: 0.4537
23
+ - F1: 0.4426
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: 55
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.72 | 100 | 24.2103 | 0.4616 | 0.4518 |
55
+ | No log | 3.45 | 200 | 29.3271 | 0.4255 | 0.3714 |
56
+ | No log | 5.17 | 300 | 29.8979 | 0.4489 | 0.4414 |
57
+ | No log | 6.9 | 400 | 31.7211 | 0.4669 | 0.4627 |
58
+ | 15.3839 | 8.62 | 500 | 37.0421 | 0.4581 | 0.4492 |
59
+ | 15.3839 | 10.34 | 600 | 32.5884 | 0.4669 | 0.4658 |
60
+ | 15.3839 | 12.07 | 700 | 39.9517 | 0.4493 | 0.4332 |
61
+ | 15.3839 | 13.79 | 800 | 38.5249 | 0.4630 | 0.4470 |
62
+ | 15.3839 | 15.52 | 900 | 38.7918 | 0.4414 | 0.4286 |
63
+ | 2.5437 | 17.24 | 1000 | 40.0345 | 0.4524 | 0.4391 |
64
+ | 2.5437 | 18.97 | 1100 | 38.3918 | 0.4612 | 0.4527 |
65
+ | 2.5437 | 20.69 | 1200 | 41.3974 | 0.4396 | 0.4169 |
66
+ | 2.5437 | 22.41 | 1300 | 38.7372 | 0.4603 | 0.4532 |
67
+ | 2.5437 | 24.14 | 1400 | 40.1541 | 0.4405 | 0.4288 |
68
+ | 1.0429 | 25.86 | 1500 | 40.0459 | 0.4568 | 0.4383 |
69
+ | 1.0429 | 27.59 | 1600 | 39.3779 | 0.4590 | 0.4457 |
70
+ | 1.0429 | 29.31 | 1700 | 39.4604 | 0.4537 | 0.4426 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.33.3
76
+ - Pytorch 2.1.1+cu121
77
+ - Datasets 2.14.5
78
+ - 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.47748666077704865, "accuracy": 0.4827586206896552, "confusion_matrix": [[189, 75, 26], [125, 122, 43], [109, 72, 109]]}, "english": {"f1": 0.6062700636332565, "accuracy": 0.6114942528735632, "confusion_matrix": [[227, 47, 16], [103, 134, 53], [55, 64, 171]]}, "french": {"f1": 0.4297181829135792, "accuracy": 0.4574712643678161, "confusion_matrix": [[117, 157, 16], [39, 222, 29], [65, 166, 59]]}, "german": {"f1": 0.5596284626208937, "accuracy": 0.5609195402298851, "confusion_matrix": [[134, 100, 56], [51, 174, 65], [37, 73, 180]]}, "hindi": {"f1": 0.45352147267024295, "accuracy": 0.4574712643678161, "confusion_matrix": [[100, 116, 74], [58, 162, 70], [55, 99, 136]]}, "italian": {"f1": 0.5240459961978949, "accuracy": 0.532183908045977, "confusion_matrix": [[157, 102, 31], [35, 204, 51], [64, 124, 102]]}, "portuguese": {"f1": 0.43449828678836616, "accuracy": 0.43908045977011495, "confusion_matrix": [[97, 148, 45], [70, 175, 45], [44, 136, 110]]}, "spanish": {"f1": 0.4792917115643119, "accuracy": 0.47701149425287354, "confusion_matrix": [[142, 127, 21], [85, 158, 47], [53, 122, 115]]}, "all": {"f1": 0.5009864458749811, "accuracy": 0.5018678160919541, "confusion_matrix": [[1142, 885, 293], [546, 1383, 391], [478, 874, 968]]}}
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4ceaf494f40e98e2f87fbbce0e3b027919c795dc93246c326d3d37b683a055b
3
+ size 946740394
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f23fc3d5a009d0b7c9824b432e22adc1cc84ad78b2b336c203fc29793a44f7f3
3
+ size 4600