MedMO-8B-Next Frame โ€” standalone merged model

This directory contains the complete standalone frame model. The decoder LoRA rank-32 weights and the fully trained vision encoder/merger from Medmo_MBZUAI_MedMO8BNext_Frame_LoRA_R32 have been incorporated into the MBZUAI/MedMO-8B-Next base. PEFT and a separate base checkpoint are not needed for inference.

import torch
from transformers import AutoModelForImageTextToText, AutoProcessor

path = "ankanmbz/Medmo-Surg"
processor = AutoProcessor.from_pretrained(path)
model = AutoModelForImageTextToText.from_pretrained(
    path,
    dtype=torch.bfloat16,
    device_map="auto",
    attn_implementation="eager",
)
model.eval()

The saved standalone model exactly matched base-plus-adapter inference and the in-memory merged model on all four verification samples. See MERGE_INFO.json for provenance and per-sample checks.

Downloads last month
20
Safetensors
Model size
9B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for ankanmbz/Medmo-Surg

Finetuned
(1)
this model