SAVRN
Search Contact SAVRN

Open-weight model · Visual question answering

Qwen2.5VL-3B-Instruct-fire

by Gaoqie gaoqie/Qwen2.5VL-3B-Instruct-fire

Qwen2.5VL-3B-Instruct-fire is an open-weight model for visual question answering from Gaoqie, released under Apache License 2.0. It has 3.8B parameters and a 128,000-token context. At 16-bit it needs about 9 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index. It draws 11 downloads a month.

https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection.

Parameters3.8B
Context128,000
Weights7.5 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads11

Runs On

What it takes to serve Qwen2.5VL-3B-Instruct-fire (3.8B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 7.5 GB 9.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 3.8 GB 4.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 1.9 GB 2.3 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 21, 2026.

Qwen2.5VL-3B-Instruct-fire on every accelerator the SAVRN Index prices, at every precision

Model Card

By Gaoqie, published under apache-2.0, revision 444a31e370ad.

https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…

Read Gaoqie's full model card

Using Multimodal Large Language Models for False Alarm Reduction in Image-based Fire Detection

https://doi.org/10.1007/s10694-026-02000-3

Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the design of three switchable reasoning modes (Detailed, Quick, and Rapid) to achieve inference acceleration via CoT compression. We fine-tuned Qwen2-VL-7B-Instruct on a multi-grained instruction dataset via Low-Rank Adaptation. This process internalizes explicit reasoning logic into implicit parameter representations, enabling the model to maintain robust reasoning capability even without explicit CoT guidance. On our newly constructed benchmark incorporating real-world hard negatives, Flash-Cascade achieves an accuracy of 97.79% and an F1-score of 0.9767 in Rapid mode, outperforming the baseline by 61.63 percentage points (pp) and 0.5152, respectively. Furthermore, it outperforms the state-of-the-art object detector DEIMv2 by 14.64 pp in accuracy. The method exhibits exceptional sample efficiency, converging with only 600 samples and 2 epochs, and improves inference speed by 810% over standard CoT. This study will open a door for robust and efficient flame detection in high-interference scenarios.

1. Quick Start

from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
from qwen_vl_utils import process_vision_info
from modelscope import snapshot_download



from transformers import Qwen2_5_VLForConditionalGeneration, AutoTokenizer, AutoProcessor
# from qwen_vl_utils import process_vision_info

model_dir = "" # */gaoqie/Qwen2.5VL-3B-Instruct-fire
device = "cuda:0"
# default: Load the model on the available device(s)
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
    model_dir, torch_dtype="bfloat16", device_map=device
)

# default processer
processor = AutoProcessor.from_pretrained(model_dir)

# The default range for the number of visual tokens per image in the model is 4-16384. You can set min_pixels and max_pixels according to your needs, such as a token count range of 256-1280, to balance speed and memory usage.
# min_pixels = 256*28*28
# max_pixels = 1280*28*28
# processor = AutoProcessor.from_pretrained(model_dir, min_pixels=min_pixels, max_pixels=max_pixels)


def infer(img_path):
    # 模式1
    messages = [
        {
                "role": "system", 
                "content": "You are a helpful assistant."    
        },
        {
            "role": "user",
            "content": [
                {
                    "type": "image",
                    "image": img_path,
                },
                {
                    "type": "text", 
                    "text": "图像中是否存在火焰?详细分析。"
                }
            ],
        }
    ]
    # 模式2
    messages = [
        {
                "role": "system", 
                "content": "You are a helpful assistant."    
        },
        {
            "role": "user",
            "content": [
                {
                    "type": "image",
                    "image": img_path,
                },
                {
                    "type": "text", 
                    "text": "图像中是否存在火焰?简单回答。"
                }
            ],
        }
    ]
    # 模式3
    messages = [
        {
                "role": "system", 
                "content": "You are a helpful assistant."    
        },
        {
            "role": "user",
            "content": [
                {
                    "type": "image",
                    "image": img_path,
                },
                {
                    "type": "text", 
                    "text": "图像中是否存在火焰?快速回答。"
                }
            ],
        }
    ]

    # Preparation for inference
    text = processor.apply_chat_template(
        messages, tokenize=False, add_generation_prompt=True
    )

    image_inputs, video_inputs = process_vision_info(messages)


    inputs = processor(
        text=[text],
        images=image_inputs,
        videos=video_inputs,
        padding=True,
        return_tensors="pt",
    )
    inputs = inputs.to(device)

    # Inference: Generation of the output
    generated_ids = model.generate(**inputs, max_new_tokens=500)
    # print(processor.batch_decode(
    #     generated_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False
    # ))
    generated_ids_trimmed = [
        out_ids[len(in_ids) :] for in_ids, out_ids in zip(inputs.input_ids, generated_ids)
    ]
    output_text = processor.batch_decode(
        generated_ids_trimmed, skip_special_tokens=True, clean_up_tokenization_spaces=False
    )

    output_text = output_text[0]
    print(output_text)

image_path = ""
infer(image_path)

2. License

This code repository is licensed under the Apache license 2.0.

3. Citation

Configuration

Architecture
Qwen2_5_VLForConditionalGeneration
Context length (tokens)
128,000
Layers
36
Hidden size
2,048
Feed-forward size
11,008
Attention heads
16
Key/value heads
2
Vocabulary size
151,936
Sliding window (tokens)
32,768
RoPE base
1e+06
Model type
qwen2_5_vl

Identity and Version

Repository
gaoqie/Qwen2.5VL-3B-Instruct-fire
Publisher
Gaoqie
Task
Visual question answering
Modality
Other
Library
Not stated by the source
Parameters
3.8B parameters
Languages
zh
Revision
444a31e370ada5ffce628fca00be57ed20652d0f
First published
2026-02-04
Last updated
2026-09-21

Files and Weights

16 files, 7.5 GB in total. The weights are 2 files totalling 7.5 GB in safetensors.

Weights2 files · 7.5 GB
Configuration7 files · 71.6 KB
Tokenizer4 files · 15.9 MB
Documentation1 file · 6.0 KB
Other1 file · 1.0 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00002.safetensorsWeights5.0 GB f0911d13873a
model-00002-of-00002.safetensorsWeights2.5 GB 4b9bed5b065b
added_tokens.jsonConfiguration605 B
config.jsonConfiguration3.4 KB
generation_config.jsonConfiguration214 B
model.safetensors.index.jsonConfiguration65.5 KB
preprocessor_config.jsonConfiguration350 B
special_tokens_map.jsonConfiguration613 B
video_preprocessor_config.jsonConfiguration913 B
README.mdDocumentation6.0 KB
chat_template.jinjaOther1.0 KB
.gitattributesRepository1.6 KB
merges.txtTokenizer1.7 MB
tokenizer.jsonTokenizer11.4 MB 9c5ae00e602b
tokenizer_config.jsonTokenizer4.7 KB
vocab.jsonTokenizer2.8 MB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
7.5 GB
Download from Gaoqie

Released by Gaoqie through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published7.5 GB
16-bit7.5 GB
8-bit3.8 GB
4-bit1.9 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Qwen2.5VL-3B-Instruct-fire

How much GPU memory does Qwen2.5VL-3B-Instruct-fire need?

About 9 GB at 16-bit and 2.3 GB at 4-bit: the weights (3.8B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run Qwen2.5VL-3B-Instruct-fire on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use Qwen2.5VL-3B-Instruct-fire commercially?

Yes. Qwen2.5VL-3B-Instruct-fire is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is Qwen2.5VL-3B-Instruct-fire's context length?

128,000 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Visual question answering

DeepSeekVL2-Tiny-fire

Gaoqie

https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…

Open weights apache-2.0 3.4B parameters 4,096 tokens

Model · Visual question answering

Qwen2VL-2B-Instruct-fire

Gaoqie

https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…

Open weights apache-2.0 2.2B parameters 32,768 tokens

Model · Visual question answering

DeepSeekVL-1.3B-Chat-fire

Gaoqie

https://www.doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…

Open weights apache-2.0 2B parameters 16,384 tokens

Model · Visual question answering

DeepSeekVL-7B-Chat-fire

Gaoqie

https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…

Open weights apache-2.0 7.3B parameters 16,384 tokens

Model · Visual question answering

InternVl2-8B-fire

Gaoqie

https://doi.org/10.1007/s10694-026-02000-3 Existing vision-based methods suffer from high false alarm rates in urban flame detection. Applying Multimodal Large Language Models (MLLMs) for secondary filtering shows great potential in reducing false alarms, yet they have high inference latency and are prone to reasoning collapse on negative samples without explicit Chain-of-Thought (CoT) guidance. To overcome these challenges, this study proposed Flash-Cascade, the first sub-second MLLM-based firewall to leverage CoT to efficiently filter false alarms. We deconstructed the flame detection process into four logical stages (planning, observation, analysis, and judgment), which informed the…

Open weights apache-2.0 8.1B parameters 32,768 tokens