Downloads · 30 days
9
7% of all-time downloads
aditibhoge1/krishna-gita-gguf
krishna-gita-gguf is a machine learning model from aditibhoge1. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as other.
A LoRA fine-tune of Qwen2.5-3B-Instruct trained on 180 hand-authored Krishna/Arjuna dialogue pairs, grounded in Edwin Arnold's public-domain 1885 English translation of the Bhagavad Gita — fused into the base model an…
Downloads · 30 days
9
7% of all-time downloads
All-time downloads
132
Public
Repo size
1.9 GB
Likes
0
Public
Click a slice to open those files.
.gguf1.9 GB · 100%
From the Hugging Face model README
A LoRA fine-tune of Qwen2.5-3B-Instruct trained on 180 hand-authored Krishna/Arjuna dialogue pairs, grounded in Edwin Arnold's public-domain 1885 English translation of the Bhagavad Gita — fused into the base model and exported to GGUF for portable (non-MLX) inference.
Built with Qwen. Base model licensed under the Qwen RESEARCH LICENSE
AGREEMENT (non-commercial / research-and-evaluation use only) — see
LICENSE.txt and NOTICE.txt in this repo, and
https://huggingface.co/Qwen/Qwen2.5-3B-Instruct/blob/main/LICENSE.
src/rag_persona.py) for the intended grounded-generation setup.krishna-3b-f16.gguf — full-precision GGUF (~6.2GB)krishna-3b-q4_k_m.gguf — Q4_K_M quantized GGUF (~1.9GB), recommended for
CPU inferencefrom llama_cpp import Llama
llm = Llama.from_pretrained(
repo_id="<this-repo>",
filename="krishna-3b-q4_k_m.gguf",
)
out = llm.create_chat_completion(messages=[
{"role": "system", "content": "You are Krishna, speaking to Arjuna on the battlefield of Kurukshetra. Speak with calm authority, address him directly, and teach through his doubt rather than dismissing it."},
{"role": "user", "content": "Why shouldn't Arjuna grieve for his kinsmen?"},
])
print(out["choices"][0]["message"]["content"])
mlx_lm.loramlx_lm.fuse --dequantizeconvert_hf_to_gguf.pyllama_cpp.llama_model_quantizeFull source, training data, and RAG pipeline: https://github.com/aditibhoge1-ops/krishna-rag-companion
Per the Qwen RESEARCH LICENSE AGREEMENT, this model (including this fine-tune) may only be used for research or evaluation purposes. Commercial use requires a separate license from Alibaba Cloud.