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):

  1. CPT โ€” Continued pre-training on NCERT textbook content
  2. SFT โ€” Supervised fine-tuning on educational Q&A, exam problems, and tutoring conversations
  3. 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

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.3
  • repeat_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
Safetensors
Model size
9B params
Tensor type
F32
ยท
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for neo-saket/vidya-9b

Finetuned
Qwen/Qwen3.5-9B
Quantized
(746)
this model

Evaluation results