letzdev commited on
Commit
fd14030
1 Parent(s): 302ecbb

Upload tokenizer

Browse files
Files changed (2) hide show
  1. special_tokens_map.json +1 -7
  2. tokenizer_config.json +2 -3
special_tokens_map.json CHANGED
@@ -13,13 +13,7 @@
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
- "pad_token": {
17
- "content": "<unk>",
18
- "lstrip": false,
19
- "normalized": false,
20
- "rstrip": false,
21
- "single_word": false
22
- },
23
  "unk_token": {
24
  "content": "<unk>",
25
  "lstrip": false,
 
13
  "rstrip": false,
14
  "single_word": false
15
  },
16
+ "pad_token": "<|endoftext|>",
 
 
 
 
 
 
17
  "unk_token": {
18
  "content": "<unk>",
19
  "lstrip": false,
tokenizer_config.json CHANGED
@@ -436,13 +436,12 @@
436
  }
437
  },
438
  "bos_token": "<|startoftext|>",
439
- "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
440
  "clean_up_tokenization_spaces": false,
441
  "eos_token": "<|endoftext|>",
442
  "fast": true,
443
  "legacy": true,
444
- "model_max_length": 1024,
445
- "pad_token": "<unk>",
446
  "sp_model_kwargs": {},
447
  "tokenizer_class": "LlamaTokenizer",
448
  "unk_token": "<unk>",
 
436
  }
437
  },
438
  "bos_token": "<|startoftext|>",
 
439
  "clean_up_tokenization_spaces": false,
440
  "eos_token": "<|endoftext|>",
441
  "fast": true,
442
  "legacy": true,
443
+ "model_max_length": 4096,
444
+ "pad_token": "<|endoftext|>",
445
  "sp_model_kwargs": {},
446
  "tokenizer_class": "LlamaTokenizer",
447
  "unk_token": "<unk>",