Views
No views yet
MEDICAL DISCLAIMER: This model is for educational and research purposes only. It is not a medical device and should not be used for clinical diagnosis or treatment decisions. Always consult a qualified healthcare provider.
deepseek-r1 distillation.mlx-lm library on macOS:1from mlx_lm import load, generate
2
3model_id = "mlx-community/Llama-3.2-3B-Instruct-4bit"
4adapter_path = "udaybhan10/Diabetes-Expert-Llama-3.2-3B-MLX"
5
6model, tokenizer = load(model_id, adapter_path=adapter_path)
7
8prompt = "What is the molecular mechanism of beta-cell dedifferentiation in Type 2 Diabetes?"
9response = generate(model, tokenizer, prompt=prompt, max_tokens=512)
10print(response)| Benchmark | Metric | Result |
|---|---|---|
| MedMCQA (Diabetes Subset) | Accuracy | 83.33% |
| PubMedQA | Accuracy | 52.00% |