Upload config.json
Browse files- config.json +58 -0
config.json
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./pretrain_models/deberta-pretrain/pytorch_model.bin",
|
3 |
+
"architectures": [
|
4 |
+
"BertSoftmaxForNer"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"conv_act": "gelu",
|
8 |
+
"conv_kernel_size": 3,
|
9 |
+
"hidden_act": "gelu",
|
10 |
+
"hidden_dropout_prob": 0.1,
|
11 |
+
"hidden_size": 768,
|
12 |
+
"id2label": {
|
13 |
+
"0": "LABEL_0",
|
14 |
+
"1": "LABEL_1",
|
15 |
+
"2": "LABEL_2",
|
16 |
+
"3": "LABEL_3",
|
17 |
+
"4": "LABEL_4",
|
18 |
+
"5": "LABEL_5",
|
19 |
+
"6": "LABEL_6",
|
20 |
+
"7": "LABEL_7"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
+
"label2id": {
|
25 |
+
"LABEL_0": 0,
|
26 |
+
"LABEL_1": 1,
|
27 |
+
"LABEL_2": 2,
|
28 |
+
"LABEL_3": 3,
|
29 |
+
"LABEL_4": 4,
|
30 |
+
"LABEL_5": 5,
|
31 |
+
"LABEL_6": 6,
|
32 |
+
"LABEL_7": 7
|
33 |
+
},
|
34 |
+
"layer_norm_eps": 1e-07,
|
35 |
+
"loss_type": "lsr",
|
36 |
+
"max_position_embeddings": 512,
|
37 |
+
"max_relative_positions": -1,
|
38 |
+
"model_type": "deberta-v2",
|
39 |
+
"norm_rel_ebd": "layer_norm",
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_hidden_layers": 12,
|
42 |
+
"pad_token_id": 0,
|
43 |
+
"pooler_dropout": 0,
|
44 |
+
"pooler_hidden_act": "gelu",
|
45 |
+
"pooler_hidden_size": 768,
|
46 |
+
"pos_att_type": [
|
47 |
+
"c2p",
|
48 |
+
"p2c"
|
49 |
+
],
|
50 |
+
"position_biased_input": false,
|
51 |
+
"position_buckets": 256,
|
52 |
+
"relative_attention": true,
|
53 |
+
"share_att_key": true,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.9.2",
|
56 |
+
"type_vocab_size": 0,
|
57 |
+
"vocab_size": 12800
|
58 |
+
}
|