Downloads · 30 days
12
11% of all-time downloads
vipsehgal/qwen3-8b-jee-sdpo
qwen3-8b-jee-sdpo is a text generation model from vipsehgal. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
A fine-tuned version of Qwen3-8B specialized for solving IIT JEE Advanced problems in Physics, Chemistry, and Mathematics with detailed chain-of-thought reasoning.
Downloads · 30 days
12
11% of all-time downloads
All-time downloads
112
Public
Parameters
8.2B
32.8 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors16.4 GB · 100%
From the Hugging Face model README
A fine-tuned version of Qwen3-8B specialized for solving IIT JEE Advanced problems in Physics, Chemistry, and Mathematics with detailed chain-of-thought reasoning.
This model was trained in two stages:
| Property | Value |
|---|---|
| Base Model | Qwen/Qwen3-8B |
| SFT Base | vipsehgal/qwen3-8b-jee-sft |
| Format | Full-precision safetensors (bfloat16) |
| Size | ~15 GB |
| Architecture | Qwen3ForCausalLM, 36 layers, 32 heads, 4096 hidden |
Evaluated on 200 held-out questions from JEEBench covering Physics, Chemistry, and Mathematics. All models used greedy decoding with max 2,048 tokens.
| Subject | Base Qwen3-8B | SFT | SDPO (this model) | Delta vs Base |
|---|---|---|---|---|
| Overall | 78/200 (39.0%) | 90/200 (45.0%) | 69/200 (34.5%) | -4.5% |
| Mathematics | 24/66 (36.4%) | 36/66 (54.5%) | 17/66 (25.8%) | -10.6% |
| Chemistry | 32/70 (45.7%) | 35/70 (50.0%) | 34/70 (48.6%) | +2.9% |
| Physics | 22/64 (34.4%) | 19/64 (29.7%) | 18/64 (28.1%) | -6.3% |
Key takeaways:
This model is designed for:
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("vipsehgal/qwen3-8b-jee-sdpo", torch_dtype="auto", device_map="auto")
tokenizer = AutoTokenizer.from_pretrained("vipsehgal/qwen3-8b-jee-sdpo")
messages = [
{"role": "system", "content": "You are an expert IIT JEE tutor. Solve problems step-by-step using LaTeX notation. Show all work clearly and arrive at the final answer."},
{"role": "user", "content": "A particle of mass 2 kg is projected vertically upward with velocity 20 m/s. Find the maximum height reached. (Take g = 10 m/s²)"}
]
text = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
inputs = tokenizer(text, return_tensors="pt").to(model.device)
output = model.generate(**inputs, max_new_tokens=1024)
print(tokenizer.decode(output[0], skip_special_tokens=True))
Use the quantized version for fast local inference:
pip install mlx-lm
mlx_lm.generate \
--model vipsehgal/qwen3-8b-jee-sdpo-mlx-4bit \
--prompt "Solve: Find the number of real solutions of x^3 - 3x + 1 = 0"
See vipsehgal/qwen3-8b-jee-sdpo-mlx-4bit for the 4-bit MLX version (4.3 GB, ~30 tokens/sec on M3 Pro).
You are an expert IIT JEE tutor. Solve problems step-by-step using LaTeX notation. Show all work clearly and arrive at the final answer.
| Parameter | Value |
|---|---|
| Model type | Qwen3ForCausalLM |
| Hidden size | 4,096 |
| Layers | 36 |
| Attention heads | 32 (8 KV heads, GQA) |
| FFN intermediate | 12,288 |
| Activation | SiLU |
| Vocab size | 151,936 |
| Max context | 40,960 tokens |
| RoPE theta | 1,000,000 |
| Model | Size | Description |
|---|---|---|
| vipsehgal/qwen3-8b-jee-sft | 16.4 GB | SFT-only model (bf16) |
| vipsehgal/qwen3-8b-jee-sdpo | 15 GB | SFT + SDPO model (bf16) — this model |
| vipsehgal/qwen3-8b-jee-sdpo-mlx-4bit | 4.3 GB | Quantized MLX version for Mac inference |
Apache 2.0 (following the base Qwen3-8B license)