BramVanroy commited on
Commit
482855e
·
verified ·
1 Parent(s): a8fcbd6

BramVanroy/deberta-v3-base-uner-full

Browse files
README.md ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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-full
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-full
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.0981
25
+ - F1: 0.8316
26
+ - Precision: 0.8202
27
+ - Recall: 0.8432
28
+ - Accuracy: 0.9856
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: 10
54
+
55
+ ### Training results
56
+
57
+ | Training Loss | Epoch | Step | Validation Loss | F1 | Precision | Recall | Accuracy |
58
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:---------:|:------:|:--------:|
59
+ | 0.0012 | 1.0 | 734 | 0.0583 | 0.8017 | 0.7887 | 0.8151 | 0.9837 |
60
+ | 0.0002 | 2.0 | 1468 | 0.0625 | 0.8136 | 0.7975 | 0.8303 | 0.9846 |
61
+ | 0.0003 | 3.0 | 2202 | 0.0674 | 0.8111 | 0.7841 | 0.84 | 0.9838 |
62
+ | 0.0 | 4.0 | 2936 | 0.0715 | 0.8281 | 0.8155 | 0.8411 | 0.9854 |
63
+ | 0.0031 | 5.0 | 3670 | 0.0794 | 0.8297 | 0.8196 | 0.84 | 0.9856 |
64
+ | 0.0001 | 6.0 | 4404 | 0.0796 | 0.8320 | 0.8160 | 0.8486 | 0.9854 |
65
+ | 0.0 | 7.0 | 5138 | 0.0868 | 0.8262 | 0.8149 | 0.8378 | 0.9855 |
66
+ | 0.0001 | 8.0 | 5872 | 0.0911 | 0.8292 | 0.8116 | 0.8476 | 0.9857 |
67
+ | 0.0001 | 9.0 | 6606 | 0.0957 | 0.8321 | 0.8182 | 0.8465 | 0.9857 |
68
+ | 0.0001 | 10.0 | 7340 | 0.0981 | 0.8316 | 0.8202 | 0.8432 | 0.9856 |
69
+
70
+
71
+ ### Framework versions
72
+
73
+ - Transformers 4.57.1
74
+ - Pytorch 2.8.0+cu128
75
+ - Datasets 4.3.0
76
+ - 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:14e56e4eb0ef5d05fa6330c976ebaeccb4d19b20725ce0d4bad740badffc2865
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:e8db75a280350c846189db9456fddad8ee9bf2bdb4dbb09a02a4736880e20be0
3
+ size 5841