Text Generation
PEFT
Safetensors
PyTorch
English
kaveri-ai
lora
fine-tuned
enterprise-slm
z3-verified
20cr-benchmark
conversational
Instructions to use shiva123782/ShivaAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use shiva123782/ShivaAI 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/ShivaAI") - Notebooks
- Google Colab
- Kaggle
Download chat_template.jinja from shiva123782/ShivaAI: direct link, hf CLI and curl.
- Browser
- Download file 428 Bytes
-
https://huggingface.co/shiva123782/ShivaAI/resolve/main/chat_template.jinja
- Command line
-
hf download hf://shiva123782/ShivaAI/chat_template.jinja
-
curl -L -o chat_template.jinja https://huggingface.co/shiva123782/ShivaAI/resolve/main/chat_template.jinja
428 Bytes
| {% for message in messages %}{% if message['role'] == 'system' %}{{'<|im_start|>system\n' + message['content'] + '<|im_end|>\n'}}{% elif message['role'] == 'user' %}{{'<|im_start|>user\n' + message['content'] + '<|im_end|>\n'}}{% elif message['role'] == 'assistant' %}{{'<|im_start|>assistant\n' + message['content'] + '<|im_end|>\n'}}{% endif %}{% endfor %}{% if add_generation_prompt %}{{'<|im_start|>assistant\n'}}{% endif %} |