Upload DebertaV2ForTokenClassification
Browse files- config.json +75 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./storage/trained_models/microsoft-deberta-v3-large_ner_conll2003-anonimization_TRY_1/config_files/",
|
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": 1024,
|
10 |
+
"id2label": {
|
11 |
+
"0": "O",
|
12 |
+
"1": "Racial or ethnic information",
|
13 |
+
"2": "Name",
|
14 |
+
"3": "Sexual orientation",
|
15 |
+
"4": "Phone Numbers",
|
16 |
+
"5": "Health insurance information",
|
17 |
+
"6": "Religious beliefs",
|
18 |
+
"7": "Political opinions",
|
19 |
+
"8": "Social Security number",
|
20 |
+
"9": "Civil state",
|
21 |
+
"10": "Medical record numbers",
|
22 |
+
"11": "Trade union membership",
|
23 |
+
"12": "Physical addresses",
|
24 |
+
"13": "Philosophical beliefs",
|
25 |
+
"14": "Email address",
|
26 |
+
"15": "Genetic information",
|
27 |
+
"16": "Financial information",
|
28 |
+
"17": "Biometric infomration"
|
29 |
+
},
|
30 |
+
"initializer_range": 0.02,
|
31 |
+
"intermediate_size": 4096,
|
32 |
+
"label2id": {
|
33 |
+
"Biometric infomration": 17,
|
34 |
+
"Civil state": 9,
|
35 |
+
"Email address": 14,
|
36 |
+
"Financial information": 16,
|
37 |
+
"Genetic information": 15,
|
38 |
+
"Health insurance information": 5,
|
39 |
+
"Medical record numbers": 10,
|
40 |
+
"Name": 2,
|
41 |
+
"O": 0,
|
42 |
+
"Philosophical beliefs": 13,
|
43 |
+
"Phone Numbers": 4,
|
44 |
+
"Physical addresses": 12,
|
45 |
+
"Political opinions": 7,
|
46 |
+
"Racial or ethnic information": 1,
|
47 |
+
"Religious beliefs": 6,
|
48 |
+
"Sexual orientation": 3,
|
49 |
+
"Social Security number": 8,
|
50 |
+
"Trade union membership": 11
|
51 |
+
},
|
52 |
+
"layer_norm_eps": 1e-07,
|
53 |
+
"max_position_embeddings": 512,
|
54 |
+
"max_relative_positions": -1,
|
55 |
+
"model_type": "deberta-v2",
|
56 |
+
"norm_rel_ebd": "layer_norm",
|
57 |
+
"num_attention_heads": 16,
|
58 |
+
"num_hidden_layers": 24,
|
59 |
+
"pad_token_id": 0,
|
60 |
+
"pooler_dropout": 0,
|
61 |
+
"pooler_hidden_act": "gelu",
|
62 |
+
"pooler_hidden_size": 1024,
|
63 |
+
"pos_att_type": [
|
64 |
+
"p2c",
|
65 |
+
"c2p"
|
66 |
+
],
|
67 |
+
"position_biased_input": false,
|
68 |
+
"position_buckets": 256,
|
69 |
+
"relative_attention": true,
|
70 |
+
"share_att_key": true,
|
71 |
+
"torch_dtype": "float32",
|
72 |
+
"transformers_version": "4.30.2",
|
73 |
+
"type_vocab_size": 0,
|
74 |
+
"vocab_size": 128100
|
75 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0f6449c104f6efce8a3931f7056fe7b032401275df1ee5c222f2f3027b5c7d0c
|
3 |
+
size 1736257329
|