| { | |
| "add_prefix_space": null, | |
| "auto_map": { | |
| "AutoProcessor": "naflex_processor.NaFlexProcessor" | |
| }, | |
| "backend": "tokenizers", | |
| "bos_token": "<|im_start|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|im_end|>", | |
| "errors": "replace", | |
| "is_local": true, | |
| "max_length": 512, | |
| "model_max_length": 131072, | |
| "pad_to_multiple_of": null, | |
| "pad_token": "<|endoftext|>", | |
| "pad_token_type_id": 0, | |
| "padding_side": "left", | |
| "processor_class": "NaFlexProcessor", | |
| "split_special_tokens": false, | |
| "stride": 0, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": null, | |
| "chat_template": "{%- for message in messages %}\n{{- '<|im_start|>' }\n{%- if message['content'] is string %}\n{{- message['content'] }}\n{%- else %}\n{%- for content in message['content'] %}\n{%- if content['type'] == 'text' %}\n{{- content['text'] }}\n{%- endif %}\n{%- endfor %}\n{%- endif %}\n{{- '<|im_end|>\\n' }}\n{%- endfor %}\n{%- if add_generation_prompt %}\n{{- '<|im_start|>' }}\n{%- endif %}\n" | |
| } |