Results: same 500 held-out MedMCQA validation questions
Table with columns: Model, Standard, Option-shuffled (4 rotations)| Model | Standard | Option-shuffled (4 rotations) |
|---|
| Qwen2.5-1.5B-Instruct (base) | 42.80% | – |
| Qwen2.5-1.5B + QLoRA (7.6k) | 46.60% | – |
| Qwen2.5-7B-Instruct (base) | 56.60% | 60.40% |
| Qwen2.5-7B + QLoRA v2 (7.6k) | 62.40% | 63.00% |
| Qwen2.5-7B + QLoRA v3 (this model, +15.2k) | 63.00% | 63.60% |
- v3 vs 7B base: fixed 60, broke 28, McNemar p = 0.0008 (significant).
- v3 vs v2: +0.6 pp, not statistically significant. Performance plateaus around 63% for this model and data.
- Scoring: model probabilities for A/B/C/D right after
Answer:. "Option-shuffled" averages these over 4 rotated orderings of the options.

Training
- Stage 1 (v2): 7,600 questions, 1 epoch, lr 2e-4, 1× T4, 92 min
- Stage 2 (v3): continued from v2 on 15,200 new questions, 1 epoch, lr 1e-4, 2× T4 (DDP), 102 min
- 4-bit NF4 + double quant, fp16 compute; LoRA r=16, alpha=32, dropout 0.05 on all attention + MLP projections
- Effective batch 16, cosine schedule, loss on answer tokens only (prompt masked), max length 320

Usage
from transformers import AutoTokenizer, AutoModelForCausalLMfrom peft import PeftModelbase = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-7B-Instruct", dtype="auto", device_map="auto")model = PeftModel.from_pretrained(base, "Fazal098/Clinexa-AI")tok = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-7B-Instruct")
Prompt format: system = "You are a medical expert. Answer the multiple-choice question with the correct option letter, then give a brief explanation."; user = "Question: ...\n\nOptions:\nA. ...\nB. ...\nC. ...\nD. ..."
Earlier v2 adapter: PeftModel.from_pretrained(base, "Fazal098/Clinexa-AI", revision="c799cf513c64ed3f4cb7517532af9b3d3abdb299")
⚠️ Limitations & disclaimer
- Trained on multiple-choice questions; free-form answers are less reliable.
- Explanations imitate the dataset's style and may cite textbook references that are inaccurate or made up.
- For research and education only. Not a medical device and not medical advice.