seamew commited on
Commit
06159c2
1 Parent(s): cc278e6
Files changed (5) hide show
  1. config.json +49 -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,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "nghuyong/ernie-1.0",
3
+ "architectures": [
4
+ "BertForSequenceClassification"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "finetuning_task": "text-classification",
8
+ "gradient_checkpointing": false,
9
+ "hidden_act": "relu",
10
+ "hidden_dropout_prob": 0.1,
11
+ "hidden_size": 768,
12
+ "id2label": {
13
+ "0": 0,
14
+ "1": 1,
15
+ "2": 2,
16
+ "3": 3,
17
+ "4": 4,
18
+ "5": 5,
19
+ "6": 6,
20
+ "7": 7,
21
+ "8": 8,
22
+ "9": 9
23
+ },
24
+ "initializer_range": 0.02,
25
+ "intermediate_size": 3072,
26
+ "label2id": {
27
+ "0": 0,
28
+ "1": 1,
29
+ "2": 2,
30
+ "3": 3,
31
+ "4": 4,
32
+ "5": 5,
33
+ "6": 6,
34
+ "7": 7,
35
+ "8": 8,
36
+ "9": 9
37
+ },
38
+ "layer_norm_eps": 1e-05,
39
+ "max_position_embeddings": 513,
40
+ "model_type": "bert",
41
+ "num_attention_heads": 12,
42
+ "num_hidden_layers": 12,
43
+ "pad_token_id": 0,
44
+ "position_embedding_type": "absolute",
45
+ "transformers_version": "4.7.0",
46
+ "type_vocab_size": 2,
47
+ "use_cache": true,
48
+ "vocab_size": 18000
49
+ }
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:6affecb3927490bbcc8b184ac3c3e9394f171d5b2376f71b63a4668f7c0e44b0
3
+ size 399765896
tokenizer_config.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"do_lower_case": true, "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "tokenize_chinese_chars": true, "strip_accents": null, "special_tokens_map_file": null, "full_tokenizer_file": null, "name_or_path": "nghuyong/ernie-1.0", "do_basic_tokenize": true, "never_split": null}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff