Downloads · 30 days
12
18% of all-time downloads
yakusokulabs/dr_qwen_v2
dr_qwen_v2 is a text generation model from yakusokulabs. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
This model yakusokulabs/drqwenv2 was converted to MLX format from mlx-community/Qwen3-4B-4bit-DWQ-053125 using mlx-lm version 0.25.0.
Downloads · 30 days
12
18% of all-time downloads
All-time downloads
68
Public
Parameters
4B
2.3 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.3 GB · 99%
How the weights are stored.
U324B · 100%
From the Hugging Face model README
This model yakusokulabs/dr_qwen_v2 was converted to MLX format from mlx-community/Qwen3-4B-4bit-DWQ-053125 using mlx-lm version 0.25.0.
pip install mlx-lm
A 4-bit, Apple-MLX-ready medical Qwen-4B you can fine-tune and run on a single modern iPhone.
| Base | Qwen-3-4B |
| Precision | 4-bit NF4 (DWQ) |
| Framework | Apple MLX (mlx-lm 0.25.0) |
| Hardware used | 1 × Mac mini M4 Pro (16-core GPU) |
| Energy / time | ≈ 14 GPU-hours, ~60 W avg → 4× less power than equivalent PyTorch run |
| License | Apache 2.0 (weights & code) |
Dr Qwen v2 is purpose-tuned for clinical Q&A, triage and medication counseling while staying light enough for edge devices.
The current checkpoint is finetuned only on public medical datasets; de-identified Indian tele-medicine dialogues will be merged once legal green-lights.
Intended
Out of scope / MUST-NOT
| Corpus | Size | License |
|---|---|---|
| MedMCQA | 354 k QA | CC-BY-NC-SA-4.0 |
| MedQA-USMLE | 13 k QA | MIT |
| PubMedQA | 1 k | CC0 |
| MMLU-Medical | 1.2 k | MIT |
| ChatDoctor Dialogues | 100 k turns | Apache 2.0 |
Planned: +35 k doctor-annotated Indian tele-health Q&A (DPDP-compliant, de-identified).
| Benchmark (zero-shot) | Base Qwen-4B | Dr Qwen v2 | Llama-3.3-8B |
|---|---|---|---|
| MedMCQA | 57.8 % | 63.5 % | 64.1 % |
| PubMedQA | 48.6 % | 55.2 % | 56.0 % |
Clinician panel (500 simulated consultations via Yakusoku’s multi-agent sandbox)
94 % answers tagged “clinically acceptable” – 3 pp shy of human baseline, +9–12 pp over baselines.
ClinGuard-Lite rule-based filter blocks guideline-violating outputs (e.g., antibiotic over-prescription).pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("yakusokulabs/dr_qwen_v2")
prompt = "Patient: I have a mild cough and low-grade fever.\nDoctor:"
if tokenizer.chat_template:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
print(generate(model, tokenizer, prompt=prompt, verbose=True))