xgen-tokenizer4 / tokenizer_config.json
enijkamp's picture
Update tokenizer_config.json
b104da0 verified
raw
history blame contribute delete
419 Bytes
{
"add_prefix_space": false,
"bos_token": "<|endoftext|>",
"clean_up_tokenization_spaces": false,
"eos_token": "<|endoftext|>",
"model_max_length": 128000,
"tokenizer_class": "GPT2Tokenizer",
"unk_token": "<|endoftext|>",
"chat_template": "{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '\n<|im_end|>' + '\n'}}{% endfor %}{{ '<|im_start|>assistant\n' }}"
}