Text Generation
PEFT
Safetensors
English
qwen2
qwen2.5
lora
qlora
instruction-tuning
lightweight
conversational
Instructions to use shiva123782/sunithaAI-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use shiva123782/sunithaAI-small with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-0.5B-Instruct") model = PeftModel.from_pretrained(base_model, "shiva123782/sunithaAI-small") - Notebooks
- Google Colab
- Kaggle
Download chat_template.jinja from shiva123782/sunithaAI-small: direct link, hf CLI and curl.
- Browser
- Download file 196 Bytes
-
https://huggingface.co/shiva123782/sunithaAI-small/resolve/main/chat_template.jinja
- Command line
-
hf download hf://shiva123782/sunithaAI-small/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/shiva123782/sunithaAI-small/resolve/main/chat_template.jinja
196 Bytes
| {% for message in messages %}{{'<|im_start|>' + message['role'] + ' | |
| ' + message['content'] + '<|im_end|>' + ' | |
| '}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant | |
| ' }}{% endif %} |