PaulD commited on
Commit
d844f2c
1 Parent(s): d893884

Upload tokenizer

Browse files
Files changed (2) hide show
  1. special_tokens_map.json +5 -13
  2. tokenizer_config.json +11 -12
special_tokens_map.json CHANGED
@@ -1,15 +1,7 @@
1
  {
2
- "bos_token": "<s>",
3
- "cls_token": "<s>",
4
- "eos_token": "</s>",
5
- "mask_token": {
6
- "content": "<mask>",
7
- "lstrip": true,
8
- "normalized": false,
9
- "rstrip": false,
10
- "single_word": false
11
- },
12
- "pad_token": "<pad>",
13
- "sep_token": "</s>",
14
- "unk_token": "<unk>"
15
  }
 
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,17 +1,16 @@
1
  {
2
- "add_prefix_space": false,
3
- "bos_token": "<s>",
4
- "cls_token": "<s>",
5
  "do_lower_case": false,
6
- "eos_token": "</s>",
7
- "errors": "replace",
8
- "mask_token": "<mask>",
9
  "model_max_length": 512,
10
- "name_or_path": "roberta-base",
11
- "pad_token": "<pad>",
12
- "sep_token": "</s>",
 
13
  "special_tokens_map_file": null,
14
- "tokenizer_class": "RobertaTokenizer",
15
- "trim_offsets": true,
16
- "unk_token": "<unk>"
 
17
  }
 
1
  {
2
+ "cls_token": "[CLS]",
3
+ "do_basic_tokenize": true,
 
4
  "do_lower_case": false,
5
+ "mask_token": "[MASK]",
 
 
6
  "model_max_length": 512,
7
+ "name_or_path": "bert-base-cased",
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
  }