Image-Text-to-Text
Transformers
Safetensors
qwen2_5_vl
multimodal
sar
remote-sensing
visual-question-answering
image-captioning
conversational
text-generation-inference
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
|
Download README.md from zhtstar/RadarMind-3B: direct link, hf CLI and curl.
- Browser
- Download file 4.74 kB
-
https://huggingface.co/zhtstar/RadarMind-3B/resolve/main/README.md
- Command line
-
hf download hf://zhtstar/RadarMind-3B/README.md
-
curl -L -o README.md https://huggingface.co/zhtstar/RadarMind-3B/resolve/main/README.md
4.74 kB
| license: other | |
| license_name: qwen-research | |
| license_link: https://huggingface.co/Qwen/Qwen2.5-VL-3B-Instruct/blob/main/LICENSE | |
| library_name: transformers | |
| pipeline_tag: image-text-to-text | |
| base_model: Qwen/Qwen2.5-VL-3B-Instruct | |
| tags: | |
| - multimodal | |
| - sar | |
| - remote-sensing | |
| - visual-question-answering | |
| - image-captioning | |
| <div align="center"> | |
| # RadarMind-3B | |
| ### Explainable SAR Image Interpretation with Large Vision-Language Models | |
| <p> | |
| <a href="https://doi.org/10.1109/TAES.2026.3719218"><img src="https://img.shields.io/badge/Paper-IEEE-00629B?logo=ieee&logoColor=white" alt="IEEE paper" /></a> | |
| <a href="https://github.com/zhtstar/RadarMind"><img src="https://img.shields.io/badge/Code-GitHub-181717?logo=github" alt="GitHub" /></a> | |
| </p> | |
| <p> | |
| <a href="https://huggingface.co/datasets/zhtstar/SARLingu"><img src="https://img.shields.io/badge/Hugging%20Face-SARLingu-FFD21E?logo=huggingface&logoColor=black" alt="SARLingu on Hugging Face" /></a> | |
| <a href="https://modelscope.cn/datasets/zhtstar/SARLingu"><img src="https://img.shields.io/badge/ModelScope-SARLingu-624AFF" alt="SARLingu on ModelScope" /></a> | |
| <a href="https://huggingface.co/zhtstar/RadarMind-3B"><img src="https://img.shields.io/badge/Hugging%20Face-RadarMind--3B-FFD21E?logo=huggingface&logoColor=black" alt="RadarMind-3B on Hugging Face" /></a> | |
| <a href="https://modelscope.cn/models/zhtstar/RadarMind-3B"><img src="https://img.shields.io/badge/ModelScope-RadarMind--3B-624AFF" alt="RadarMind-3B on ModelScope" /></a> | |
| <a href="https://huggingface.co/zhtstar/RadarMind-7B"><img src="https://img.shields.io/badge/Hugging%20Face-RadarMind--7B-FFD21E?logo=huggingface&logoColor=black" alt="RadarMind-7B on Hugging Face" /></a> | |
| <a href="https://modelscope.cn/models/zhtstar/RadarMind-7B"><img src="https://img.shields.io/badge/ModelScope-RadarMind--7B-624AFF" alt="RadarMind-7B on ModelScope" /></a> | |
| </p> | |
| </div> | |
| 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](https://huggingface.co/Qwen/Qwen2.5-VL-3B-Instruct) | | |
| | Companion dataset | [SARLingu](https://huggingface.co/datasets/zhtstar/SARLingu) | | |
| | Larger model | [RadarMind-7B](https://huggingface.co/zhtstar/RadarMind-7B) | | |
| ## Quick start | |
| ```python | |
| 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](https://github.com/QwenLM/Qwen2.5-VL) for complete image-input examples. | |
| ## Official resources | |
| | Resource | Hugging Face | ModelScope | | |
| | --- | --- | --- | | |
| | SARLingu | [Dataset](https://huggingface.co/datasets/zhtstar/SARLingu) | [Dataset](https://modelscope.cn/datasets/zhtstar/SARLingu) | | |
| | RadarMind-3B | [Model](https://huggingface.co/zhtstar/RadarMind-3B) | [Model](https://modelscope.cn/models/zhtstar/RadarMind-3B) | | |
| | RadarMind-7B | [Model](https://huggingface.co/zhtstar/RadarMind-7B) | [Model](https://modelscope.cn/models/zhtstar/RadarMind-7B) | | |
| ## Citation | |
| ```bibtex | |
| @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. | |