{ | |
"add_bos_token": false, | |
"add_eos_token": false, | |
"added_tokens_decoder": { | |
"0": { | |
"content": "<unk>", | |
"lstrip": false, | |
"normalized": true, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"1": { | |
"content": "<s>", | |
"lstrip": false, | |
"normalized": true, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"2": { | |
"content": "</s>", | |
"lstrip": false, | |
"normalized": true, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
}, | |
"3": { | |
"content": "<pad>", | |
"lstrip": false, | |
"normalized": true, | |
"rstrip": false, | |
"single_word": false, | |
"special": true | |
} | |
}, | |
"auto_map": { | |
"AutoTokenizer": [ | |
"tokenization_flm.FLMTokenizer", | |
null | |
] | |
}, | |
"bos_token": "<s>", | |
"chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ '<_user>' + message['content'].strip() + '<_bot>' }}{% elif message['role'] == 'system' %}{{ '' }}{% elif message['role'] == 'assistant' %}{{ message['content'] }}{% endif %}{% endfor %}", | |
"clean_up_tokenization_spaces": false, | |
"eos_token": "</s>", | |
"model_max_length": 8192, | |
"pad_token": "<pad>", | |
"sp_model_kwargs": {}, | |
"spaces_between_special_tokens": false, | |
"tokenizer_class": "FLMTokenizer", | |
"unk_token": "<unk>", | |
"use_fast": false | |
} | |