cd /news/large-language-models/oncollm-adapting-medgemma-4b-and-27b… · home › topics › large-language-models › article
[ARTICLE · art-145228] src=discuss.huggingface.co ↗ pub= topic=large-language-models verified=true sentiment=· neutral

OncoLLM: adapting MedGemma 4B and 27B to oncology tasks with Unsloth

A team fine-tuned MedGemma 4B with LoRA and MedGemma 27B with QLoRA for oncology tasks using Unsloth 2026.9.12 on a single DGX Spark, publishing the report with a DOI on Zenodo and the models and dataset publicly. The team reports that the 4B adapter (r=64, alpha=16) behaved as if scaled by roughly 0.5 instead of the nominal alpha/r = 0.25: loaded with Transformers plus PEFT at nominal scale, 0 of 4 identity probes passed, while at 2x scale 4 of 4 passed, and merging with save_pretrained_merged at nominal alpha lost most of the tuning. The team states it did not identify the cause in the code and asks whether this is known behavior.

read1 min views1 publishedOct 5, 2026

We fine-tuned MedGemma 4B (LoRA) and 27B (QLoRA) for oncology with Unsloth on a single DGX Spark. Report with DOI, models and dataset are public.

One finding you may want to look at (section 5): with Unsloth 2026.9.12, the 4B adapter (r=64, alpha=16) behaves as if scaled by ~0.5 instead of alpha/r = 0.25. Loaded with Transformers + PEFT at nominal scale, 0/4 identity probes pass; at 2x, 4/4. Merging with save_pretrained_merged at nominal alpha lost most of the tuning. We did not identify the cause in the code. Is this a known behavior?

Unsloth is credited in the model cards. Feel free to share it if useful. Thanks for the tooling.

See the repo : [Grujowmi (ANTOINE Pierre)](https://huggingface.co/Grujowmi)

See the report : [OncoLLM: adapting MedGemma 4B and 27B to oncology tasks | Zenodo](https://zenodo.org/records/23134374)

Have fun to give us a feedback

── more in #large-language-models 4 stories · sorted by recency
── more on @medgemma 4b 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/oncollm-adapting-med…] indexed:0 read:1min 2026-10-05 · —