Instructions to use Qianxingyu/ActiveCTReasoner-7B-SFT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qianxingyu/ActiveCTReasoner-7B-SFT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="Qianxingyu/ActiveCTReasoner-7B-SFT") 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, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Qianxingyu/ActiveCTReasoner-7B-SFT") model = AutoModelForMultimodalLM.from_pretrained("Qianxingyu/ActiveCTReasoner-7B-SFT", 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=40) print(processor.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use Qianxingyu/ActiveCTReasoner-7B-SFT with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "Qianxingyu/ActiveCTReasoner-7B-SFT" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "Qianxingyu/ActiveCTReasoner-7B-SFT", "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/Qianxingyu/ActiveCTReasoner-7B-SFT
- SGLang
How to use Qianxingyu/ActiveCTReasoner-7B-SFT 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 "Qianxingyu/ActiveCTReasoner-7B-SFT" \ --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": "Qianxingyu/ActiveCTReasoner-7B-SFT", "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 "Qianxingyu/ActiveCTReasoner-7B-SFT" \ --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": "Qianxingyu/ActiveCTReasoner-7B-SFT", "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 Qianxingyu/ActiveCTReasoner-7B-SFT with Docker Model Runner:
docker model run hf.co/Qianxingyu/ActiveCTReasoner-7B-SFT
ActiveCTReasoner-7B-SFT
Supervised fine-tune of Qwen2.5-VL-7B-Instruct on 108,085 agentic trajectories. This is the checkpoint the paper reports and the starting point for GRPO.
- Paper: ACTOR: Agentic CT Reasoning with Radiologist-Aligned Actions (EMNLP 2026)
- Code: https://github.com/qianxingyucode/ACTOR
- Benchmark:
Qianxingyu/ACTOR-Bench
This model needs a tool environment
It is not a single-turn VQA model. It emits <tool_call> and expects
<tool_response> with a fresh rendered slice, looping until it emits
<answer>. Serving the weights and showing one image will score far below the
table above, because that is a different task. The environment โ the five
radiologist-aligned tools, the window presets, the bounding-box overlay and the
prior-scan alignment โ ships in the code repository as actor/env/simulator.py.
vllm serve Qianxingyu/ActiveCTReasoner-7B-SFT --port 8100 \
--limit-mm-per-prompt image=35 --max-model-len 32768 --trust-remote-code
python -m benchmark.eval.eval_benchmark
Not for clinical use
Research artefact only, evaluated on CT-RATE validation scans. It has not been validated for diagnosis and must not inform patient care. It can miss findings and can state measurements confidently that are wrong.
Licence
CC BY-NC-SA 4.0, non-commercial. The weights derive from training on CT-RATE-derived observations, so the data licence propagates here even though the ACTOR code itself is Apache-2.0.
CT-RATE is gated, and its Terms and Conditions section 5 state:
Redistribution of the dataset or any portion thereof is not allowed.
That is why no CT volumes or rendered slices are published with these weights,
and why the evaluation data lives in Qianxingyu/ACTOR-Bench as text plus a render
manifest that you replay locally against your own CT-RATE download.
- Downloads last month
- -
Model tree for Qianxingyu/ActiveCTReasoner-7B-SFT
Base model
Qwen/Qwen2.5-VL-7B-Instruct