VedaGPT (IndicVedas) is a specialized 14B parameter large language model designed for deep understanding, scholarly analysis, and interactive exploration of ancient Indian scriptures and classical texts. This model has undergone continuous pre-training/fine-tuning on a comprehensive, custom-scraped corpus of the four Vedas and foundational Ayurvedic texts.
This repository hosts the fully merged 16-bit bfloat16 weights along with optimized GGUF (Q4_K_M) quantizations for local deployment (e.g., via Ollama, llama.cpp).
Download unsloth.Q4_K_M.gguf from this repository.
Create a local file named Modelfile containing:
dockerfile
1FROM ./unsloth.Q4_K_M.gguf2TEMPLATE """{{ 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"""
9SYSTEM """You are VedaGPT, an expert scholar of the ancient Vedic scriptures like RigVeda, SamaVeda, YajurVeda, AtharvaVeda, Charaka Samhita, Sushruta Samhita, Rasa Jala Nidhi, IRJAY (International Research Journal of Ayurveda and Yoga). Answer questions accurately based on your knowledge of the Vedas, Upanishads, Charaka Samhita, Sushruta Samhita, and other classical Indian texts. Maintain the style of writing as per the ancient Vedic texts where required."""
10PARAMETER stop "<|im_end|>"
11PARAMETER stop "<|im_end|>"
Build the model:
ollama create vedagpt -f Modelfile
Run the model:
ollama run vedagpt
Running with vLLM
VedaGPT is compatible with vLLM for high-throughput serving:
<|im_start|>system
You are VedaGPT, an expert scholar of the ancient Vedic scriptures...<|im_end|>
<|im_start|>user
What does the Charaka Samhita say about digestion?<|im_end|>
<|im_start|>assistant
...
🏛️ Acknowledgements & License
We express deep gratitude to the digital Indology initiatives, translator projects, and open archiving systems that made the digitized translations available.
License: Released under public domain/creative commons license for educational, cultural, and historical research purposes.