Download tokenizer_config.json from LocalWisdom/Penny-Alpha-SFT-dev1: direct link, hf CLI and curl.
- Browser
- Download file 826 Bytes
-
https://huggingface.co/LocalWisdom/Penny-Alpha-SFT-dev1/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://LocalWisdom/Penny-Alpha-SFT-dev1/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/LocalWisdom/Penny-Alpha-SFT-dev1/resolve/main/tokenizer_config.json
826 Bytes
| { | |
| "bos_token": "<|end▁of▁sentence|>", | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|end▁of▁sentence|>", | |
| "legacy": true, | |
| "model_max_length": 8192, | |
| "pad_token": "<|end▁of▁sentence|>", | |
| "sp_model_kwargs": {}, | |
| "tokenizer_class": "PreTrainedTokenizerFast", | |
| "unk_token": null, | |
| "add_bos_token": true, | |
| "chat_template": "{{ bos_token }}{% for m in messages %}{% if m['role'] == 'system' %}{{ m['content'] }}{% elif m['role'] == 'user' %}<|User|>{{ m['content'] }}{% elif m['role'] == 'assistant' %}<|Assistant|>{% if not (m['content'] | trim).startswith('<think>') %}</think>{% endif %}{{ m['content'] }}<|end▁of▁sentence|>{% else %}<|User|>[{{ m['role'] }}] {{ m['content'] }}{% endif %}{% endfor %}{% if add_generation_prompt %}<|Assistant|>{% endif %}" | |
| } |