Download tokenizer_config.json from GoudaAI/Gruyere-2.0-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 458 Bytes
-
https://huggingface.co/GoudaAI/Gruyere-2.0-Instruct/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://GoudaAI/Gruyere-2.0-Instruct/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/GoudaAI/Gruyere-2.0-Instruct/resolve/main/tokenizer_config.json
458 Bytes
| { | |
| "backend": "tokenizers", | |
| "eos_token": "<|endoftext|>", | |
| "model_max_length": 4096, | |
| "tokenizer_class": "TokenizersBackend", | |
| "chat_template": "{% for message in messages %}{% if message['role'] == 'user' %}{{ 'User:\\n' + message['content'] + '<|endoftext|>' }}{% elif message['role'] == 'assistant' %}{{ 'Assistant:\\n' + message['content'] + '<|endoftext|>' }}{% endif %}{% endfor %}{% if add_generation_prompt %}{{ 'Assistant:\\n' }}{% endif %}" | |
| } |