Xenova HF staff commited on
Commit
b0c461d
1 Parent(s): fdfce55

Fix malformed tokenizer config and add special tokens map

Browse files
Files changed (2) hide show
  1. special_tokens_map.json +7 -0
  2. tokenizer_config.json +11 -1
special_tokens_map.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "cls_token": "[CLS]",
3
+ "mask_token": "[MASK]",
4
+ "pad_token": "[PAD]",
5
+ "sep_token": "[SEP]",
6
+ "unk_token": "[UNK]"
7
+ }
tokenizer_config.json CHANGED
@@ -1,3 +1,13 @@
1
  {
2
- "do_lower_case": false
 
 
 
 
 
 
 
 
 
 
3
  }
 
1
  {
2
+ "clean_up_tokenization_spaces": true,
3
+ "cls_token": "[CLS]",
4
+ "do_lower_case": false,
5
+ "mask_token": "[MASK]",
6
+ "model_max_length": 512,
7
+ "pad_token": "[PAD]",
8
+ "sep_token": "[SEP]",
9
+ "strip_accents": null,
10
+ "tokenize_chinese_chars": true,
11
+ "tokenizer_class": "BertTokenizer",
12
+ "unk_token": "[UNK]"
13
  }