Instructions to use zhtstar/RadarMind-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zhtstar/RadarMind-3B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="zhtstar/RadarMind-3B") 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)# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("zhtstar/RadarMind-3B") model = AutoModelForMultimodalLM.from_pretrained("zhtstar/RadarMind-3B", device_map="auto") 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=256) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use zhtstar/RadarMind-3B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "zhtstar/RadarMind-3B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zhtstar/RadarMind-3B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/zhtstar/RadarMind-3B
- SGLang
How to use zhtstar/RadarMind-3B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "zhtstar/RadarMind-3B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zhtstar/RadarMind-3B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "zhtstar/RadarMind-3B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "zhtstar/RadarMind-3B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use zhtstar/RadarMind-3B with Docker Model Runner:
docker model run hf.co/zhtstar/RadarMind-3B
RadarMind-3B is the compact model released with “RadarMind: Explainable Chain-of-Thought Reasoning for SAR Image Interpretation with Large Vision-Language Models.” It is designed for synthetic aperture radar (SAR) image understanding, including visual question answering and detailed scene description.
The repository contains fully merged weights derived from Qwen2.5-VL-3B-Instruct. No separate LoRA adapter or training checkpoint is required.
Model details
| Item | Description |
|---|---|
| Architecture | Qwen2.5-VL, fully merged weights |
| Parameters | 3B scale |
| Primary modality | SAR imagery |
| Supported tasks | Visual question answering, image captioning, SAR scene interpretation |
| Base model | Qwen2.5-VL-3B-Instruct |
| Companion dataset | SARLingu |
| Larger model | RadarMind-7B |
Quick start
from transformers import AutoProcessor, Qwen2_5_VLForConditionalGeneration
model_id = "zhtstar/RadarMind-3B"
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
model_id,
torch_dtype="auto",
device_map="auto",
)
processor = AutoProcessor.from_pretrained(model_id)
Use the standard Qwen2.5-VL chat template and multimodal input pipeline for inference. See the Qwen2.5-VL repository for complete image-input examples.
Official resources
| Resource | Hugging Face | ModelScope |
|---|---|---|
| SARLingu | Dataset | Dataset |
| RadarMind-3B | Model | Model |
| RadarMind-7B | Model | Model |
Citation
@article{zhang2026radarmind,
title = {RadarMind: Explainable Chain-of-Thought Reasoning for SAR Image Interpretation with Large Vision-Language Models},
author = {Zhang, Haitao and Xu, Haote and Zhang, Hongyang and Huang, Yuzhi and Huang, Hailiang and Huang, Yue and Ding, Xinghao and Lin, Huangxing},
journal = {IEEE Transactions on Aerospace and Electronic Systems},
year = {2026},
publisher = {IEEE}
}
License and intended use
RadarMind-3B inherits the Qwen Research License used by its exact base-model snapshot, including the applicable non-commercial restriction. Users must review and comply with the included LICENSE and NOTICE files. The model is intended for research on SAR and remote-sensing image understanding; outputs should be independently verified before operational or safety-critical use.
- Downloads last month
- 6
Model tree for zhtstar/RadarMind-3B
Base model
Qwen/Qwen2.5-VL-3B-Instruct