Instructions to use NetherQuartz/ilo-toki-gemmax2-28-2b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use NetherQuartz/ilo-toki-gemmax2-28-2b with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("NetherQuartz/ilo-toki-gemmax2-28-2b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download chat_template.jinja from NetherQuartz/ilo-toki-gemmax2-28-2b: direct link, hf CLI and curl.
- Browser
- Download file 356 Bytes
-
https://huggingface.co/NetherQuartz/ilo-toki-gemmax2-28-2b/resolve/main/chat_template.jinja
- Command line
-
hf download hf://NetherQuartz/ilo-toki-gemmax2-28-2b/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/NetherQuartz/ilo-toki-gemmax2-28-2b/resolve/main/chat_template.jinja
356 Bytes
| {% if messages[0]['role'] == 'system' %}{% set system_message = messages[0]['content'] %}{% endif %}{% if system_message is defined %}{{ system_message }}{% endif %}{% for message in messages %}{% set content = message['content'] %}{% if message['role'] == 'user' %}{{ content }}{% elif message['role'] == 'assistant' %}{{ content }}{% endif %}{% endfor %} |