Li Zhou commited on
Commit
ab86884
·
1 Parent(s): acf1bd4

add SanWen model

Browse files
Files changed (3) hide show
  1. config.json +64 -0
  2. pytorch_model.bin +3 -0
  3. vocab.txt +0 -0
config.json ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "hfl/chinese-bert-wwm-ext",
3
+ "architectures": [
4
+ "BertForMaskedLM"
5
+ ],
6
+ "args": {
7
+ "do_GNN": true,
8
+ "dropout_prob": 0.1,
9
+ "gnn_layers": 4,
10
+ "gnn_type": "GCN",
11
+ "input_format": "entity_marker",
12
+ "model_name_or_path": "hfl/chinese-bert-wwm-ext",
13
+ "num_class": 10
14
+ },
15
+ "attention_probs_dropout_prob": 0.1,
16
+ "classifier_dropout": null,
17
+ "directionality": "bidi",
18
+ "hidden_act": "gelu",
19
+ "hidden_dropout_prob": 0.1,
20
+ "hidden_size": 768,
21
+ "id2label": {
22
+ "0": "LABEL_0",
23
+ "1": "LABEL_1",
24
+ "2": "LABEL_2",
25
+ "3": "LABEL_3",
26
+ "4": "LABEL_4",
27
+ "5": "LABEL_5",
28
+ "6": "LABEL_6",
29
+ "7": "LABEL_7",
30
+ "8": "LABEL_8",
31
+ "9": "LABEL_9"
32
+ },
33
+ "initializer_range": 0.02,
34
+ "intermediate_size": 3072,
35
+ "label2id": {
36
+ "LABEL_0": 0,
37
+ "LABEL_1": 1,
38
+ "LABEL_2": 2,
39
+ "LABEL_3": 3,
40
+ "LABEL_4": 4,
41
+ "LABEL_5": 5,
42
+ "LABEL_6": 6,
43
+ "LABEL_7": 7,
44
+ "LABEL_8": 8,
45
+ "LABEL_9": 9
46
+ },
47
+ "layer_norm_eps": 1e-12,
48
+ "max_position_embeddings": 512,
49
+ "model_type": "bert",
50
+ "num_attention_heads": 12,
51
+ "num_hidden_layers": 12,
52
+ "output_past": true,
53
+ "pad_token_id": 0,
54
+ "pooler_fc_size": 768,
55
+ "pooler_num_attention_heads": 12,
56
+ "pooler_num_fc_layers": 3,
57
+ "pooler_size_per_head": 128,
58
+ "pooler_type": "first_token_transform",
59
+ "position_embedding_type": "absolute",
60
+ "transformers_version": "4.20.1",
61
+ "type_vocab_size": 2,
62
+ "use_cache": true,
63
+ "vocab_size": 21132
64
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bd71028ec392c0d3a096d90afa3432ed196ea6a1dd7e32144e8a569cfe426ba8
3
+ size 423378585
vocab.txt ADDED
The diff for this file is too large to render. See raw diff