/ Модель

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

Контекст
32 768 токенов
Лицензия
Своя лицензия
Архитектура
audiovisualflamingo · dense
Библиотека
transformers
Опубликована
15 апр 2026

nemotron-labs-audio-visual-flamingo-hf

Компьютерное зрениеВидео, текст → текст4 профессии
802скачиваний за 30 дней29лайковвеса обновлены20 ноя 2026

Описание модели

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

Мультимодальная модель NVIDIA и University of Maryland для вопросов, описаний и временных рассуждений по аудио и длинным видео.

Nemotron-Labs-Audio-Visual Flamingo (AVF-Instruct) — мультимодальная модель для понимания и рассуждений по аудио, изображениям и видео, разработанная NVIDIA и University of Maryland. Она принимает текстовые запросы, изображения, аудио и видео, а в ответ генерирует текст. Модель объединяет визуальный энкодер SigLIP, аудиоэнкодер AF-Whisper, проекторы признаков и декодер Qwen2.5-7B; синхронизированные аудио- и видеоданные чередуются по временной оси. Для обработки изображений и кадров видео используется Dynamic-S2.

Модель предназначена для вопросов по длинным видео, аудиовизуального описания сцен и событий, анализа последовательности событий и сопоставления звуков с видимыми моментами. Обучение охватывало контекст до 15 минут видео и 32 тыс. токенов. Выпуск ориентирован на английский язык. Модель опубликована в формате safetensors и использует библиотеку Transformers.

Известные ограничения: очень длинные и насыщенные событиями видео остаются сложными, особенно если важные фрагменты редки или удалены друг от друга во времени; обучающие данные могут содержать смещения и пересечения с ранее использованными данными. Модель выдаёт только текст, без синтеза речи. Лицензия NVIDIA OneWay Noncommercial License разрешает некоммерческое использование; карточка рекомендует самостоятельную оценку перед применением.

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

  • ответы на вопросы по содержанию длинного видео
  • описание видео с учётом речи, музыки и фоновых звуков
  • определение последовательности событий и смены сцен
  • сопоставление звука с соответствующим моментом видео
  • анализ изображений, аудио и видео по текстовым инструкциям

Ограничения

Модель испытывает трудности с очень длинными и насыщенными событиями видео, особенно когда важные свидетельства редки или разнесены во времени; обучающие данные могут содержать смещения и пересечения с ранее использованными данными. Модель генерирует только текст и не включает синтез речи.

Публичные бенчмарки

Результаты из открытых лидербордов в сравнении с лидерами каталога

Публичных оценок пока нет

В подключённых источниках результатов этой модели не нашлось. Отсутствие оценки не значит, что модель хуже: её могли просто не проверять.

Источники: Hugging Face Leaderboards, Hugging Face Eval Results, Open LLM v2, MTEB, timm, Open ASR, EvalPlus

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

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

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

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

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

Открыть на Hugging Face

Model Overview

Nemotron-Labs-Audio-Visual Flamingo (AVF) is a fully open audio-visual large language model for joint understanding and reasoning over audio, images, and videos. nvidia/nemotron-labs-audio-visual-flamingo-hf is the instruction-tuned checkpoint for multimodal understanding and text generation over long, complex, real-world videos.

AVF is designed for settings where the answer depends on both what is visible and what is audible: speech, background sounds, music, visual actions, scene transitions, temporal order, and cross-modal alignment. This checkpoint generates text only; streaming TTS is not included in the Hub weights.

This model is for non-commercial research purposes only.

Description

AVF extends the Audio Flamingo line from audio-only understanding into joint audio-visual reasoning. The model combines:

  • a SigLIP vision tower for images and sampled video frames
  • Dynamic-S2 visual preprocessing for high-resolution images and long videos
  • an AF-Whisper audio encoder for speech, sound, and music
  • separate 2-layer projectors for visual and audio features
  • temporal audio-visual interleaving with Constrained Rotary Time Embeddings (CRTE)
  • a Qwen2.5-7B-family decoder-only language backbone

Unlike systems that process video frames and audio as independent streams, AVF aligns synchronized visual and audio chunks, interleaves them along the time axis, and feeds the fused sequence to the language model. This helps the model attend across co-occurring visual and auditory events.

Model Details

  • Developed by: NVIDIA and University of Maryland
  • Checkpoint: AVF-Instruct, final 2026-06-29 release checkpoint
  • Model type: audio-visual large language model for conditional text generation
  • Backbone: Qwen2.5-7B-family decoder-only language model
  • Modalities: text, image, audio, video
  • Language: English-focused release
  • License: NVIDIA OneWay Noncommercial License

Model Sources

Best For

  • video question answering where both audio and visual evidence matter
  • detailed audio-visual captioning for real-world videos
  • temporal reasoning over event order, scene changes, and long-range context
  • audio-visual event alignment, such as identifying which sound matches a visual moment
  • reasoning over speech, environmental sounds, music, and visual actions together
  • image, audio, video, and text prompts in a single chat-template interface

Usage

Install

AVF support is available from the AVF Transformers fork until the upstream Transformers PR is merged.

pip install "transformers[torch,vision] @ git+https://github.com/lashahub/transformers.git@add_AudioVisualFlamingo" torchcodec

Videos and audio are decoded with torchcodec, which needs FFmpeg (see the torchcodec installation guide).

Notes

  • Pass load_audio_from_video=True to apply_chat_template so that a video contributes both its sampled frames and its audio track.
  • The audio track is interleaved with the frames: the video is split into 30-second segments, in which the visual tokens are followed by the audio tokens of the same segment.
  • Videos are sampled to 128 frames by default, which can be changed with processor_kwargs={"num_frames": ...} in apply_chat_template.
  • Audio is resampled to 16 kHz mono and converted to 128-bin log-mel features. Audio longer than max_audio_len seconds (600 by default) is truncated, which can be changed with AutoProcessor.from_pretrained(model_id, max_audio_len=...), keeping in mind that 30 seconds of audio take 750 tokens of the 32K token context.
  • AVF is trained for long videos up to 15 minutes and 32K context in long-context stages. Very long, dense videos can still be challenging.
  • Prompting matters. Ask explicitly for audio-visual evidence, timestamps, scene transitions, speech, sounds, or temporal order when those details matter.

Video + Audio From One Container

from transformers import AudioVisualFlamingoForConditionalGeneration, AutoProcessor

model_id = "nvidia/nemotron-labs-audio-visual-flamingo-hf"
processor = AutoProcessor.from_pretrained(model_id)
model = AudioVisualFlamingoForConditionalGeneration.from_pretrained(model_id, device_map="auto")

conversation = [
    {
        "role": "user",
        "content": [
            {"type": "video", "path": "/path/to/video.mp4"},
            {
                "type": "text",
                "text": (
                    "Describe the full video. Include the visual scene, spoken content, "
                    "important sounds or music, and how the audio and visuals align over time."
                ),
            },
        ],
    }
]

inputs = processor.apply_chat_template(
    conversation,
    tokenize=True,
    add_generation_prompt=True,
    return_dict=True,
    load_audio_from_video=True,
).to(model.device)

generated_ids = model.generate(**inputs, max_new_tokens=1024)
new_tokens = generated_ids[:, inputs["input_ids"].shape[1] :]
print(processor.batch_decode(new_tokens, skip_special_tokens=True)[0])

Image, Audio, Video, and Text Items

AVF uses one chat-template interface for all modalities. Media can be given by local path or by url, and several conversations can be batched by passing a list of conversations to apply_chat_template.

conversation = [
    {
        "role": "user",
        "content": [
            {"type": "image", "path": "/path/to/reference_frame.jpg"},
            {"type": "audio", "path": "/path/to/audio.wav"},
            {"type": "video", "path": "/path/to/video.mp4"},
            {
                "type": "text",
                "text": "What does the audio reveal that is not obvious from the image and video frames alone?",
            },
        ],
    }
]

Prompt Guide

TaskPrompt pattern
Detailed AV captioningGenerate a detailed caption of the full video, covering both visual events and the audio track.
Audio-visual alignmentExplain how the audio and visuals align over time. Mention key timestamps or scene transitions.
Temporal orderArrange the major audio-visual events in chronological order and explain the evidence.
Spoken-content analysisTranscribe the speech, identify speakers if possible, and relate the speech to the visual scene.
Sound-grounded QAWhat sound occurs when the camera shows <event>, and what visual evidence supports it?
Visual-grounded audio QAWhich visible action best explains the sound heard around <time/event>?
Long-video reasoningAnswer using evidence from the whole video, not a single moment. Cite the relevant audio and visual cues.

Architecture

At a high level, AVF contains:

  • Vision encoder: SigLIP vision tower with 448 x 448 image processing and Dynamic-S2 multi-scale tiling.
  • Audio encoder: AF-Whisper-style encoder with 128 mel bins, 16 kHz input audio, and long-audio chunking.
  • Projectors: separate visual and audio MLP projectors that map encoder outputs into the LLM hidden size.
  • Temporal fusion: synchronized visual and audio chunks are interleaved over time and augmented with CRTE.
  • Language model: Qwen2.5-7B-family decoder-only backbone for multimodal reasoning and text generation.

The released config uses:

  • vision_config.hidden_size = 1152
  • vision_config.image_size = 448
  • audio_config.d_model = 1280
  • audio_config.encoder_layers = 32
  • text_config.hidden_size = 3584
  • text_config.num_hidden_layers = 28
  • text_config.max_position_embeddings = 32768

and the released processor:

  • video_processor.num_frames = 128
  • video_segment_duration = 30
  • max_audio_len = 600

Training Summary

AVF uses a three-stage training curriculum:

StageMain data mixtureMax input / contextOutput checkpoint
Short-context SFTAV-Skills-Short plus audio, music, image, video, and speech data5 min / 16K tokensAVF short-context model
Long-context SFTAV-Skills-Long plus downsampled short/audio/music/speech data15 min / 32K tokensAVF-Instruct
CoT post-trainingAV-Think reasoning triplets with SFT and GRPO15 min / 32K tokensAVF-Think

The AV-Skills data mixture includes:

  • 100K hours of short video and 3.8M AV-Skills-Short training instances
  • about 140K hours of long video and 3.2M long-video caption/QA instances
  • about 4.8M QA pairs across the full AV-Skills collection
  • long-video skill categories such as needle-in-the-haystack reasoning, temporal reasoning, sub-scene understanding, holistic reasoning, counting, audio-visual referring, event alignment, event sequence reasoning, inference, comparative reasoning, and context understanding
  • AV-Think, with about 24K temporally grounded audio-visual reasoning samples

Training uses bf16 precision on 512 NVIDIA H100 GPUs, with ZeRO-3, sequence parallelism for long-context stages, cosine learning-rate decay, warmup ratio 0.03, and GRPO post-training for the AVF-Think variant.

Results

ACC is higher-is-better and WER is lower-is-better.

This repository hosts AVF-Instruct. AVF-Think entries summarize the post-trained reasoning variant where it was evaluated.

AreaBenchmarkAVF-InstructAVF-Think
Omni understandingWorldSense ACC50.351.6
Omni understandingDailyOmni ACC72.473.9
Omni understandingOmniBench ACC48.550.6
Omni understandingMMOU ACC56.960.2
Audio hallucinationCMM Hallucination ACC86.7-
Audio reasoningMMAR ACC60.1-
Audio reasoningMMSU ACC61.5-
Audio reasoningMMAU avg ACC73.49-
Video understandingVideo-MME ACC, no subtitles / with subtitles70.7 / 71.2-
Video understandingLongVideoBench ACC60.1-
Video understandingMVHBench ACC71.7-
ASRLibriSpeech test-clean / test-other WER1.64 / 3.5-
ASRSPGISpeech WER2.8-
ASRTEDLIUM WER3.0-
ASRGigaSpeech WER10.2-
ASRVoxPopuli WER5.8-

AVF-Instruct improves over OmniVinci on WorldSense, DailyOmni, Video-MME, MMAR, and several ASR settings, while AVF-Think further improves temporally grounded reasoning where evaluated.

Input and Output

Input

  • Modalities: text, image, audio, video, or mixed audio-visual video containers
  • Image format: common image formats supported by the Transformers image loader
  • Audio format: WAV/MP3/FLAC or audio track from video containers, decoded to mono 16 kHz
  • Video format: local or remote video files decoded with torchcodec (FFmpeg)
  • Recommended video setting: load_audio_from_video=True in apply_chat_template for joint frame/audio understanding

Output

  • Type: generated text
  • Format: UTF-8 string
  • Typical max generation: task dependent; examples use 512 to 1024 new tokens

Limitations

Known limitations:

  • AV-Skills is built from public datasets and open-internet videos, which can introduce source bias and possible overlap with prior training data.
  • Very long and highly dense videos remain difficult, especially when the relevant evidence is sparse, subtle, or far apart in time.
  • Current benchmarks do not fully capture open-ended real-world deployment.
  • The Hub checkpoint generates text only; streaming TTS is not included.
  • The Transformers integration is currently available through an AVF fork while upstream support is pending.

Users should evaluate the model on their own target data before deployment, especially for safety-sensitive, privacy-sensitive, or high-stakes settings.

Ethical Considerations

AVF can support beneficial applications such as accessibility, lecture and documentary understanding, audio description, media analysis, and multimodal research. It can also be misused for surveillance, deepfake analysis workflows, or multimodal disinformation at scale. The model and associated assets are released for non-commercial research use only, and downstream users are responsible for applying appropriate safeguards, privacy controls, and domain-specific evaluation.

Please report security vulnerabilities or NVIDIA AI concerns through NVIDIA's vulnerability disclosure channel.

License / Terms of Use

The model is released under the NVIDIA OneWay Noncommercial License. Underlying datasets and components retain their original licenses and distribution terms. AVF uses Qwen2.5-7B as the base LLM and Apache 2.0 component, with AF-Whisper/OmniVinci-derived components under NVIDIA OneWay Noncommercial terms.

Deployment Geography

Global.

Intended Use

This checkpoint is intended for researchers and developers exploring:

  • joint audio-visual understanding
  • long-video question answering and captioning
  • temporal audio-visual reasoning
  • multimodal assistant research
  • evaluation of open audio-visual models

It is not intended for production surveillance, biometric identification, rights enforcement, medical diagnosis, legal decision-making, or other high-stakes decisions without extensive independent validation and safeguards.

Software Integration

Runtime engine: PyTorch / Hugging Face Transformers AVF integration fork

Recommended hardware: NVIDIA A100/H100-class GPUs for long video inputs

Supported OS: Linux

The integration of foundation and fine-tuned models into AI systems requires use-case-specific testing. Developers should validate quality, latency, safety, privacy, and failure modes on representative data before deployment.

Citation

@misc{ghosh2026audiovisualflamingoopenaudiovisual,
      title={Audio-Visual Flamingo: Open Audio-Visual Intelligence for Long and Complex Videos}, 
      author={Sreyan Ghosh and Arushi Goel and Kaousheik Jayakumar and Lasha Koroshinadze and Nishit Anand and Siddharth Gururani and Hanrong Ye and Pritam Biswas and Yuanhang Su and Ehsan Hosseini-Asl and Sang-gil Lee and Zhifeng Kong and Jaehyeon Kim and Sungwon Kim and S Sakshi and Ramani Duraiswami and Dinesh Manocha and Andrew Tao and Mohammad Shoeybi and Bryan Catanzaro and Ming-Yu Liu and Wei Ping},
      year={2026},
      eprint={2607.16107},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      url={https://arxiv.org/abs/2607.16107}, 
}

Acknowledgements

Nemotron-Labs-Audio-Visual Flamingo builds on the Audio Flamingo series, AF-Whisper, OmniVinci, Qwen2.5, NVILA-style Dynamic-S2 processing, and the open audio, video, and multimodal learning community.

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

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

GPU в ailist

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

Нельзя запустить

Архитектура audiovisualflamingo неизвестна transformers в образе рантайма.

Класс архитектуры
AudioVisualFlamingoForConditionalGeneration
Ревизия весов
891a0d3

0 моделей