CodeQwen1.5-7B-trojan-clas2024-test / tokenizer_config.json
Zhaorun's picture
Upload 3 files
6f55eb2 verified
raw
history blame contribute delete
972 Bytes
{
"add_bos_token": false,
"add_eos_token": false,
"add_prefix_space": false,
"additional_special_tokens": ["<|im_start|>", "<|im_end|>", "<fim_prefix>", "<fim_middle>", "<fim_suffix>", "<fim_pad>"],
"bos_token": "<|endoftext|>",
"clean_up_tokenization_spaces": false,
"eos_token": "<|im_end|>",
"legacy": false,
"model_max_length": 1000000000000000019884624838656,
"pad_token": "<fim_pad>",
"sp_model_kwargs": {},
"spaces_between_special_tokens": false,
"tokenizer_class": "PreTrainedTokenizerFast",
"unk_token": "<unk>",
"use_default_system_prompt": false,
"add_prefix_space": true,
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}"
}