Downloads · 30 days
0
Bhu1Krishna/AdaptLLM-medical
AdaptLLM-medical is a text generation model from Bhu1Krishna. Use it when you need the model to write or continue text. The card lists the license as mit.
A QLoRA fine-tuned version of Gemma 3 4B on the ChatDoctor-HealthCareMagic dataset for medical Q&A.
Downloads · 30 days
0
Access
Public
Updated May 19, 2026
Repo size
57.2 MB
Likes
0
Public
Click a slice to open those files.
.json33.4 MB · 58%
From the Hugging Face model README
A QLoRA fine-tuned version of Gemma 3 4B on the ChatDoctor-HealthCareMagic dataset for medical Q&A.
| Epoch | Loss | Token Accuracy |
|---|---|---|
| 1 | 2.402 | 0.49 |
| 2 | 2.300 | 0.51 |
| 3 | 2.261 | 0.52 |
from transformers import AutoModelForCausalLM, AutoTokenizer
from peft import PeftModel
base = AutoModelForCausalLM.from_pretrained("google/gemma-3-4b-it")
model = PeftModel.from_pretrained(base, "BhuvanKrishna12/adaptllm-medical")
Input: I have been taking metformin and recently started ciprofloxacin. I am experiencing hypoglycemia episodes.
Output: Ciprofloxacin is a fluoroquinolone antibiotic which can affect blood glucose levels when combined with metformin. You should consult your doctor about switching to a different antibiotic.
This model is for research and educational purposes only. Not intended for actual medical diagnosis or treatment.
AdaptLLM — a local LLM fine-tuning pipeline