Instructions to use zhtstar/RadarMind-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use zhtstar/RadarMind-7B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="zhtstar/RadarMind-7B") 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-7B") model = AutoModelForMultimodalLM.from_pretrained("zhtstar/RadarMind-7B", 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-7B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "zhtstar/RadarMind-7B" # 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-7B", "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-7B
- SGLang
How to use zhtstar/RadarMind-7B 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-7B" \ --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-7B", "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-7B" \ --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-7B", "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-7B with Docker Model Runner:
docker model run hf.co/zhtstar/RadarMind-7B
Download README.md from zhtstar/RadarMind-7B: direct link, hf CLI and curl.
- Browser
- Download file 4.58 kB
-
https://huggingface.co/zhtstar/RadarMind-7B/resolve/main/README.md
- Command line
-
hf download hf://zhtstar/RadarMind-7B/README.md
-
curl -L -o README.md https://huggingface.co/zhtstar/RadarMind-7B/resolve/main/README.md
license: apache-2.0
library_name: transformers
pipeline_tag: image-text-to-text
base_model: Qwen/Qwen2.5-VL-7B-Instruct
tags:
- multimodal
- sar
- remote-sensing
- visual-question-answering
- image-captioning
RadarMind-7B is the full-scale 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-7B-Instruct. No separate LoRA adapter or training checkpoint is required.
Model details
| Item | Description |
|---|---|
| Architecture | Qwen2.5-VL, fully merged weights |
| Parameters | 7B scale |
| Primary modality | SAR imagery |
| Supported tasks | Visual question answering, image captioning, SAR scene interpretation |
| Base model | Qwen2.5-VL-7B-Instruct |
| Companion dataset | SARLingu |
| Compact model | RadarMind-3B |
Quick start
from transformers import AutoProcessor, Qwen2_5_VLForConditionalGeneration
model_id = "zhtstar/RadarMind-7B"
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-7B is released under the Apache License 2.0, consistent with its base model. Users must retain the included license and attribution notices. The model is intended for research on SAR and remote-sensing image understanding; outputs should be independently verified before operational or safety-critical use.