Downloads · 30 days
66
23% of all-time downloads
prithivMLmods/MedMO-8B-FP8
MedMO-8B-FP8 is a image-text-to-text model from prithivMLmods. 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.
Downloads · 30 days
66
23% of all-time downloads
All-time downloads
289
Public
Parameters
8.8B
10.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors10.6 GB · 100%
How the weights are stored.
F8_E4M36.9B · 79%
From the Hugging Face model README

MedMO-8B-FP8 is an FP8-compressed variant built on top of MBZUAI/MedMO-8B. This edition applies BF16 · FP8 (F8_E4M3) precision formats to significantly reduce memory footprint and improve inference throughput while preserving the advanced medical multimodal reasoning and grounding capabilities of the original 8B architecture. The base MedMO-8B model from MBZUAI is an 8B-parameter open-source multimodal large language model built on the Qwen3-VL architecture. It is specialized for comprehensive medical image understanding and grounding across radiology including X-ray, CT, MRI, and ultrasound, as well as pathology, ophthalmology, dermatology, and nuclear medicine.
Trained on 26M+ diverse samples from 45 datasets through a three-stage pipeline, general medical supervised fine-tuning with 18.5M image-text pairs, high-resolution grounding with 3M samples at 1280×1280, and instruction tuning with 4.3M pairs, the model demonstrates strong performance in VQA, medical QA, report generation, disease localization, clinical reasoning, and multi-task medical understanding. This FP8 edition maintains high diagnostic reasoning fidelity while enabling more efficient deployment on compatible GPU hardware.
[!important] FP8 8-bit floating point weight and activation quantization using hardware acceleration on GPUs – FP8 W8A8. Quantization W8A8 FP8-dynamic recipe – examples.
from transformers import Qwen3VLForConditionalGeneration, AutoProcessor
from qwen_vl_utils import process_vision_info
import torch
# Load the FP8 MedMO model
model = Qwen3VLForConditionalGeneration.from_pretrained(
"MBZUAI/MedMO-8B-FP8",
torch_dtype="auto",
device_map="auto"
)
processor = AutoProcessor.from_pretrained(
"MBZUAI/MedMO-8B-FP8"
)
messages = [
{
"role": "user",
"content": [
{
"type": "image",
"image": "medical_scan.png",
},
{
"type": "text",
"text": "Identify abnormalities and provide a diagnostic summary."
},
],
}
]
text = processor.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
image_inputs, video_inputs = process_vision_info(messages)
inputs = processor(
text=[text],
images=image_inputs,
videos=video_inputs,
padding=True,
return_tensors="pt",
).to("cuda")
generated_ids = model.generate(**inputs, max_new_tokens=512)
generated_ids_trimmed = [
out_ids[len(in_ids):] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
]
output_text = processor.batch_decode(
generated_ids_trimmed,
skip_special_tokens=True,
clean_up_tokenization_spaces=False
)
print(output_text)
Important: This model is intended for research and clinical decision support development only.