QuanjieHan
commited on
Commit
•
ce394ac
1
Parent(s):
3145400
Upload config.json
Browse files- config.json +69 -0
config.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./pretrain_data/bert-base-chinese",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"directionality": "bidi",
|
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 |
+
"8": "LABEL_8",
|
22 |
+
"9": "LABEL_9",
|
23 |
+
"10": "LABEL_10",
|
24 |
+
"11": "LABEL_11",
|
25 |
+
"12": "LABEL_12",
|
26 |
+
"13": "LABEL_13",
|
27 |
+
"14": "LABEL_14",
|
28 |
+
"15": "LABEL_15",
|
29 |
+
"16": "LABEL_16"
|
30 |
+
},
|
31 |
+
"initializer_range": 0.02,
|
32 |
+
"intermediate_size": 3072,
|
33 |
+
"label2id": {
|
34 |
+
"LABEL_0": 0,
|
35 |
+
"LABEL_1": 1,
|
36 |
+
"LABEL_10": 10,
|
37 |
+
"LABEL_11": 11,
|
38 |
+
"LABEL_12": 12,
|
39 |
+
"LABEL_13": 13,
|
40 |
+
"LABEL_14": 14,
|
41 |
+
"LABEL_15": 15,
|
42 |
+
"LABEL_16": 16,
|
43 |
+
"LABEL_2": 2,
|
44 |
+
"LABEL_3": 3,
|
45 |
+
"LABEL_4": 4,
|
46 |
+
"LABEL_5": 5,
|
47 |
+
"LABEL_6": 6,
|
48 |
+
"LABEL_7": 7,
|
49 |
+
"LABEL_8": 8,
|
50 |
+
"LABEL_9": 9
|
51 |
+
},
|
52 |
+
"layer_norm_eps": 1e-12,
|
53 |
+
"max_position_embeddings": 512,
|
54 |
+
"model_type": "bert",
|
55 |
+
"num_attention_heads": 12,
|
56 |
+
"num_hidden_layers": 12,
|
57 |
+
"pad_token_id": 0,
|
58 |
+
"pooler_fc_size": 768,
|
59 |
+
"pooler_num_attention_heads": 12,
|
60 |
+
"pooler_num_fc_layers": 3,
|
61 |
+
"pooler_size_per_head": 128,
|
62 |
+
"pooler_type": "first_token_transform",
|
63 |
+
"position_embedding_type": "absolute",
|
64 |
+
"torch_dtype": "float32",
|
65 |
+
"transformers_version": "4.15.0",
|
66 |
+
"type_vocab_size": 2,
|
67 |
+
"use_cache": true,
|
68 |
+
"vocab_size": 21128
|
69 |
+
}
|