Upload BertForTokenClassification
Browse files- config.json +47 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ner_model",
|
3 |
+
"architectures": [
|
4 |
+
"BertForTokenClassification"
|
5 |
+
],
|
6 |
+
"attention_probs_dropout_prob": 0.1,
|
7 |
+
"classifier_dropout": null,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_dropout_prob": 0.1,
|
10 |
+
"hidden_size": 768,
|
11 |
+
"id2label": {
|
12 |
+
"0": "\u653f\u6cbb\u7684\u7d44\u7e54\u540d",
|
13 |
+
"1": "\u5730\u540d",
|
14 |
+
"2": "O",
|
15 |
+
"3": "\u30a4\u30d9\u30f3\u30c8\u540d",
|
16 |
+
"4": "\u305d\u306e\u4ed6\u306e\u7d44\u7e54\u540d",
|
17 |
+
"5": "\u6cd5\u4eba\u540d",
|
18 |
+
"6": "\u65bd\u8a2d\u540d",
|
19 |
+
"7": "\u88fd\u54c1\u540d",
|
20 |
+
"8": "\u4eba\u540d"
|
21 |
+
},
|
22 |
+
"initializer_range": 0.02,
|
23 |
+
"intermediate_size": 3072,
|
24 |
+
"label2id": {
|
25 |
+
"O": 2,
|
26 |
+
"\u305d\u306e\u4ed6\u306e\u7d44\u7e54\u540d": 4,
|
27 |
+
"\u30a4\u30d9\u30f3\u30c8\u540d": 3,
|
28 |
+
"\u4eba\u540d": 8,
|
29 |
+
"\u5730\u540d": 1,
|
30 |
+
"\u653f\u6cbb\u7684\u7d44\u7e54\u540d": 0,
|
31 |
+
"\u65bd\u8a2d\u540d": 6,
|
32 |
+
"\u6cd5\u4eba\u540d": 5,
|
33 |
+
"\u88fd\u54c1\u540d": 7
|
34 |
+
},
|
35 |
+
"layer_norm_eps": 1e-12,
|
36 |
+
"max_position_embeddings": 512,
|
37 |
+
"model_type": "bert",
|
38 |
+
"num_attention_heads": 12,
|
39 |
+
"num_hidden_layers": 12,
|
40 |
+
"pad_token_id": 0,
|
41 |
+
"position_embedding_type": "absolute",
|
42 |
+
"torch_dtype": "float32",
|
43 |
+
"transformers_version": "4.32.0",
|
44 |
+
"type_vocab_size": 2,
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 32768
|
47 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7dfffa3a62026aa348cf103eaf3e9a36604351ffdc0679f99ebb42582463a5f4
|
3 |
+
size 442558889
|