Upload config.json with huggingface_hub
Browse files- config.json +93 -0
config.json
ADDED
@@ -0,0 +1,93 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "gyr66/bert-base-chinese-finetuned-ner",
|
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": "O",
|
14 |
+
"1": "B-position",
|
15 |
+
"2": "I-position",
|
16 |
+
"3": "B-name",
|
17 |
+
"4": "I-name",
|
18 |
+
"5": "B-movie",
|
19 |
+
"6": "I-movie",
|
20 |
+
"7": "B-organization",
|
21 |
+
"8": "I-organization",
|
22 |
+
"9": "B-company",
|
23 |
+
"10": "I-company",
|
24 |
+
"11": "B-book",
|
25 |
+
"12": "I-book",
|
26 |
+
"13": "B-address",
|
27 |
+
"14": "I-address",
|
28 |
+
"15": "B-scene",
|
29 |
+
"16": "I-scene",
|
30 |
+
"17": "B-mobile",
|
31 |
+
"18": "I-mobile",
|
32 |
+
"19": "B-email",
|
33 |
+
"20": "I-email",
|
34 |
+
"21": "B-game",
|
35 |
+
"22": "I-game",
|
36 |
+
"23": "B-government",
|
37 |
+
"24": "I-government",
|
38 |
+
"25": "B-QQ",
|
39 |
+
"26": "I-QQ",
|
40 |
+
"27": "B-vx",
|
41 |
+
"28": "I-vx"
|
42 |
+
},
|
43 |
+
"initializer_range": 0.02,
|
44 |
+
"intermediate_size": 3072,
|
45 |
+
"label2id": {
|
46 |
+
"B-QQ": "25",
|
47 |
+
"B-address": "13",
|
48 |
+
"B-book": "11",
|
49 |
+
"B-company": "9",
|
50 |
+
"B-email": "19",
|
51 |
+
"B-game": "21",
|
52 |
+
"B-government": "23",
|
53 |
+
"B-mobile": "17",
|
54 |
+
"B-movie": "5",
|
55 |
+
"B-name": "3",
|
56 |
+
"B-organization": "7",
|
57 |
+
"B-position": "1",
|
58 |
+
"B-scene": "15",
|
59 |
+
"B-vx": "27",
|
60 |
+
"I-QQ": "26",
|
61 |
+
"I-address": "14",
|
62 |
+
"I-book": "12",
|
63 |
+
"I-company": "10",
|
64 |
+
"I-email": "20",
|
65 |
+
"I-game": "22",
|
66 |
+
"I-government": "24",
|
67 |
+
"I-mobile": "18",
|
68 |
+
"I-movie": "6",
|
69 |
+
"I-name": "4",
|
70 |
+
"I-organization": "8",
|
71 |
+
"I-position": "2",
|
72 |
+
"I-scene": "16",
|
73 |
+
"I-vx": "28",
|
74 |
+
"O": "0"
|
75 |
+
},
|
76 |
+
"layer_norm_eps": 1e-12,
|
77 |
+
"max_position_embeddings": 512,
|
78 |
+
"model_type": "bert",
|
79 |
+
"num_attention_heads": 12,
|
80 |
+
"num_hidden_layers": 12,
|
81 |
+
"pad_token_id": 0,
|
82 |
+
"pooler_fc_size": 768,
|
83 |
+
"pooler_num_attention_heads": 12,
|
84 |
+
"pooler_num_fc_layers": 3,
|
85 |
+
"pooler_size_per_head": 128,
|
86 |
+
"pooler_type": "first_token_transform",
|
87 |
+
"position_embedding_type": "absolute",
|
88 |
+
"torch_dtype": "float32",
|
89 |
+
"transformers_version": "4.35.2",
|
90 |
+
"type_vocab_size": 2,
|
91 |
+
"use_cache": true,
|
92 |
+
"vocab_size": 21128
|
93 |
+
}
|