Downloads · 30 days
5
5% of all-time downloads
carlesonielfa/ReXVQA-SDFT-gemma-4-E2B
ReXVQA-SDFT-gemma-4-E2B is a image-text-to-text model from carlesonielfa. 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 peft. The card lists the license as apache-2.0.
ReXVQA-SDFT-gemma-4-E2B is a LoRA/PEFT adapter trained on the ReXVQA dataset using Self Distillation Fine-Tuning (SDFT) for Gemma 4 E2B. It is intended for chest X-ray visual question answering and image interpretatio…
Downloads · 30 days
5
5% of all-time downloads
All-time downloads
104
Public
Repo size
152 MB
Likes
0
Public
Click a slice to open those files.
.safetensors120 MB · 79%
From the Hugging Face model README
ReXVQA-SDFT-gemma-4-E2B is a LoRA/PEFT adapter trained on the ReXVQA dataset using Self Distillation Fine-Tuning (SDFT) for Gemma 4 E2B. It is intended for chest X-ray visual question answering and image interpretation experiments.
The adapter shows greatly improved performance on chest X-ray image interpretation, placing 2nd on the ReXrank Challenge V2.0 (rexrank.ai) with a score near 0.89. This run has not yet been submitted for official validation.
unsloth/gemma-4-E2B-itThis repository contains adapter weights and tokenizer/processor configuration. It does not contain the full base model weights.
This adapter is intended for research and demonstration of multimodal chest X-ray interpretation with Gemma 4 E2B. It can be loaded with the base model through transformers and peft.
It is not intended for clinical diagnosis, medical decision-making, triage, or any use where model output could directly affect patient care. Outputs should be reviewed by qualified clinicians and treated as experimental.
Current informal challenge result:
Additional details will be added after formal validation and reproducible evaluation artifacts are available.
import torch
from peft import PeftModel
from transformers import AutoProcessor, Gemma4ForConditionalGeneration
base_model_id = "unsloth/gemma-4-E2B-it"
adapter_id = "carlesonielfa/ReXVQA-SDFT-gemma-4-E2B"
processor = AutoProcessor.from_pretrained(adapter_id)
model = Gemma4ForConditionalGeneration.from_pretrained(
base_model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
)
model = PeftModel.from_pretrained(model, adapter_id)
model.eval()
If you use this adapter, please cite the relevant ReXVQA/ReXrank resources and the Gemma base model according to their respective citation guidance.