Downloads · 30 days
0
Phiphi216/medgemma-oncology-lora
medgemma-oncology-lora is a image-text-to-text model from Phiphi216. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as apache-2.0.
This repository contains a LoRA fine-tuned oncology agent built on top of MedGemma 1.5 4B IT.
Downloads · 30 days
0
Access
Public
Updated Jun 3, 2026
Repo size
384 MB
Likes
0
Public
Click a slice to open those files.
.safetensors154 MB · 80%
From the Hugging Face model README
This repository contains a LoRA fine-tuned oncology agent built on top of MedGemma 1.5 4B IT.
The model is trained to analyze chest CT scan slices together with structured clinical records and predict six-year lung cancer risk.
The model was fine-tuned using Unsloth and PEFT LoRA on a custom oncology dataset.
| Item | Value |
|---|---|
| Base Model | unsloth/medgemma-1.5-4b-it |
| Domain | Oncology |
| Task | Lung Cancer Risk Prediction |
| Finetuning Method | LoRA |
| Developer | Phiphi216 |
| License | Apache 2.0 |
Dataset:
Number of samples:
Each sample contains:
Response format:
{
"lung_cancer_risk": "Cancer within follow-up"
}
unsloth/medgemma-1.5-4b-it
r: 16
lora_alpha: 16
lora_dropout: 0.0
finetune_vision_layers: false
finetune_language_layers: true
finetune_attention_modules: true
finetune_mlp_modules: true
optimizer: adamw_torch_fused
learning_rate: 2e-4
weight_decay: 1e-3
lr_scheduler_type: cosine
max_grad_norm: 0.3
per_device_train_batch_size: 2
gradient_accumulation_steps: 2
effective_batch_size: 4
max_seq_length: 25808
max_steps: 125
warmup_ratio: 0