Upload BertForTokenClassification
Browse files- config.json +69 -0
- model.safetensors +3 -0
config.json
ADDED
@@ -0,0 +1,69 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "raynardj/classical-chinese-punctuation-guwen-biaodian",
|
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": "\u3002",
|
15 |
+
"2": "\uff0c",
|
16 |
+
"3": "\uff1a",
|
17 |
+
"4": "\uff1b",
|
18 |
+
"5": "\uff1f",
|
19 |
+
"6": "\uff01",
|
20 |
+
"7": "\"",
|
21 |
+
"8": "\"",
|
22 |
+
"9": "'",
|
23 |
+
"10": "'",
|
24 |
+
"11": "\uff08",
|
25 |
+
"12": "\uff09",
|
26 |
+
"13": "\"",
|
27 |
+
"14": "\"",
|
28 |
+
"15": "\uff08",
|
29 |
+
"16": "\uff09",
|
30 |
+
"17": "\u3010",
|
31 |
+
"18": "\u3011",
|
32 |
+
"19": "\u3010",
|
33 |
+
"20": "\u3011"
|
34 |
+
},
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"intermediate_size": 3072,
|
37 |
+
"label2id": {
|
38 |
+
"\"": 14,
|
39 |
+
"'": 10,
|
40 |
+
"O": 0,
|
41 |
+
"\u3002": 1,
|
42 |
+
"\u3010": 19,
|
43 |
+
"\u3011": 20,
|
44 |
+
"\uff01": 6,
|
45 |
+
"\uff08": 15,
|
46 |
+
"\uff09": 16,
|
47 |
+
"\uff0c": 2,
|
48 |
+
"\uff1a": 3,
|
49 |
+
"\uff1b": 4,
|
50 |
+
"\uff1f": 5
|
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.35.2",
|
66 |
+
"type_vocab_size": 2,
|
67 |
+
"use_cache": true,
|
68 |
+
"vocab_size": 21128
|
69 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:183c226c96a902216f6b6a03b0a7d672b8992de45281c3dd22f707485556370c
|
3 |
+
size 406796132
|