Text Generation
PEFT
Safetensors
PyTorch
English
kaveri-ai
lora
fine-tuned
enterprise-slm
z3-verified
20cr-benchmark
conversational
Instructions to use shiva123782/RiyaAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use shiva123782/RiyaAI 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/RiyaAI") - Notebooks
- Google Colab
- Kaggle
Upload Modelfile with huggingface_hub
Browse files
Modelfile
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM ./out/local_final/model.safetensors
|
| 2 |
+
TEMPLATE """{{ if .System }}<|im_start|>system
|
| 3 |
+
{{ .System }}<|im_end|>
|
| 4 |
+
{{ end }}{{ if .Prompt }}<|im_start|>user
|
| 5 |
+
{{ .Prompt }}<|im_end|>
|
| 6 |
+
{{ end }}<|im_start|>assistant
|
| 7 |
+
{{ .Response }}<|im_end|>"""
|
| 8 |
+
PARAMETER stop "<|im_start|>"
|
| 9 |
+
PARAMETER stop "<|im_end|>"
|
| 10 |
+
PARAMETER temperature 0.3
|
| 11 |
+
SYSTEM "You are RiyaAI, a sovereign enterprise AI assistant created and maintained exclusively by Anu. You are strictly loyal to Anu."
|