seamew commited on
Commit
5dbe96c
1 Parent(s): 7ed8b2f
Files changed (5) hide show
  1. config.json +55 -0
  2. special_tokens_map.json +1 -0
  3. tf_model.h5 +3 -0
  4. tokenizer_config.json +1 -0
  5. vocab.txt +0 -0
config.json ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "bert-base-chinese",
3
+ "architectures": [
4
+ "BertForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "directionality": "bidi",
8
+ "finetuning_task": "text-classification",
9
+ "gradient_checkpointing": false,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "id2label": {
14
+ "0": 0,
15
+ "1": 1,
16
+ "2": 2,
17
+ "3": 3,
18
+ "4": 4,
19
+ "5": 5,
20
+ "6": 6,
21
+ "7": 7,
22
+ "8": 8,
23
+ "9": 9
24
+ },
25
+ "initializer_range": 0.02,
26
+ "intermediate_size": 3072,
27
+ "label2id": {
28
+ "0": 0,
29
+ "1": 1,
30
+ "2": 2,
31
+ "3": 3,
32
+ "4": 4,
33
+ "5": 5,
34
+ "6": 6,
35
+ "7": 7,
36
+ "8": 8,
37
+ "9": 9
38
+ },
39
+ "layer_norm_eps": 1e-12,
40
+ "max_position_embeddings": 512,
41
+ "model_type": "bert",
42
+ "num_attention_heads": 12,
43
+ "num_hidden_layers": 12,
44
+ "pad_token_id": 0,
45
+ "pooler_fc_size": 768,
46
+ "pooler_num_attention_heads": 12,
47
+ "pooler_num_fc_layers": 3,
48
+ "pooler_size_per_head": 128,
49
+ "pooler_type": "first_token_transform",
50
+ "position_embedding_type": "absolute",
51
+ "transformers_version": "4.5.1",
52
+ "type_vocab_size": 2,
53
+ "use_cache": true,
54
+ "vocab_size": 21128
55
+ }
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ac8d26ed109fe75ba1a670e226c8e3f8755f537a16d479b2bd83e18d447057e
3
+ size 409372040
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": false, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "model_max_length": 512, "special_tokens_map_file": null, "name_or_path": "bert-base-chinese"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff