Instructions to use Synth-Ecosystem/synthos with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synth-Ecosystem/synthos with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Synth-Ecosystem/synthos", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download chat_template.jinja from Synth-Ecosystem/synthos: direct link, hf CLI and curl.
- Browser
- Download file 305 Bytes
-
https://huggingface.co/Synth-Ecosystem/synthos/resolve/main/chat_template.jinja
- Command line
-
hf download hf://Synth-Ecosystem/synthos/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/Synth-Ecosystem/synthos/resolve/main/chat_template.jinja
305 Bytes
| {% for item in messages %}{% if item['role'] == 'system' %}<|system|> | |
| {{ item['content'] }}{% elif item['role'] == 'user' %}<|user|> | |
| {{ item['content'] }}{% elif item['role'] == 'assistant' %}<|assistant|> | |
| {{ item['content'] }}{% endif %}{% endfor %}{% if add_generation_prompt %}<|assistant|> | |
| {% endif %} |