Instructions to use neo-saket/vidya-9b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use neo-saket/vidya-9b with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf neo-saket/vidya-9b:Q4_K_M # Run inference directly in the terminal: llama cli -hf neo-saket/vidya-9b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf neo-saket/vidya-9b:Q4_K_M # Run inference directly in the terminal: llama cli -hf neo-saket/vidya-9b:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf neo-saket/vidya-9b:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf neo-saket/vidya-9b:Q4_K_M
Use Docker
docker model run hf.co/neo-saket/vidya-9b:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use neo-saket/vidya-9b with Ollama:
ollama run hf.co/neo-saket/vidya-9b:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use neo-saket/vidya-9b with Docker Model Runner:
docker model run hf.co/neo-saket/vidya-9b:Q4_K_M
- Lemonade
How to use neo-saket/vidya-9b with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull neo-saket/vidya-9b:Q4_K_M
Run and chat with the model
lemonade run user.vidya-9b-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Vidya 9B โ NCERT / IIT-JEE / NEET Tutor
Vidya is a fine-tuned Qwen3.5-9B model trained to be an expert tutoring assistant for Indian students covering:
- NCERT curriculum, Classes 6โ12 (Physics, Chemistry, Biology, Mathematics, Social Science)
- IIT-JEE (Mains + Advanced) problem solving
- NEET Biology, Chemistry, Physics
Tutoring quality score: 4.60 / 5.0 (Gemini-as-judge, evaluated on misconception correction and step-by-step reasoning)
Training Pipeline
Fine-tuned via a 3-stage pipeline on an RTX 5090 (32 GB VRAM):
- CPT โ Continued pre-training on NCERT textbook content
- SFT โ Supervised fine-tuning on educational Q&A, exam problems, and tutoring conversations
- DPO โ Alignment for pedagogically effective responses
Usage
Ollama (recommended)
ollama run neosaket/vidya:9b "Explain Newton's second law with an example."
To suppress chain-of-thought reasoning, start the assistant turn with <think>\n\n</think>\n\n.
Transformers
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("neo-saket/vidya-9b")
tokenizer = AutoTokenizer.from_pretrained("neo-saket/vidya-9b")
messages = [{"role": "user", "content": "Explain Newton's second law with an example."}]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
outputs = model.generate(**inputs, max_new_tokens=512, temperature=0.3)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
Example Prompts
Misconception correction (NCERT Physics, Class 9)
A student believes that if no force acts on an object, it must be at rest. How would you correct this?
IIT-JEE Electrostatics
Two point charges +4 ฮผC and โ4 ฮผC are placed 20 cm apart. Find the electric field at the midpoint between them.
NEET Neurophysiology
Describe the sequence of events during an action potential, including the role of voltage-gated Naโบ and Kโบ channels.
NCERT Class 12 Mathematics
Differentiate f(x) = xยฒ sin(x) with respect to x and simplify.
IIT-JEE Organic Chemistry
Why does benzene undergo electrophilic substitution rather than addition? Explain using resonance and stability arguments.
NEET Biology โ Genetics
Distinguish between incomplete dominance and codominance. Give one example of each from the NCERT syllabus.
Model Details
| Base model | Qwen/Qwen3.5-9B |
| Fine-tuning framework | Unsloth + HuggingFace TRL |
| LoRA rank | 16 (DoRA + rsLoRA) |
| Context length | 4096 tokens |
| Language | English / Hindi (Hinglish) |
| License | Apache 2.0 |
Files
| File | Description |
|---|---|
model.safetensors |
Full BF16 weights (18 GB) |
gguf/model-Q4_K_M.gguf |
Quantized GGUF for Ollama/llama.cpp (5.3 GB) |
config.json |
Model configuration |
tokenizer.* |
Qwen3.5 tokenizer files |
Links
- Ollama: neosaket/vidya:9b
- Training code: ncert_vidya on GitHub
Recommended settings (GGUF / mobile apps)
This GGUF ships a plain ChatML chat template (Qwen3 thinking mode disabled). If you downloaded an earlier copy, re-download to pick up the fix โ the older template could make the model ramble and never stop.
Recommended sampler settings:
temperature: 0.3repeat_penalty: 1.1 (do not use 1.0 โ small models can loop; avoid > 1.3)repeat_last_n: 64- stop token:
<|im_end|>(already the model's EOS)
- Downloads last month
- 45
Model tree for neo-saket/vidya-9b
Evaluation results
- Tutoring Quality (Gemini-as-judge)self-reported4.60/5.0