Initial Commit
Browse files- README.md +79 -0
- config.json +45 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: haryoaw/scenario-MDBT-TCR_data-en-cardiff_eng_only
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- accuracy
|
9 |
+
- f1
|
10 |
+
model-index:
|
11 |
+
- name: scenario-NON-KD-PO-COPY-CDF-EN-D2_data-en-cardiff_eng_only55
|
12 |
+
results: []
|
13 |
+
---
|
14 |
+
|
15 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
16 |
+
should probably proofread and complete it, then remove this comment. -->
|
17 |
+
|
18 |
+
# scenario-NON-KD-PO-COPY-CDF-EN-D2_data-en-cardiff_eng_only55
|
19 |
+
|
20 |
+
This model is a fine-tuned version of [haryoaw/scenario-MDBT-TCR_data-en-cardiff_eng_only](https://huggingface.co/haryoaw/scenario-MDBT-TCR_data-en-cardiff_eng_only) on the None dataset.
|
21 |
+
It achieves the following results on the evaluation set:
|
22 |
+
- Loss: 5.0027
|
23 |
+
- Accuracy: 0.4656
|
24 |
+
- F1: 0.4619
|
25 |
+
|
26 |
+
## Model description
|
27 |
+
|
28 |
+
More information needed
|
29 |
+
|
30 |
+
## Intended uses & limitations
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Training and evaluation data
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training procedure
|
39 |
+
|
40 |
+
### Training hyperparameters
|
41 |
+
|
42 |
+
The following hyperparameters were used during training:
|
43 |
+
- learning_rate: 5e-05
|
44 |
+
- train_batch_size: 32
|
45 |
+
- eval_batch_size: 32
|
46 |
+
- seed: 55
|
47 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
48 |
+
- lr_scheduler_type: linear
|
49 |
+
- num_epochs: 30
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|
54 |
+
|:-------------:|:-------:|:----:|:---------------:|:--------:|:------:|
|
55 |
+
| No log | 1.7241 | 100 | 1.2748 | 0.4339 | 0.4142 |
|
56 |
+
| No log | 3.4483 | 200 | 1.3406 | 0.4660 | 0.4596 |
|
57 |
+
| No log | 5.1724 | 300 | 1.5563 | 0.4757 | 0.4694 |
|
58 |
+
| No log | 6.8966 | 400 | 2.0113 | 0.4683 | 0.4688 |
|
59 |
+
| 0.5741 | 8.6207 | 500 | 2.4441 | 0.4700 | 0.4666 |
|
60 |
+
| 0.5741 | 10.3448 | 600 | 2.6979 | 0.4656 | 0.4657 |
|
61 |
+
| 0.5741 | 12.0690 | 700 | 3.3013 | 0.4630 | 0.4595 |
|
62 |
+
| 0.5741 | 13.7931 | 800 | 3.6311 | 0.4652 | 0.4630 |
|
63 |
+
| 0.5741 | 15.5172 | 900 | 4.2150 | 0.4537 | 0.4431 |
|
64 |
+
| 0.0798 | 17.2414 | 1000 | 4.2688 | 0.4581 | 0.4507 |
|
65 |
+
| 0.0798 | 18.9655 | 1100 | 4.4930 | 0.4630 | 0.4597 |
|
66 |
+
| 0.0798 | 20.6897 | 1200 | 4.8125 | 0.4537 | 0.4398 |
|
67 |
+
| 0.0798 | 22.4138 | 1300 | 4.7923 | 0.4674 | 0.4603 |
|
68 |
+
| 0.0798 | 24.1379 | 1400 | 4.8840 | 0.4616 | 0.4594 |
|
69 |
+
| 0.0132 | 25.8621 | 1500 | 5.0249 | 0.4612 | 0.4539 |
|
70 |
+
| 0.0132 | 27.5862 | 1600 | 5.0564 | 0.4594 | 0.4534 |
|
71 |
+
| 0.0132 | 29.3103 | 1700 | 5.0027 | 0.4656 | 0.4619 |
|
72 |
+
|
73 |
+
|
74 |
+
### Framework versions
|
75 |
+
|
76 |
+
- Transformers 4.44.2
|
77 |
+
- Pytorch 2.1.1+cu121
|
78 |
+
- Datasets 2.14.5
|
79 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "haryoaw/scenario-MDBT-TCR_data-en-cardiff_eng_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.44.2",
|
43 |
+
"type_vocab_size": 0,
|
44 |
+
"vocab_size": 251000
|
45 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:23988e87e24ed3d74999ad30a394d71f17caca1b6dd518d2f55c1c4ef758f498
|
3 |
+
size 946716948
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:31d779b2d8e6d0b2c7a5d0c0f1e6b26a32d99af21e8a6089a221c84a22ece505
|
3 |
+
size 5304
|