Initial Commit
Browse files- README.md +117 -0
- config.json +53 -0
- eval_result_ner.json +1 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
README.md
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: mit
|
4 |
+
base_model: haryoaw/scenario-TCR-NER_data-univner_half
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
metrics:
|
8 |
+
- precision
|
9 |
+
- recall
|
10 |
+
- f1
|
11 |
+
- accuracy
|
12 |
+
model-index:
|
13 |
+
- name: scenario-non-kd-po-ner-full-mdeberta_data-univner_half55
|
14 |
+
results: []
|
15 |
+
---
|
16 |
+
|
17 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
18 |
+
should probably proofread and complete it, then remove this comment. -->
|
19 |
+
|
20 |
+
# scenario-non-kd-po-ner-full-mdeberta_data-univner_half55
|
21 |
+
|
22 |
+
This model is a fine-tuned version of [haryoaw/scenario-TCR-NER_data-univner_half](https://huggingface.co/haryoaw/scenario-TCR-NER_data-univner_half) on the None dataset.
|
23 |
+
It achieves the following results on the evaluation set:
|
24 |
+
- Loss: 0.1503
|
25 |
+
- Precision: 0.8528
|
26 |
+
- Recall: 0.8701
|
27 |
+
- F1: 0.8614
|
28 |
+
- Accuracy: 0.9848
|
29 |
+
|
30 |
+
## Model description
|
31 |
+
|
32 |
+
More information needed
|
33 |
+
|
34 |
+
## Intended uses & limitations
|
35 |
+
|
36 |
+
More information needed
|
37 |
+
|
38 |
+
## Training and evaluation data
|
39 |
+
|
40 |
+
More information needed
|
41 |
+
|
42 |
+
## Training procedure
|
43 |
+
|
44 |
+
### Training hyperparameters
|
45 |
+
|
46 |
+
The following hyperparameters were used during training:
|
47 |
+
- learning_rate: 3e-05
|
48 |
+
- train_batch_size: 32
|
49 |
+
- eval_batch_size: 32
|
50 |
+
- seed: 55
|
51 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
52 |
+
- lr_scheduler_type: linear
|
53 |
+
- num_epochs: 30
|
54 |
+
|
55 |
+
### Training results
|
56 |
+
|
57 |
+
| Training Loss | Epoch | Step | Validation Loss | Precision | Recall | F1 | Accuracy |
|
58 |
+
|:-------------:|:-------:|:-----:|:---------------:|:---------:|:------:|:------:|:--------:|
|
59 |
+
| 0.0066 | 0.5828 | 500 | 0.1023 | 0.8339 | 0.8461 | 0.8399 | 0.9829 |
|
60 |
+
| 0.0066 | 1.1655 | 1000 | 0.0991 | 0.8499 | 0.8478 | 0.8488 | 0.9838 |
|
61 |
+
| 0.0063 | 1.7483 | 1500 | 0.1052 | 0.8388 | 0.8562 | 0.8474 | 0.9834 |
|
62 |
+
| 0.005 | 2.3310 | 2000 | 0.1075 | 0.8267 | 0.8645 | 0.8452 | 0.9830 |
|
63 |
+
| 0.0058 | 2.9138 | 2500 | 0.1067 | 0.8431 | 0.8673 | 0.8550 | 0.9838 |
|
64 |
+
| 0.0044 | 3.4965 | 3000 | 0.1132 | 0.8353 | 0.8605 | 0.8477 | 0.9835 |
|
65 |
+
| 0.0042 | 4.0793 | 3500 | 0.1059 | 0.8429 | 0.8689 | 0.8557 | 0.9842 |
|
66 |
+
| 0.0038 | 4.6620 | 4000 | 0.1047 | 0.8468 | 0.8671 | 0.8569 | 0.9845 |
|
67 |
+
| 0.0033 | 5.2448 | 4500 | 0.1195 | 0.8323 | 0.8557 | 0.8439 | 0.9832 |
|
68 |
+
| 0.0037 | 5.8275 | 5000 | 0.1231 | 0.8376 | 0.8618 | 0.8495 | 0.9831 |
|
69 |
+
| 0.0023 | 6.4103 | 5500 | 0.1207 | 0.8427 | 0.8639 | 0.8532 | 0.9839 |
|
70 |
+
| 0.0026 | 6.9930 | 6000 | 0.1162 | 0.8544 | 0.8566 | 0.8555 | 0.9841 |
|
71 |
+
| 0.0029 | 7.5758 | 6500 | 0.1149 | 0.8418 | 0.8691 | 0.8553 | 0.9841 |
|
72 |
+
| 0.0022 | 8.1585 | 7000 | 0.1342 | 0.8600 | 0.8543 | 0.8571 | 0.9842 |
|
73 |
+
| 0.0025 | 8.7413 | 7500 | 0.1159 | 0.8538 | 0.8566 | 0.8552 | 0.9842 |
|
74 |
+
| 0.0023 | 9.3240 | 8000 | 0.1253 | 0.8468 | 0.8512 | 0.8490 | 0.9837 |
|
75 |
+
| 0.0018 | 9.9068 | 8500 | 0.1288 | 0.8536 | 0.8546 | 0.8541 | 0.9839 |
|
76 |
+
| 0.0018 | 10.4895 | 9000 | 0.1243 | 0.8439 | 0.8523 | 0.8480 | 0.9837 |
|
77 |
+
| 0.0015 | 11.0723 | 9500 | 0.1278 | 0.8546 | 0.8540 | 0.8543 | 0.9839 |
|
78 |
+
| 0.0015 | 11.6550 | 10000 | 0.1337 | 0.8587 | 0.8564 | 0.8576 | 0.9840 |
|
79 |
+
| 0.0018 | 12.2378 | 10500 | 0.1324 | 0.8339 | 0.8562 | 0.8449 | 0.9836 |
|
80 |
+
| 0.0017 | 12.8205 | 11000 | 0.1284 | 0.845 | 0.8534 | 0.8492 | 0.9837 |
|
81 |
+
| 0.0013 | 13.4033 | 11500 | 0.1304 | 0.8581 | 0.8602 | 0.8591 | 0.9846 |
|
82 |
+
| 0.0015 | 13.9860 | 12000 | 0.1310 | 0.8335 | 0.8593 | 0.8462 | 0.9836 |
|
83 |
+
| 0.0013 | 14.5688 | 12500 | 0.1356 | 0.8422 | 0.8563 | 0.8492 | 0.9836 |
|
84 |
+
| 0.0009 | 15.1515 | 13000 | 0.1374 | 0.8559 | 0.8713 | 0.8635 | 0.9849 |
|
85 |
+
| 0.0013 | 15.7343 | 13500 | 0.1321 | 0.8399 | 0.8696 | 0.8545 | 0.9844 |
|
86 |
+
| 0.0009 | 16.3170 | 14000 | 0.1412 | 0.8431 | 0.8628 | 0.8528 | 0.9838 |
|
87 |
+
| 0.0011 | 16.8998 | 14500 | 0.1337 | 0.8527 | 0.8645 | 0.8586 | 0.9845 |
|
88 |
+
| 0.0006 | 17.4825 | 15000 | 0.1438 | 0.8620 | 0.8641 | 0.8630 | 0.9847 |
|
89 |
+
| 0.001 | 18.0653 | 15500 | 0.1346 | 0.8529 | 0.8683 | 0.8605 | 0.9847 |
|
90 |
+
| 0.0005 | 18.6480 | 16000 | 0.1356 | 0.8620 | 0.8667 | 0.8643 | 0.9850 |
|
91 |
+
| 0.0007 | 19.2308 | 16500 | 0.1426 | 0.8612 | 0.8622 | 0.8617 | 0.9845 |
|
92 |
+
| 0.0005 | 19.8135 | 17000 | 0.1415 | 0.8543 | 0.8588 | 0.8565 | 0.9844 |
|
93 |
+
| 0.0007 | 20.3963 | 17500 | 0.1385 | 0.8590 | 0.8589 | 0.8590 | 0.9844 |
|
94 |
+
| 0.0007 | 20.9790 | 18000 | 0.1405 | 0.8439 | 0.8696 | 0.8565 | 0.9840 |
|
95 |
+
| 0.0006 | 21.5618 | 18500 | 0.1414 | 0.8579 | 0.8648 | 0.8613 | 0.9846 |
|
96 |
+
| 0.0005 | 22.1445 | 19000 | 0.1386 | 0.8579 | 0.8612 | 0.8595 | 0.9845 |
|
97 |
+
| 0.0003 | 22.7273 | 19500 | 0.1447 | 0.8466 | 0.8735 | 0.8598 | 0.9843 |
|
98 |
+
| 0.0004 | 23.3100 | 20000 | 0.1413 | 0.8529 | 0.8626 | 0.8578 | 0.9845 |
|
99 |
+
| 0.0003 | 23.8928 | 20500 | 0.1404 | 0.8580 | 0.8655 | 0.8617 | 0.9850 |
|
100 |
+
| 0.0003 | 24.4755 | 21000 | 0.1466 | 0.8549 | 0.8681 | 0.8615 | 0.9847 |
|
101 |
+
| 0.0002 | 25.0583 | 21500 | 0.1467 | 0.8549 | 0.8645 | 0.8597 | 0.9846 |
|
102 |
+
| 0.0001 | 25.6410 | 22000 | 0.1495 | 0.8497 | 0.8746 | 0.8620 | 0.9847 |
|
103 |
+
| 0.0002 | 26.2238 | 22500 | 0.1479 | 0.8526 | 0.8701 | 0.8613 | 0.9848 |
|
104 |
+
| 0.0001 | 26.8065 | 23000 | 0.1485 | 0.8535 | 0.8655 | 0.8595 | 0.9846 |
|
105 |
+
| 0.0002 | 27.3893 | 23500 | 0.1482 | 0.8535 | 0.8691 | 0.8612 | 0.9847 |
|
106 |
+
| 0.0001 | 27.9720 | 24000 | 0.1501 | 0.8502 | 0.8683 | 0.8592 | 0.9845 |
|
107 |
+
| 0.0001 | 28.5548 | 24500 | 0.1490 | 0.8521 | 0.8670 | 0.8595 | 0.9847 |
|
108 |
+
| 0.0001 | 29.1375 | 25000 | 0.1506 | 0.8503 | 0.8713 | 0.8607 | 0.9847 |
|
109 |
+
| 0.0001 | 29.7203 | 25500 | 0.1503 | 0.8528 | 0.8701 | 0.8614 | 0.9848 |
|
110 |
+
|
111 |
+
|
112 |
+
### Framework versions
|
113 |
+
|
114 |
+
- Transformers 4.44.2
|
115 |
+
- Pytorch 2.1.1+cu121
|
116 |
+
- Datasets 2.14.5
|
117 |
+
- Tokenizers 0.19.1
|
config.json
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "haryoaw/scenario-TCR-NER_data-univner_half",
|
3 |
+
"architectures": [
|
4 |
+
"DebertaV2ForTokenClassification"
|
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 |
+
},
|
19 |
+
"initializer_range": 0.02,
|
20 |
+
"intermediate_size": 3072,
|
21 |
+
"label2id": {
|
22 |
+
"LABEL_0": 0,
|
23 |
+
"LABEL_1": 1,
|
24 |
+
"LABEL_2": 2,
|
25 |
+
"LABEL_3": 3,
|
26 |
+
"LABEL_4": 4,
|
27 |
+
"LABEL_5": 5,
|
28 |
+
"LABEL_6": 6
|
29 |
+
},
|
30 |
+
"layer_norm_eps": 1e-07,
|
31 |
+
"max_position_embeddings": 512,
|
32 |
+
"max_relative_positions": -1,
|
33 |
+
"model_type": "deberta-v2",
|
34 |
+
"norm_rel_ebd": "layer_norm",
|
35 |
+
"num_attention_heads": 12,
|
36 |
+
"num_hidden_layers": 12,
|
37 |
+
"pad_token_id": 0,
|
38 |
+
"pooler_dropout": 0,
|
39 |
+
"pooler_hidden_act": "gelu",
|
40 |
+
"pooler_hidden_size": 768,
|
41 |
+
"pos_att_type": [
|
42 |
+
"p2c",
|
43 |
+
"c2p"
|
44 |
+
],
|
45 |
+
"position_biased_input": false,
|
46 |
+
"position_buckets": 256,
|
47 |
+
"relative_attention": true,
|
48 |
+
"share_att_key": true,
|
49 |
+
"torch_dtype": "float32",
|
50 |
+
"transformers_version": "4.44.2",
|
51 |
+
"type_vocab_size": 0,
|
52 |
+
"vocab_size": 251000
|
53 |
+
}
|
eval_result_ner.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"ceb_gja": {"precision": 0.8333333333333334, "recall": 0.9183673469387755, "f1": 0.8737864077669903, "accuracy": 0.9891891891891892}, "en_pud": {"precision": 0.8336557059961315, "recall": 0.8018604651162791, "f1": 0.8174490279753438, "accuracy": 0.9823857196826596}, "de_pud": {"precision": 0.8208373904576436, "recall": 0.8113570741097209, "f1": 0.8160696999031946, "accuracy": 0.9793258637663494}, "pt_pud": {"precision": 0.8728971962616823, "recall": 0.8498635122838945, "f1": 0.8612263715998156, "accuracy": 0.9855171529884222}, "ru_pud": {"precision": 0.72895467160037, "recall": 0.7606177606177607, "f1": 0.7444496929617384, "accuracy": 0.9741668819426504}, "sv_pud": {"precision": 0.8701684836471755, "recall": 0.8532555879494655, "f1": 0.8616290480863592, "accuracy": 0.9860033550010484}, "tl_trg": {"precision": 0.8076923076923077, "recall": 0.9130434782608695, "f1": 0.8571428571428572, "accuracy": 0.9918256130790191}, "tl_ugnayan": {"precision": 0.6153846153846154, "recall": 0.7272727272727273, "f1": 0.6666666666666667, "accuracy": 0.9744758432087511}, "zh_gsd": {"precision": 0.8567708333333334, "recall": 0.8578878748370273, "f1": 0.8573289902280131, "accuracy": 0.9790209790209791}, "zh_gsdsimp": {"precision": 0.8577127659574468, "recall": 0.8453473132372215, "f1": 0.8514851485148514, "accuracy": 0.9782717282717283}, "hr_set": {"precision": 0.915266106442577, "recall": 0.9315751960085531, "f1": 0.9233486400565171, "accuracy": 0.9898186314921682}, "da_ddt": {"precision": 0.8629807692307693, "recall": 0.8031319910514542, "f1": 0.8319814600231751, "accuracy": 0.986930060860022}, "en_ewt": {"precision": 0.8553149606299213, "recall": 0.7987132352941176, "f1": 0.8260456273764258, "accuracy": 0.9821094154679842}, "pt_bosque": {"precision": 0.8812330009066183, "recall": 0.8, "f1": 0.8386540120793787, "accuracy": 0.9829372554702217}, "sr_set": {"precision": 0.9498806682577565, "recall": 0.9397874852420307, "f1": 0.944807121661721, "accuracy": 0.9911566412748446}, "sk_snk": {"precision": 0.7941176470588235, "recall": 0.7967213114754098, "f1": 0.795417348608838, "accuracy": 0.9718121859296482}, "sv_talbanken": {"precision": 0.8125, "recall": 0.9285714285714286, "f1": 0.8666666666666666, "accuracy": 0.9973499533788095}}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:4159b8bb463ed4a30e9a33c0d3b9fbb1a15da1dbdc18c8cbf8137f95c7a6884e
|
3 |
+
size 1112921036
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a15ca34dcd14384bd35955e3f843032d0a852afa04bb40702c10a253a486e096
|
3 |
+
size 5304
|