Downloads · 30 days
35
32% of all-time downloads
QingboKang/SonoReasoner-8B
SonoReasoner-8B is a image-text-to-text model from QingboKang. 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.
SonoReasoner-8B is an ultrasound vision-language model for anatomy-grounded ultrasound reasoning. It is initialized from Qwen/Qwen3-VL-8B-Instruct and post-trained using SonoCorpus supervised reasoning initialization…
Downloads · 30 days
35
32% of all-time downloads
All-time downloads
110
Public
Parameters
8.8B
35.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors17.5 GB · 100%
From the Hugging Face model README
SonoReasoner-8B is an ultrasound vision-language model for anatomy-grounded ultrasound reasoning. It is initialized from Qwen/Qwen3-VL-8B-Instruct and post-trained using SonoCorpus supervised reasoning initialization followed by GRPO-based clinical task alignment.
SonoReasoner-8B was post-trained in two stages. Stage 1 performs supervised fine-tuning on SonoCorpus, a large-scale corpus of anatomy-grounded ultrasound reasoning examples, to initialize hierarchical reasoning capabilities across protocol, system, and organ levels. Stage 2 applies Group Relative Policy Optimization (GRPO) on a multi-task ultrasound mixture to align the model with clinical task preferences, including VQA, diagnosis classification, lesion localization, and report generation. SFT was conducted with DeepSpeed ZeRO-3 and bfloat16 mixed precision, and GRPO alignment used FSDP full sharding with bfloat16 precision.
Research use in ultrasound VQA, multimodal reasoning, and medical image analysis. The model may be used to study hierarchical ultrasound reasoning, protocol-system-organ grounding, ultrasound VQA, and ultrasound report generation.
This model is not intended for clinical diagnosis, treatment planning, patient triage, or autonomous medical decision-making. Outputs should not be used as medical advice. The model has not been validated in clinical settings and must not be deployed as a medical device. Use in direct patient care or as a substitute for professional medical judgment is strictly out of scope.
SonoReasoner was evaluated on SonoVQA and downstream ultrasound tasks including diagnosis classification, lesion localization, and report generation. Full results are reported in the associated manuscript.
This model is intended for research purposes only. This model is not intended for clinical diagnosis, treatment planning, patient triage, or autonomous medical decision-making. Outputs should not be used as medical advice. Users should ensure compliance with applicable healthcare regulations and ethical guidelines when using this model in research contexts. The source ultrasound images used for training are not redistributed, in accordance with third-party data use agreements and patient privacy considerations.
import torch
from transformers import AutoProcessor, AutoModelForImageTextToText
repo_id = 'QingboKang/SonoReasoner-8B'
processor = AutoProcessor.from_pretrained(repo_id, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
repo_id,
torch_dtype=torch.bfloat16,
device_map='auto',
trust_remote_code=True,
)
# Load an ultrasound image and prepare the input
messages = [
{
"role": "user",
"content": [
{"type": "image", "image": "path/to/ultrasound_image.png"},
{"type": "text", "text": "Describe the anatomical structures visible in this ultrasound image."},
],
}
]
inputs = processor.apply_chat_template(
messages,
tokenize=True,
add_generation_prompt=True,
return_dict=True,
return_tensors="pt",
)
inputs = inputs.to(model.device)
# Generate a response
generated_ids = model.generate(**inputs, max_new_tokens=512)
response = processor.batch_decode(
generated_ids[:, inputs["input_ids"].shape[1]:],
skip_special_tokens=True,
)[0]
print(response)
The exact multimodal input formatting may depend on the installed transformers and Qwen3-VL implementation. Please follow the official Qwen3-VL inference utilities if needed.
If you use SonoReasoner, please cite our associated manuscript. The formal citation will be updated after publication.
@article{sonoreasoner2026,
title={SonoReasoner: Hierarchical Clinical Reasoning for Ultrasound Vision-Language Models},
author={...},
journal={...},
year={2026}
}
For questions, please open an issue on the model repository or contact the authors via the Hugging Face community.