/ Модель

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

Контекст
262 144 токена
Размер весов
9,7 ГБ
Лицензия
Apache 2.0
Архитектура
qwen3_vl · dense
Базовая модель
Qwen3-VL-4B-Instruct
Опубликована
31 июл 2026

TransVLM-Qwen3-VL-4B-Instruct

Компьютерное зрениеВидео, текст → текст3 профессии

TransVLM — дообученная видеоязыковая модель для определения временных интервалов резких и постепенных переходов между планами.

105скачиваний за 30 дней5лайковвеса обновлены4 авг 2026

Бенчмарки

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

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

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

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

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

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

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

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

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

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

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

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

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

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

TransVLM — мультимодальная модель HeyGenAI для определения временных сегментов переходов между планами в видео. Это дообученная Qwen/Qwen3-VL-4B-Instruct с архитектурой Qwen3VLForConditionalGeneration и примерно 4 млрд параметров. Модель принимает видеоданные вместе с оптическим потоком: входной визуальный энкодер расширен с трёх до шести каналов, чтобы обрабатывать RGB и визуализацию движения. Карточка описывает английский язык и лицензию Apache-2.0.

Модель предназначена для обнаружения резких склеек и постепенных переходов, включая растворения, и выдаёт временные интервалы переходов, а не отдельные кадры границ. Она обучалась на задаче обнаружения переходов между планами и может служить базовой моделью для бенчмарка STD. Для корректного вывода требуется выпущенный авторами код инференса: обычный конвейер AutoProcessor/Qwen3VLForConditionalGeneration подаёт трёхканальные изображения и не соответствует входу модели.

К ограничениям относятся узкая специализация на одной задаче и одном промпте, вычислительная стоимость, линейно растущая с длительностью видео, и необходимость разбивать длинные ролики на фрагменты. Метрики публикации нельзя точно воспроизвести только по выпущенным материалам: эталонные данные и предвычисленный оптический поток не входят в релиз. Для запуска авторы указывают Python 3.12, CUDA GPU и FFmpeg.

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

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

Ограничения

Модель специализирована на одной задаче и ожидает предусмотренный авторами промпт и вход с RGB и визуализацией оптического потока; стандартный трёхканальный конвейер Qwen3-VL даёт некорректный вход. Длинные видео следует делить на части, а опубликованные метрики нельзя полностью воспроизвести без отсутствующих эталонных данных и оптического потока.

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

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

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

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

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

Открыть на Hugging Face

[!IMPORTANT] This is not a drop-in Qwen3-VL checkpoint. Its vision tower takes 6 channels: RGB concatenated with an optical-flow visualisation (config.json → vision_config.in_channels: 6). A standard AutoProcessor / Qwen3VLForConditionalGeneration pipeline supplies 3 channels and will not produce correct results. The weights load, but the input is wrong.

Run it through the released inference code: https://github.com/heygen-com/TransVLM

Model Description

Traditional Shot Boundary Detection (SBD) looks for isolated cut points, which breaks down on gradual transitions and frequently yields corrupted shots. TransVLM targets Shot Transition Detection (STD) instead: it predicts the continuous temporal segments over which a transition happens.

The model is Qwen3-VL-4B-Instruct with one architectural change. Its vision patch embedding is widened from 3 to 6 input channels (zero-padded at initialisation), so an optical-flow visualisation enters the model alongside RGB at the input stage. Motion is what separates a dissolve from a camera pan, and a model that only sees appearance has to infer it. Because the flow is fused before patchification, the language backbone carries no additional visual tokens, so temporal awareness comes for free at the token budget.

Training used a scalable FFmpeg-based data engine covering 59 transition effects, which addresses the severe class imbalance in public shot-boundary data.

Model Details

Base modelQwen/Qwen3-VL-4B-Instruct
ArchitectureQwen3VLForConditionalGeneration
Precisionbfloat16
Vision input channels6 (RGB + optical-flow visualisation, concatenated on the channel axis)
Sampling frame rate25 fps
Optical flowNeuFlow v2, computed at inference time. Its weights (~30 MB) come from the Hub on first use, so expect a second download
InputOne video; flow is computed for you
OutputTransition segments as start/end times in seconds
Saved withtransformers 4.57.3

Intended Use and Limitations

Intended for detecting shot transitions in videos, both hard cuts and gradual effects, and as a baseline on the STD benchmark.

Limitations

  • Not a frame-level cut-point classifier. The output is a time span per transition, not a single boundary frame.
  • Not a general video-chat model. It was fine-tuned on one task with one prompt; the prompt ships with the inference code and changing it changes the task.
  • Long videos should be split before inference. Cost is linear in duration, and the flow visualisation is normalised over its whole input, so a long video and its parts are not the same signal.

Usage

No standalone transformers snippet is given here on purpose: a 3-channel one would run and return nonsense. Use the inference package, which needs Python 3.12, a CUDA GPU, and ffmpeg on PATH:

git clone https://github.com/heygen-com/TransVLM
cd TransVLM/inference

uv venv && source .venv/bin/activate
uv sync --group cu130 --group dev        # cu128 if your driver is older than 570

# Do not skip this. PyTorch 2.9.1 has a Conv3d bug below cuDNN 9.15, and the 6-channel
# patch embed IS a Conv3d, so it is on the hot path of every forward pass. `uv sync`
# resolves cuDNN back down, so re-run this after every sync. Activate the venv first:
# unlike `uv sync`, `uv pip` installs into whatever environment is active.
uv pip install nvidia-cudnn-cu13==9.16.0.29        # nvidia-cudnn-cu12 for cu128 / cu126
python -c "import torch; print(torch.backends.cudnn.version())"   # must print 91600

hf download HeyGenAI/TransVLM-Qwen3-VL-4B-Instruct --local-dir ./pretrained/TransVLM-v1

python infer_video.py \
  --video /path/to/video.mp4 \
  --ckpt-dir ./pretrained/TransVLM-v1 \
  --output-jsonl out.jsonl

The cuDNN package name tracks the CUDA flavour, and installing the wrong one is a silent no-op: it lands an unused package while torch keeps loading the other family. That is why the check prints a version number instead of trusting the install.

Each output line carries segments as {start_time, end_time} pairs in seconds on the original video's timeline, plus timings and the full configuration that produced them.

Three backends are supported: HuggingFace (default), vLLM and SGLang. Environment setup, every option and the output schema are documented in inference/README.md.

Evaluation

Qualitative results and the comparison against baselines are on the project page.

The scorer that produced the paper's metric is released at evaluation/. Note that the published figures cannot be reproduced bit-for-bit from the released artifacts alone. The benchmark ground truth and the pre-computed optical flow used for that run are not part of this release. The reasons are spelled out in evaluation/README.md.

Release Progress

  • Model weights
  • Inference code
  • Evaluation code
  • Data engine code
  • STD benchmark data
  • Re-annotated dataset labels
  • Leaderboard

🚧 The remaining items are being prepared for release.

Citation

@inproceedings{chen2026transvlm,
  title={TransVLM: A Vision-Language Framework and Benchmark for Detecting Any Shot Transitions},
  author={Chen, Ce and Ren, Yi and Li, Yuanming and Goriachko, Viktor and
          Ye, Zhenhui and Guo, Zujin and Hong, Zhibin and Gong, Mingming},
  booktitle={European Conference on Computer Vision},
  year={2026},
  organization={Springer}
}

License

Apache License 2.0, inherited from Qwen3-VL-4B-Instruct.

Scope of this release

TransVLM was developed as academic research and is published at ECCV 2026. It is not used in any HeyGen product; HeyGen's production system for this task is a different model, trained separately from this one.

Training data

Training combined HeyGen's own generated and annotated footage, which accounts for the majority of the sampling distribution, with four public shot-boundary datasets: AutoShot, ClipShots, MovieShots2 (SCTSNet, whose cut annotations build on the Condensed Movies Dataset), and SportsShot. Together these four are roughly 42% of the training sampling distribution, of which SportsShot is about 7.5%.

SportsShot is licensed CC BY-NC 4.0 and is credited here accordingly. The other three distribute annotations rather than footage, so consult each dataset's own terms before relying on them. No dataset is redistributed by this repository, and no dataset footage is contained in these weights.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей