yacht commited on
Commit
7ce48ee
β€’
1 Parent(s): 9c644d1

update tokenizer with fast version

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
added_tokens.json CHANGED
The diff for this file is too large to render. See raw diff
 
special_tokens_map.json CHANGED
@@ -1 +1,21 @@
1
- {"bos_token": "[BOS]", "eos_token": "[EOS]", "unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]", "additional_special_tokens": ["[LEN]", "[LPP]", "[AS]", "[CITYU]", "[CNC]", "[CTB6]", "[MSR]", "[PKU]", "[SXU]", "[UNC]"]}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "[LEN]",
4
+ "[LPP]",
5
+ "[AS]",
6
+ "[CITYU]",
7
+ "[CNC]",
8
+ "[CTB6]",
9
+ "[MSR]",
10
+ "[PKU]",
11
+ "[SXU]",
12
+ "[UNC]"
13
+ ],
14
+ "bos_token": "[BOS]",
15
+ "cls_token": "[CLS]",
16
+ "eos_token": "[EOS]",
17
+ "mask_token": "[MASK]",
18
+ "pad_token": "[PAD]",
19
+ "sep_token": "[SEP]",
20
+ "unk_token": "[UNK]"
21
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4d1b115d50fe9e646dd5baf1c9d547c578c7fc04cbda5dbe716838719121107a
3
+ size 47887022
tokenizer_config.json CHANGED
@@ -1 +1,16 @@
1
- {"do_lower_case": false, "do_basic_tokenize": true, "never_split": null, "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, "tokenizer_file": "data/ptm/bert-base-chinese/tokenizer.json", "name_or_path": "data/ptm/bert-base-chinese", "tokenizer_class": "BertTokenizer"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "do_basic_tokenize": true,
4
+ "do_lower_case": false,
5
+ "from_slow": true,
6
+ "mask_token": "[MASK]",
7
+ "name_or_path": "tmp/tokenizers/",
8
+ "never_split": null,
9
+ "pad_token": "[PAD]",
10
+ "sep_token": "[SEP]",
11
+ "special_tokens_map_file": null,
12
+ "strip_accents": null,
13
+ "tokenize_chinese_chars": true,
14
+ "tokenizer_class": "BertTokenizer",
15
+ "unk_token": "[UNK]"
16
+ }