How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="chaoyinshe/EchoVLM_V2_lingshu_base_7b_instruct_preview")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
pipe(text=messages)
# Load model directly
from transformers import AutoProcessor, AutoModelForImageTextToText

processor = AutoProcessor.from_pretrained("chaoyinshe/EchoVLM_V2_lingshu_base_7b_instruct_preview")
model = AutoModelForImageTextToText.from_pretrained("chaoyinshe/EchoVLM_V2_lingshu_base_7b_instruct_preview")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"},
            {"type": "text", "text": "What animal is on the candy?"}
        ]
    },
]
inputs = processor.apply_chat_template(
	messages,
	add_generation_prompt=True,
	tokenize=True,
	return_dict=True,
	return_tensors="pt",
).to(model.device)

outputs = model.generate(**inputs, max_new_tokens=40)
print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:]))
Quick Links

EchoVLM (paper implementation)

Official PyTorch implementation of the model described in
"EchoVLM: Dynamic Mixture-of-Experts Vision-Language Model for Universal Ultrasound Intelligence".

πŸ€– Model Details

Item Value
Paper arXiv:2509.14977
Authors Chaoyin SheΒΉ, Ruifang LuΒ²
Code GitHub repo
Model Hub Hugging Face

πŸ”„ Updates

  • Coming soon: V2 with Chain-of-Thought reasoning and reinforcement learning enhancementsβ€”full training & inference code plus benchmark test-set will be fully open-sourced.
  • Dec 1, 2025: To better promote development in this field, we've open-sourced our latest instruction fine-tuned model based on Lingshu-7B. Essentially built on Qwen2.5VL, it enjoys a better ecosystemβ€”for example, it can seamlessly leverage vLLM for accelerated inference. Released model weights on Hugging Face.
  • Sep 21, 2025: The full, uncleaned model codebase is now open-sourced on GitHub!
  • Sep 19, 2025: Released model weights on Hugging Face.
  • Sep 17, 2025: Paper published on arXiv.

πŸš€ Quick Start

Reference Qwen2.5-VL-7B-Instruct

πŸ“Œ Citation

If you use this model or code in your research, please cite:

@misc{she2025echovlmdynamicmixtureofexpertsvisionlanguage,
      title={EchoVLM: Dynamic Mixture-of-Experts Vision-Language Model for Universal Ultrasound Intelligence}, 
      author={Chaoyin She and Ruifang Lu and Lida Chen and Wei Wang and Qinghua Huang},
      year={2025},
      eprint={2509.14977},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2509.14977}, 
}
Downloads last month
175
Safetensors
Model size
8B params
Tensor type
BF16
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for chaoyinshe/EchoVLM_V2_lingshu_base_7b_instruct_preview

Finetuned
(3)
this model

Paper for chaoyinshe/EchoVLM_V2_lingshu_base_7b_instruct_preview