7B-safety-lora / tokenizer_config.json
MaruchanPark
add_adapter_model
238475b
raw
history blame
2.71 kB
{
"add_bos_token": true,
"add_eos_token": false,
"add_prefix_space": null,
"added_tokens_decoder": {
"0": {
"content": "<unk>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"1": {
"content": "<s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"2": {
"content": "</s>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": true
},
"32000": {
"content": "<|tel|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"32001": {
"content": "<|rnn|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"32002": {
"content": "<|email|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"32003": {
"content": "<|crd|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"32004": {
"content": "<|acc|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"51510": {
"content": "<|im_start|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
},
"51511": {
"content": "<|im_end|>",
"lstrip": false,
"normalized": false,
"rstrip": false,
"single_word": false,
"special": false
}
},
"bos_token": "<s>",
"chat_template": "{{('<|im_start|>assistant\n' + messages[0]['content'].strip() + '<|im_end|>' + '\n' if messages[0]['role'] == 'system' else '')}}{% for message in (messages[1:] if messages[0]['role'] == 'system' else messages) %}{% if message['role'] == 'user' %}{{'<|im_start|>user\n' + message['content'] + '<|im_end|>' + '\n' + '<|im_start|>assistant\n'}}{% elif message['role'] == 'assistant' %}{{message['content']}}{% if loop.last %}{% if add_generation_prompt %}{{'<|im_end|>'}}{% endif %}{% else %}{{'<|im_end|>'}}{% endif %}{% endif %}{% endfor %}",
"clean_up_tokenization_spaces": true,
"eos_token": "</s>",
"legacy": true,
"model_max_length": 1000000000000000019884624838656,
"model_name": "kylin-7b",
"pad_token": "</s>",
"tokenizer_class": "LlamaTokenizer",
"unk_token": "<unk>",
"use_default_system_prompt": false
}