Instructions to use daol-chat-bot/bllossom-8b-adapter with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use daol-chat-bot/bllossom-8b-adapter with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("daol-chat-bot/bllossom-8b-adapter", device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Unsloth Desktop
Download chat_template.jinja from daol-chat-bot/bllossom-8b-adapter: direct link, hf CLI and curl.
- Browser
- Download file 484 Bytes
-
https://huggingface.co/daol-chat-bot/bllossom-8b-adapter/resolve/main/chat_template.jinja
- Command line
-
hf download hf://daol-chat-bot/bllossom-8b-adapter/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/daol-chat-bot/bllossom-8b-adapter/resolve/main/chat_template.jinja
484 Bytes
| {% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|> | |
| '+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|> | |
| ' }}{% endif %} |