Download tokenizer_config.json from Vivid86/MiniTransformer-91M: direct link, hf CLI and curl.
- Browser
- Download file 602 Bytes
-
https://huggingface.co/Vivid86/MiniTransformer-91M/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://Vivid86/MiniTransformer-91M/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/Vivid86/MiniTransformer-91M/resolve/main/tokenizer_config.json
602 Bytes
| { | |
| "add_bos_token": true, | |
| "add_eos_token": false, | |
| "bos_token": "<bos>", | |
| "eos_token": "<eos>", | |
| "pad_token": "<pad>", | |
| "unk_token": "<unk>", | |
| "clean_up_tokenization_spaces": false, | |
| "model_max_length": 1024, | |
| "tokenizer_class": "PreTrainedTokenizerFast", | |
| "chat_template": "{{ '<bos>' }}{% for message in messages %}{% if message['role'] == 'user' %}{{ 'Human: ' + message['content'] + '\\n\\n' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant: ' + message['content'] + '<eos>\\n\\n' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:' }}{% endif %}" | |
| } |