ruanchaves
commited on
Commit
•
944ee5d
1
Parent(s):
3a4e5e5
Upload config.json with huggingface_hub
Browse files- config.json +82 -0
config.json
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/mdeberta-v3-base",
|
3 |
+
"architectures": [
|
4 |
+
"DebertaV2ForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"finetuning_task": "ner",
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "O",
|
13 |
+
"1": "B-PESSOA",
|
14 |
+
"2": "I-PESSOA",
|
15 |
+
"3": "B-ORGANIZACAO",
|
16 |
+
"4": "I-ORGANIZACAO",
|
17 |
+
"5": "B-LOCAL",
|
18 |
+
"6": "I-LOCAL",
|
19 |
+
"7": "B-TEMPO",
|
20 |
+
"8": "I-TEMPO",
|
21 |
+
"9": "B-VALOR",
|
22 |
+
"10": "I-VALOR",
|
23 |
+
"11": "B-ABSTRACCAO",
|
24 |
+
"12": "I-ABSTRACCAO",
|
25 |
+
"13": "B-ACONTECIMENTO",
|
26 |
+
"14": "I-ACONTECIMENTO",
|
27 |
+
"15": "B-COISA",
|
28 |
+
"16": "I-COISA",
|
29 |
+
"17": "B-OBRA",
|
30 |
+
"18": "I-OBRA",
|
31 |
+
"19": "B-OUTRO",
|
32 |
+
"20": "I-OUTRO"
|
33 |
+
},
|
34 |
+
"initializer_range": 0.02,
|
35 |
+
"intermediate_size": 3072,
|
36 |
+
"label2id": {
|
37 |
+
"B-ABSTRACCAO": 11,
|
38 |
+
"B-ACONTECIMENTO": 13,
|
39 |
+
"B-COISA": 15,
|
40 |
+
"B-LOCAL": 5,
|
41 |
+
"B-OBRA": 17,
|
42 |
+
"B-ORGANIZACAO": 3,
|
43 |
+
"B-OUTRO": 19,
|
44 |
+
"B-PESSOA": 1,
|
45 |
+
"B-TEMPO": 7,
|
46 |
+
"B-VALOR": 9,
|
47 |
+
"I-ABSTRACCAO": 12,
|
48 |
+
"I-ACONTECIMENTO": 14,
|
49 |
+
"I-COISA": 16,
|
50 |
+
"I-LOCAL": 6,
|
51 |
+
"I-OBRA": 18,
|
52 |
+
"I-ORGANIZACAO": 4,
|
53 |
+
"I-OUTRO": 20,
|
54 |
+
"I-PESSOA": 2,
|
55 |
+
"I-TEMPO": 8,
|
56 |
+
"I-VALOR": 10,
|
57 |
+
"O": 0
|
58 |
+
},
|
59 |
+
"layer_norm_eps": 1e-07,
|
60 |
+
"max_position_embeddings": 512,
|
61 |
+
"max_relative_positions": -1,
|
62 |
+
"model_type": "deberta-v2",
|
63 |
+
"norm_rel_ebd": "layer_norm",
|
64 |
+
"num_attention_heads": 12,
|
65 |
+
"num_hidden_layers": 12,
|
66 |
+
"pad_token_id": 0,
|
67 |
+
"pooler_dropout": 0,
|
68 |
+
"pooler_hidden_act": "gelu",
|
69 |
+
"pooler_hidden_size": 768,
|
70 |
+
"pos_att_type": [
|
71 |
+
"p2c",
|
72 |
+
"c2p"
|
73 |
+
],
|
74 |
+
"position_biased_input": false,
|
75 |
+
"position_buckets": 256,
|
76 |
+
"relative_attention": true,
|
77 |
+
"share_att_key": true,
|
78 |
+
"torch_dtype": "float32",
|
79 |
+
"transformers_version": "4.28.0.dev0",
|
80 |
+
"type_vocab_size": 0,
|
81 |
+
"vocab_size": 251000
|
82 |
+
}
|