MedAlpaca Distilled Model Demo
This is a demo of a distilled Qwen model fine-tuned for medical question answering. The model uses LoRA (Low-Rank Adaptation) for efficient fine-tuning.
Model Details:
- Base Model: Qwen/Qwen3-0.6B
- LoRA Adapter: navneetsatyamkumar/Medalpaca-distillation
- Framework: PEFT 0.16.0
Model Controls
Generation Parameters
Example Question:
Instruction: Please answer with one of the options in the bracket.
Input:
Q: A 23-year-old pregnant woman at 22 weeks gestation presents with burning upon urination. She states it started 1 day ago and has been worsening despite drinking more water and taking cranberry extract. She otherwise feels well and is followed by a doctor for her pregnancy. Her temperature is 97.7°F (36.5°C), blood pressure is 122/77 mmHg, pulse is 80/min, respirations are 19/min, and oxygen saturation is 98% on room air. Physical exam is notable for an absence of costovertebral angle tenderness and a gravid uterus. Which of the following is the best treatment for this patient?
{'A': 'Ampicillin', 'B': 'Ceftriaxone', 'C': 'Ciprofloxacin', 'D': 'Doxycycline', 'E': 'Nitrofurantoin'}
Input:
Q: A 3-month-old baby died suddenly at night while asleep. His mother noticed that he had died only after she awoke in the morning. No cause of death was determined based on the autopsy. Which of the following precautions could have prevented the death of the baby?
{'A': 'Placing the infant in a supine position on a firm mattress while sleeping', 'B': 'Routine postnatal electrocardiogram (ECG)', 'C': 'Keeping the infant covered and maintaining a high room temperature', 'D': 'Application of a device to maintain the sleeping position', 'E': 'Avoiding pacifier use during sleep'}
Note: This model is for educational purposes only and should not replace professional medical advice.