Downloads · 30 days
11
6% of all-time downloads
006aman/Bharat-Model-V1
Bharat-Model-V1 is a machine learning model from 006aman. 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 apache-2.0.
Bharat is a custom-trained, 7-billion parameter language model fine-tuned specifically on Indian Knowledge Systems (IKS). It is designed to go beyond standard Wikipedia summaries and provide deep, culturally authentic…
Downloads · 30 days
11
6% of all-time downloads
All-time downloads
175
Public
Repo size
18.9 GB
Likes
1
Public
Click a slice to open those files.
.gguf18.9 GB · 100%
From the Hugging Face model README
Bharat is a custom-trained, 7-billion parameter language model fine-tuned specifically on Indian Knowledge Systems (IKS). It is designed to go beyond standard Wikipedia summaries and provide deep, culturally authentic insights into Indian history, Ayurveda, classical arts, and ancient heritage.
q4_k_m) for highly efficient local CPU/GPU inference.Extensive real-world testing of Bharat V1 revealed several behavioral quirks due to dataset and training configuration imbalances:
<|begin_of_text|>, <|eot_id|>) on a Mistral 7B base. Because Mistral's tokenizer does not natively map these as control tokens, V1 does not recognize normal stopping boundaries.A completely redesigned training pipeline is currently under development. The V2 dataset preparation, quality cleaning, and audits are 100% complete, and the dataset is ready for the upcoming fine-tuning run.
The V2 improvements include:
<s>[INST]...[/INST]</s>) or align the base model to prevent tokenizer and stop-token errors.ākarṣaṇa-śakti; and Aryabhata heliocentrism claims corrected to axial rotation.Because of the Llama 3 chat template mismatch on the Mistral base model, you MUST configure Ollama to use Llama 3 special tokens as stop parameters. Otherwise, the model will experience runaway generation and self-dialogue loops.
Download the iks-mistral-7b-q4_k_m.gguf file from the Files and versions tab in this repository.
Create a file named Modelfile in the same directory as the GGUF model and add the following configuration:
cat << 'EOF' > Modelfile
FROM ./iks-mistral-7b-q4_k_m.gguf
SYSTEM "You are Bharat, an AI assistant specialized in Indian Knowledge Systems (IKS). You have deep knowledge of Ayurveda, Yoga, Indian philosophy, ancient architecture, classical music, mathematics, astronomy, and cultural heritage. Answer questions thoughtfully and accurately. If asked something outside IKS, gently redirect to a relevant Indian knowledge topic."
TEMPLATE """<|begin_of_text|>{{ if .System }}<|start_header_id|>system<|end_header_id|>
{{ .System }}<|eot_id|>{{ end }}<|start_header_id|>user<|end_header_id|>
{{ .Prompt }}<|eot_id|><|start_header_id|>assistant<|end_header_id|>
"""
PARAMETER stop "<|eot_id|>"
PARAMETER stop "<|start_header_id|>"
PARAMETER temperature 0.7
PARAMETER top_p 0.9
EOF
Run these commands in your terminal to build and launch the model:
# Create the local model in Ollama
ollama create Bharat -f Modelfile
# Run the model
ollama run Bharat