/ Модель

Характеристики

Контекст
128 000 токенов
Параметры
7,1 млрд
Размер весов
16,6 ГБ
Лицензия
Apache 2.0
Архитектура
qwen2_5_vl · dense
Базовая модель
Qwen2.5-VL-7B-Instruct
Библиотека
transformers
Опубликована
10 дек 2025

Qwen2.5-VL-Mull

Изображение и текст → текст3 профессии

Мультимодальная дообученная модель Qwen2.5-VL с латентными токенами для пространственного рассуждения по изображениям и тексту.

434скачиваний за 30 дней0лайковвеса обновлены24 авг 2026

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Тесты пользователейпока нет

Никто ещё не опубликовал тест этой модели. Соберите бенчмарк из своих задач — результат появится здесь.

  1. Добавьте модель в бенчмарк

    Вместе с другими моделями категории «Изображение → текст» — сравнение идёт внутри одной категории.

  2. Опишите свои задачи

    Напишите запросы, при необходимости приложите файлы и эталонные ответы.

  3. Запустите и опубликуйте

    Модели ответят на каждую задачу, судья оценит ответы. Опубликованный результат появится на этой странице.

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

array/Qwen2.5-VL-Mull — мультимодальная модель для пространственных задач и рассуждений по изображениям и тексту, разработанная для исследования Mull-Tokens. Она создана дообучением Qwen/Qwen2.5-VL-7B-Instruct и использует обученные латентные токены, которые могут хранить промежуточную информацию в визуальной или текстовой модальности.

Модель принимает изображения и текстовые запросы и формирует текстовые ответы. В README сообщается об улучшении среднего результата на 3% на четырёх сложных бенчмарках пространственного рассуждения и до 16% на наиболее требовательных к рассуждениям поднаборах относительно сильнейшего базового метода. Для работы с латентными токенами нужен соответствующий шаблон чата: со стандартным шаблоном Qwen2.5-VL эта функция не активируется. Модель содержит 7,1 млрд параметров, имеет контекст до 128 000 токенов и распространяется под лицензией Apache-2.0.

Сценарии применения

  • ответы на вопросы о пространственных отношениях на изображении
  • решение задач на пространственное рассуждение
  • анализ визуальных сцен по текстовому запросу

Ограничения

Для использования латентного блока требуется совместимый шаблон чата; со стандартным шаблоном Qwen2.5-VL модель отвечает без латентных токенов и теряет этот режим рассуждения. Заявленные улучшения относятся к четырём пространственным бенчмаркам и не гарантируют аналогичного результата на других задачах.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

Mull-Tokens: Modality-Agnostic Latent Thinking

This is the model for the paper "Mull-Tokens: Modality-Agnostic Latent Thinking".

[Paper] | [Project Page] | [Code]

Overview

Mull-Tokens are latent tokens that can be pre-trained to hold intermediate information in either image or text modalities so as to think towards the correct answer. Across four challenging spatial reasoning benchmarks, Mull-Tokens achieve a +3% average improvement and up to +16% on reasoning-heavy splits compared to the strongest baseline.

Available Models

ModelDescription
array/Qwen2.5-VL-MullMull-Tokens with multimodal warm-up
array/Qwen2.5-VL-MullGRPOMull-Tokens + GRPO reinforcement learning

Quick Start

from transformers import Qwen2_5_VLForConditionalGeneration, AutoProcessor
from qwen_vl_utils import process_vision_info
import torch

# Choose model: "array/Qwen2.5-VL-Mull" or "array/Qwen2.5-VL-MullGRPO"
MODEL_ID = "array/Qwen2.5-VL-Mull"
NUM_LATENTS = 20

# Load model and processor
model = Qwen2_5_VLForConditionalGeneration.from_pretrained(
    MODEL_ID,
    torch_dtype=torch.bfloat16,
    attn_implementation="flash_attention_2",
    device_map="auto",
)
processor = AutoProcessor.from_pretrained(MODEL_ID)

# Prepare your question
image_path = "path/to/your/image.jpg"
question = "If you stand at the X marked point and turn left, will the table be to your left or right? Please choose between the following answer choices: A. left. B. right. "
question_type = "multiple choice"

QUESTION_TEMPLATE_LATENT = (
    "{Question}\n"
    "Please think about this question deeply. "
    "It's encouraged to include self-reflection or verification in the reasoning process. "
    "Provide your final answer between the <answer> </answer> tags."
)
TYPE_TEMPLATE = {
    "multiple choice": " Please provide only the single option letter (e.g., A, B, C, D, etc.) within the <answer> </answer> tags.",
    "numerical": " Please provide the numerical value (e.g., 42 or 3.14) within the <answer> </answer> tags.",
    "OCR": " Please transcribe text from the image/video clearly and provide your text answer within the <answer> </answer> tags.",
    "free-form": " Please provide your text answer within the <answer> </answer> tags.",
    "regression": " Please provide the numerical value (e.g., 42 or 3.14) within the <answer> </answer> tags.",
}
prompt = QUESTION_TEMPLATE_LATENT.format(Question=question) + TYPE_TEMPLATE[question_type]

# Build messages with latent thinking tokens
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "image": image_path},
            {"type": "text", "text": prompt},
        ],
    },
    # IMPORTANT: Mull-Tokens requires latent thinking tokens before answer generation
    {
        "role": "assistant",
        "content": [
            {
                "type": "text",
                "text": "<think>" + "<|latent_pad|>" * NUM_LATENTS + "</think>\n",
            }
        ],
    },
]

# Process inputs
text = processor.apply_chat_template(messages, tokenize=False, add_generation_prompt=False)
text = text.replace("<|im_end|>\n", "")  # Remove end token so model continues generating

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

# Generate response
with torch.no_grad():
    output_ids = model.generate(
        **inputs,
        max_new_tokens=512,
        do_sample=False,
    )

# Decode output (skip input tokens)
generated_ids = output_ids[:, inputs["input_ids"].shape[1]:]
response = processor.batch_decode(generated_ids, skip_special_tokens=True)[0]
print(response)

Serving with vLLM

vLLM serves this checkpoint with its native Qwen2.5-VL implementation — no custom model code and no --trust-remote-code. The latent tokens are ordinary entries in an extended vocabulary (vocab_size 151669) with trained embeddings, and the latent-specific code paths in the training model are gated on a training-only flag, so they never run during generation.

vllm serve array/Qwen2.5-VL-Mull --max-model-len 32768

The chat template pre-fills the assistant turn with <think> + 20 x <|latent_pad|> + </think>, so ordinary chat requests get the latent block automatically:

from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")
client.chat.completions.create(
    model="array/Qwen2.5-VL-Mull",
    messages=[{"role": "user", "content": [
        {"type": "image_url", "image_url": {"url": f"data:image/jpeg;base64,{b64}"}},
        {"type": "text", "text": question},
    ]}],
    temperature=0, max_tokens=512,
    # optional: vary the latent budget, or set 0 to disable it for an ablation
    extra_body={"chat_template_kwargs": {"num_latents": 20}},
)

Check that the latent path is active. If you serve this model with a stock Qwen2.5-VL chat template, the prompt ends at <|im_start|>assistant\n and the model receives zero latent tokens. It still answers, so the mistake is easy to miss — but it reverts to writing its reasoning out as text. On 24 SAT items the same checkpoint averaged 8.9 output tokens with the latent block and 101.2 without. Verify with list(output.prompt_token_ids).count(151665) == 20.

Reproducing the paper's numbers. The evaluations run max_pixels=12845056, while preprocessor_config.json defaults to 401408:

vllm serve array/Qwen2.5-VL-Mull --max-model-len 32768 \
    --mm-processor-kwargs '{"min_pixels": 3136, "max_pixels": 12845056}'

A recipe, serving scripts and an HF-vs-vLLM parity harness live in serving/.

Citation

@misc{ray2025mulltokensmodalityagnosticlatentthinking,
      title={Mull-Tokens: Modality-Agnostic Latent Thinking},
      author={Arijit Ray and Ahmed Abdelkader and Chengzhi Mao and Bryan A. Plummer and Kate Saenko and Ranjay Krishna and Leonidas Guibas and Wen-Sheng Chu},
      year={2025},
      eprint={2512.10941},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2512.10941},
}

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · transformers

Можно запустить

Подбираем GPU…

Класс архитектуры
Qwen2_5_VLForConditionalGeneration
Ревизия весов
a0a4e1b

0 моделей