Instructions to use WaiLwin/agent_junior with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use WaiLwin/agent_junior with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WaiLwin/agent_junior", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download chat_template.jinja from WaiLwin/agent_junior: direct link, hf CLI and curl.
- Browser
- Download file 410 Bytes
-
https://huggingface.co/WaiLwin/agent_junior/resolve/main/chat_template.jinja
- Command line
-
hf download hf://WaiLwin/agent_junior/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/WaiLwin/agent_junior/resolve/main/chat_template.jinja
410 Bytes
| {% for message in messages %} | |
| {% if message['role'] == 'user' %} | |
| {{ '<|user|> | |
| ' + message['content'] + eos_token }} | |
| {% elif message['role'] == 'system' %} | |
| {{ '<|system|> | |
| ' + message['content'] + eos_token }} | |
| {% elif message['role'] == 'assistant' %} | |
| {{ '<|assistant|> | |
| ' + message['content'] + eos_token }} | |
| {% endif %} | |
| {% if loop.last and add_generation_prompt %} | |
| {{ '<|assistant|>' }} | |
| {% endif %} | |
| {% endfor %} |