Qishuai commited on
Commit
03577a5
1 Parent(s): cd4fa37
Files changed (2) hide show
  1. config.json +41 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "models/chinese_punctuator",
3
+ "activation": "gelu",
4
+ "architectures": [
5
+ "DistilBertForTokenClassification"
6
+ ],
7
+ "attention_dropout": 0.1,
8
+ "dim": 768,
9
+ "dropout": 0.2,
10
+ "hidden_dim": 3072,
11
+ "id2label": {
12
+ "0": "C_EXLAMATIONMARK",
13
+ "1": "C_DUNHAO",
14
+ "2": "C_COMMA",
15
+ "3": "C_QUESTIONMARK",
16
+ "4": "O",
17
+ "5": "C_PERIOD"
18
+ },
19
+ "initializer_range": 0.02,
20
+ "label2id": {
21
+ "C_COMMA": 2,
22
+ "C_DUNHAO": 1,
23
+ "C_EXLAMATIONMARK": 0,
24
+ "C_PERIOD": 5,
25
+ "C_QUESTIONMARK": 3,
26
+ "O": 4
27
+ },
28
+ "max_position_embeddings": 512,
29
+ "model_type": "distilbert",
30
+ "n_heads": 12,
31
+ "n_layers": 6,
32
+ "output_hidden_states": true,
33
+ "pad_token_id": 0,
34
+ "qa_dropout": 0.1,
35
+ "seq_classif_dropout": 0.2,
36
+ "sinusoidal_pos_embds": true,
37
+ "tie_weights_": true,
38
+ "torch_dtype": "float32",
39
+ "transformers_version": "4.12.5",
40
+ "vocab_size": 21128
41
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f8d51caf890088891ff04e010da22705ce44c783c72f164b7d36703108e27a86
3
+ size 236652843