BramVanroy commited on
Commit
eec5688
·
verified ·
1 Parent(s): d67975a

BramVanroy/deberta-v3-base-uner-down-synth400

Browse files
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: mit
4
+ base_model: microsoft/deberta-v3-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - f1
9
+ - precision
10
+ - recall
11
+ - accuracy
12
+ model-index:
13
+ - name: deberta-v3-base-uner-down-synth400
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
+ # deberta-v3-base-uner-down-synth400
21
+
22
+ This model is a fine-tuned version of [microsoft/deberta-v3-base](https://huggingface.co/microsoft/deberta-v3-base) on an unknown dataset.
23
+ It achieves the following results on the evaluation set:
24
+ - Loss: 0.1315
25
+ - F1: 0.7476
26
+ - Precision: 0.7075
27
+ - Recall: 0.7924
28
+ - Accuracy: 0.9782
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: 2.5e-05
48
+ - train_batch_size: 16
49
+ - eval_batch_size: 32
50
+ - seed: 42
51
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
52
+ - lr_scheduler_type: linear
53
+ - num_epochs: 30
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall | Accuracy |
58
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|:--------:|
59
+ | 0.4058 | 0.8 | 20 | 0.1934 | 0.055 | 0.12 | 0.0357 | 0.9433 |
60
+ | 0.1639 | 1.6 | 40 | 0.1266 | 0.3309 | 0.2967 | 0.3741 | 0.9582 |
61
+ | 0.0579 | 2.4 | 60 | 0.1016 | 0.4844 | 0.4477 | 0.5276 | 0.9669 |
62
+ | 0.062 | 3.2 | 80 | 0.0864 | 0.6686 | 0.6147 | 0.7330 | 0.9747 |
63
+ | 0.0521 | 4.0 | 100 | 0.0919 | 0.7018 | 0.6788 | 0.7265 | 0.9766 |
64
+ | 0.015 | 4.8 | 120 | 0.0922 | 0.7314 | 0.6931 | 0.7741 | 0.9767 |
65
+ | 0.0732 | 5.6 | 140 | 0.0931 | 0.7448 | 0.7068 | 0.7870 | 0.9779 |
66
+ | 0.0123 | 6.4 | 160 | 0.0965 | 0.7244 | 0.6710 | 0.7870 | 0.9764 |
67
+ | 0.019 | 7.2 | 180 | 0.0975 | 0.7285 | 0.6821 | 0.7816 | 0.9771 |
68
+ | 0.0314 | 8.0 | 200 | 0.0982 | 0.7396 | 0.6984 | 0.7859 | 0.9774 |
69
+ | 0.0125 | 8.8 | 220 | 0.1071 | 0.7488 | 0.7214 | 0.7784 | 0.9786 |
70
+ | 0.003 | 9.6 | 240 | 0.1129 | 0.7467 | 0.7368 | 0.7568 | 0.9784 |
71
+ | 0.0114 | 10.4 | 260 | 0.1137 | 0.7479 | 0.7361 | 0.76 | 0.9790 |
72
+ | 0.0029 | 11.2 | 280 | 0.1153 | 0.7417 | 0.7039 | 0.7838 | 0.9783 |
73
+ | 0.0159 | 12.0 | 300 | 0.1171 | 0.7422 | 0.6922 | 0.8 | 0.9775 |
74
+ | 0.0077 | 12.8 | 320 | 0.1167 | 0.7585 | 0.7466 | 0.7708 | 0.9792 |
75
+ | 0.002 | 13.6 | 340 | 0.1138 | 0.7400 | 0.6907 | 0.7968 | 0.9772 |
76
+ | 0.001 | 14.4 | 360 | 0.1171 | 0.7505 | 0.7172 | 0.7870 | 0.9785 |
77
+ | 0.0035 | 15.2 | 380 | 0.1202 | 0.7467 | 0.7102 | 0.7870 | 0.9781 |
78
+ | 0.0016 | 16.0 | 400 | 0.1212 | 0.7507 | 0.7296 | 0.7730 | 0.9786 |
79
+ | 0.0342 | 16.8 | 420 | 0.1221 | 0.7481 | 0.7042 | 0.7978 | 0.9779 |
80
+ | 0.0015 | 17.6 | 440 | 0.1216 | 0.7438 | 0.6983 | 0.7957 | 0.9782 |
81
+ | 0.0008 | 18.4 | 460 | 0.1230 | 0.7439 | 0.6993 | 0.7946 | 0.9780 |
82
+ | 0.001 | 19.2 | 480 | 0.1261 | 0.7463 | 0.7096 | 0.7870 | 0.9783 |
83
+ | 0.0008 | 20.0 | 500 | 0.1262 | 0.7427 | 0.6988 | 0.7924 | 0.9779 |
84
+ | 0.0008 | 20.8 | 520 | 0.1269 | 0.7386 | 0.6891 | 0.7957 | 0.9773 |
85
+ | 0.0009 | 21.6 | 540 | 0.1276 | 0.7418 | 0.6964 | 0.7935 | 0.9776 |
86
+ | 0.0009 | 22.4 | 560 | 0.1279 | 0.7420 | 0.7010 | 0.7881 | 0.9778 |
87
+ | 0.0006 | 23.2 | 580 | 0.1304 | 0.7397 | 0.6911 | 0.7957 | 0.9773 |
88
+ | 0.001 | 24.0 | 600 | 0.1307 | 0.7402 | 0.6904 | 0.7978 | 0.9772 |
89
+ | 0.0007 | 24.8 | 620 | 0.1308 | 0.7417 | 0.6930 | 0.7978 | 0.9774 |
90
+ | 0.0015 | 25.6 | 640 | 0.1305 | 0.7452 | 0.7024 | 0.7935 | 0.9780 |
91
+ | 0.0006 | 26.4 | 660 | 0.1305 | 0.7454 | 0.7071 | 0.7881 | 0.9782 |
92
+ | 0.0007 | 27.2 | 680 | 0.1308 | 0.7458 | 0.7078 | 0.7881 | 0.9782 |
93
+ | 0.0016 | 28.0 | 700 | 0.1311 | 0.7469 | 0.7072 | 0.7914 | 0.9782 |
94
+ | 0.0011 | 28.8 | 720 | 0.1314 | 0.7476 | 0.7075 | 0.7924 | 0.9782 |
95
+ | 0.0011 | 29.6 | 740 | 0.1315 | 0.7476 | 0.7075 | 0.7924 | 0.9782 |
96
+
97
+
98
+ ### Framework versions
99
+
100
+ - Transformers 4.57.1
101
+ - Pytorch 2.8.0+cu128
102
+ - Datasets 4.3.0
103
+ - Tokenizers 0.22.1
added_tokens.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "[MASK]": 128000
3
+ }
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DebertaV2ForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": 1,
7
+ "dtype": "float32",
8
+ "eos_token_id": 2,
9
+ "finetuning_task": "ner",
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": "O",
15
+ "1": "B-PER",
16
+ "2": "I-PER",
17
+ "3": "B-ORG",
18
+ "4": "I-ORG",
19
+ "5": "B-LOC",
20
+ "6": "I-LOC"
21
+ },
22
+ "initializer_range": 0.02,
23
+ "intermediate_size": 3072,
24
+ "label2id": {
25
+ "B-LOC": 5,
26
+ "B-ORG": 3,
27
+ "B-PER": 1,
28
+ "I-LOC": 6,
29
+ "I-ORG": 4,
30
+ "I-PER": 2,
31
+ "O": 0
32
+ },
33
+ "layer_norm_eps": 1e-07,
34
+ "legacy": true,
35
+ "max_position_embeddings": 512,
36
+ "max_relative_positions": -1,
37
+ "model_type": "deberta-v2",
38
+ "norm_rel_ebd": "layer_norm",
39
+ "num_attention_heads": 12,
40
+ "num_hidden_layers": 12,
41
+ "pad_token_id": 0,
42
+ "pooler_dropout": 0,
43
+ "pooler_hidden_act": "gelu",
44
+ "pooler_hidden_size": 768,
45
+ "pos_att_type": [
46
+ "p2c",
47
+ "c2p"
48
+ ],
49
+ "position_biased_input": false,
50
+ "position_buckets": 256,
51
+ "relative_attention": true,
52
+ "share_att_key": true,
53
+ "transformers_version": "4.57.1",
54
+ "type_vocab_size": 0,
55
+ "vocab_size": 128100
56
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:02d8afe06796fbd7396dad76aca972f5e986c736a7d2019c9ad22536680b627d
3
+ size 735372116
special_tokens_map.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "[CLS]",
3
+ "cls_token": "[CLS]",
4
+ "eos_token": "[SEP]",
5
+ "mask_token": "[MASK]",
6
+ "pad_token": "[PAD]",
7
+ "sep_token": "[SEP]",
8
+ "unk_token": {
9
+ "content": "[UNK]",
10
+ "lstrip": false,
11
+ "normalized": true,
12
+ "rstrip": false,
13
+ "single_word": false
14
+ }
15
+ }
spm.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd
3
+ size 2464616
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer_config.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "0": {
5
+ "content": "[PAD]",
6
+ "lstrip": false,
7
+ "normalized": false,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "1": {
13
+ "content": "[CLS]",
14
+ "lstrip": false,
15
+ "normalized": false,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ },
20
+ "2": {
21
+ "content": "[SEP]",
22
+ "lstrip": false,
23
+ "normalized": false,
24
+ "rstrip": false,
25
+ "single_word": false,
26
+ "special": true
27
+ },
28
+ "3": {
29
+ "content": "[UNK]",
30
+ "lstrip": false,
31
+ "normalized": true,
32
+ "rstrip": false,
33
+ "single_word": false,
34
+ "special": true
35
+ },
36
+ "128000": {
37
+ "content": "[MASK]",
38
+ "lstrip": false,
39
+ "normalized": false,
40
+ "rstrip": false,
41
+ "single_word": false,
42
+ "special": true
43
+ }
44
+ },
45
+ "bos_token": "[CLS]",
46
+ "clean_up_tokenization_spaces": false,
47
+ "cls_token": "[CLS]",
48
+ "do_lower_case": false,
49
+ "eos_token": "[SEP]",
50
+ "extra_special_tokens": {},
51
+ "mask_token": "[MASK]",
52
+ "model_max_length": 1000000000000000019884624838656,
53
+ "pad_token": "[PAD]",
54
+ "sep_token": "[SEP]",
55
+ "sp_model_kwargs": {},
56
+ "split_by_punct": false,
57
+ "tokenizer_class": "DebertaV2Tokenizer",
58
+ "unk_token": "[UNK]",
59
+ "vocab_type": "spm"
60
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:850858565dff82cf1388318b9334225b543d2db6c658fd746c1448f91f85be8b
3
+ size 5841