dmozzherin commited on
Commit
c809d8d
·
verified ·
1 Parent(s): 2fc1fc8

Add deberta-v3-small model

Browse files
small/config.json ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "DebertaV2ForTokenClassification"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "bos_token_id": null,
7
+ "dtype": "float16",
8
+ "eos_token_id": null,
9
+ "hidden_act": "gelu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": "O",
14
+ "1": "B-country",
15
+ "2": "I-country",
16
+ "3": "B-state",
17
+ "4": "I-state",
18
+ "5": "B-verbatim_locality",
19
+ "6": "I-verbatim_locality",
20
+ "7": "B-verbatim_date",
21
+ "8": "I-verbatim_date",
22
+ "9": "B-verbatim_elevation",
23
+ "10": "I-verbatim_elevation",
24
+ "11": "B-verbatim_collectors",
25
+ "12": "I-verbatim_collectors",
26
+ "13": "B-verbatim_habitat",
27
+ "14": "I-verbatim_habitat",
28
+ "15": "B-verbatim_method",
29
+ "16": "I-verbatim_method",
30
+ "17": "B-verbatim_latitude",
31
+ "18": "I-verbatim_latitude",
32
+ "19": "B-verbatim_longitude",
33
+ "20": "I-verbatim_longitude"
34
+ },
35
+ "initializer_range": 0.02,
36
+ "intermediate_size": 3072,
37
+ "label2id": {
38
+ "B-country": 1,
39
+ "B-state": 3,
40
+ "B-verbatim_collectors": 11,
41
+ "B-verbatim_date": 7,
42
+ "B-verbatim_elevation": 9,
43
+ "B-verbatim_habitat": 13,
44
+ "B-verbatim_latitude": 17,
45
+ "B-verbatim_locality": 5,
46
+ "B-verbatim_longitude": 19,
47
+ "B-verbatim_method": 15,
48
+ "I-country": 2,
49
+ "I-state": 4,
50
+ "I-verbatim_collectors": 12,
51
+ "I-verbatim_date": 8,
52
+ "I-verbatim_elevation": 10,
53
+ "I-verbatim_habitat": 14,
54
+ "I-verbatim_latitude": 18,
55
+ "I-verbatim_locality": 6,
56
+ "I-verbatim_longitude": 20,
57
+ "I-verbatim_method": 16,
58
+ "O": 0
59
+ },
60
+ "layer_norm_eps": 1e-07,
61
+ "legacy": true,
62
+ "max_position_embeddings": 512,
63
+ "max_relative_positions": -1,
64
+ "model_type": "deberta-v2",
65
+ "norm_rel_ebd": "layer_norm",
66
+ "num_attention_heads": 12,
67
+ "num_hidden_layers": 6,
68
+ "pad_token_id": 0,
69
+ "pooler_dropout": 0.0,
70
+ "pooler_hidden_act": "gelu",
71
+ "pooler_hidden_size": 768,
72
+ "pos_att_type": [
73
+ "p2c",
74
+ "c2p"
75
+ ],
76
+ "position_biased_input": false,
77
+ "position_buckets": 256,
78
+ "relative_attention": true,
79
+ "share_att_key": true,
80
+ "tie_word_embeddings": true,
81
+ "transformers_version": "5.6.0",
82
+ "type_vocab_size": 0,
83
+ "use_cache": false,
84
+ "vocab_size": 128100
85
+ }
small/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad3f11a0954b4890618a3a5676d0afb5a832171b76654e8f28493499b1018f53
3
+ size 282653514
small/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
small/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": true,
3
+ "backend": "tokenizers",
4
+ "bos_token": "[CLS]",
5
+ "cls_token": "[CLS]",
6
+ "do_lower_case": false,
7
+ "eos_token": "[SEP]",
8
+ "extra_special_tokens": [
9
+ "[PAD]",
10
+ "[CLS]",
11
+ "[SEP]"
12
+ ],
13
+ "is_local": false,
14
+ "local_files_only": false,
15
+ "mask_token": "[MASK]",
16
+ "model_max_length": 1000000000000000019884624838656,
17
+ "pad_token": "[PAD]",
18
+ "sep_token": "[SEP]",
19
+ "split_by_punct": false,
20
+ "tokenizer_class": "DebertaV2Tokenizer",
21
+ "unk_id": 3,
22
+ "unk_token": "[UNK]",
23
+ "vocab_type": "spm"
24
+ }
small/training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d5f6e6c7570901aea91b2cc9d1146d12a26287f62362c13625f02669332f4a00
3
+ size 5329