/ Модель

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

Контекст
131 072 токена
Размер весов
64,8 ГБ
Лицензия
Apache 2.0
Архитектура
jepa_llm · dense
Базовая модель
Qwen3-30B-A3B
Библиотека
transformers
Опубликована
19 ноя 2026

Llama-V-JEPA-LM-Qwen3-30B-A3B

Компьютерное зрениеВидео, текст → текст3 профессии
188скачиваний за 30 дней13лайковвеса обновлены25 ноя 2026

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

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

Англоязычная видеоязыковая MoE-модель на базе Qwen3 и V-JEPA 2.1 для ответов на вопросы о событиях и движении в коротких видеоклипах.

Llama-V-JEPA-LM-Qwen3-30B-A3B — англоязычная видеоязыковая модель для ответов на вопросы о видео и описания происходящего. Она разработана автором репозитория на основе Qwen3-30B-A3B: языковая модель полностью дообучена, а замороженный видеокодировщик V-JEPA 2.1 ViT-G подключён через спектральный мост. Языковая часть содержит 30,53 млрд параметров и использует архитектуру MoE с 8 активными экспертами из 128 на токен; видеокодировщик содержит 1,85 млрд параметров. Веса опубликованы в формате bf16 Safetensors.

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

Модель не предназначена для анализа одиночных изображений, OCR, документов, диаграмм и текста в кадрах. Длинные видео целиком и часовые сценарии не были целью обучения и оценки. Лицензия весов — Apache-2.0, однако автор указывает, что некоторые обучающие датасеты ограничивают коммерческое применение; перед коммерческим использованием необходимо проверить их условия.

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

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

Ограничения

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

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

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

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

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

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

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

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

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

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

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

Открыть на Hugging Face

Llama-V-JEPA-LM-Qwen3-30B-A3B

Paper: arXiv:2611.17831
Code and technical report: github.com/kkt94/Llama-V-JEPA-LM
Live demo: Llama-V-JEPA-LM-Llama3.1-8B in your browser (ZeroGPU)

Base language model: Qwen3-30B-A3B (Apache-2.0). The name begins with "Llama" because the training data include the FGQA split of PLM-Video-Human, an output of Llama 3.2 whose license requires models trained on it to carry the "Llama" prefix.

Llama-V-JEPA-LM-Qwen3-30B-A3B is the largest video-language model of the Llama-V-JEPA-LM family. It joins a frozen V-JEPA 2.1 world-model video encoder (ViT-G) to the Qwen3-30B-A3B mixture-of-experts language model (30.5B parameters, about 3.3B active per token) through a spectral bridge that turns every 32-frame clip into 1,024 visual tokens. It is trained with counterfactual supervision: pixel transformations of public videos produce answer-balanced variants whose answers are fixed by construction and differ only in how the scene changes, so the language model learns to read the dynamics (direction, speed, order, state) that the world-model encoder carries. Trained on 4.50M public samples, it reaches a 69.49 average on 12 scores across 11 video benchmarks, vs. 63.33 for Qwen3-VL-30B-A3B, the open video-language model built on the same language model.

Highlights

  • Ahead of the open model on the same backbone. 69.49 vs. 63.33 for Qwen3-VL-30B-A3B on the 12-score average, and higher on 9 of 12 scores (SSv2 93.1 vs. 70.9, Vinoground text 72.8 vs. 51.2, TOMATO 57.5 vs. 40.2, TVBench 75.0 vs. 61.9).
  • Ahead of the open 30B-class video-language models we evaluated. 69.49 on the 12-score average vs. 66.41 for MiniCPM-V-4.7-35B-A3B, 65.87 for Qwen3-VL-32B-Instruct, 63.33 for Qwen3-VL-30B-A3B, 62.55 for InternVL3.5-30B-A3B.
  • Generalizes beyond its constructions. 95.65 average on six held-out sets (unseen speed ratios, an unseen source corpus, unseen combinations, an unseen simulator; chance 33.3), vs. 47.57 to 58.31 for those four models.
  • Keeps the language model's math ability. GSM8K 88.7 vs. 88.8 for Qwen3-30B-A3B and MATH-hard 60.0 vs. 57.6; see Language ability for all tasks.
  • Sparse language compute. Every token uses 8 of 128 experts per layer and every clip 1,024 visual tokens at any input resolution, so the language model prefills a clip with 6.9 TFLOPs in 68 ms on one H100, vs. 15.2 TFLOPs / 104 ms (480p) and 172.1 TFLOPs / 470 ms (720p) for Qwen3-VL-30B-A3B.
  • Efficient to train at this size. 379 EFLOPs and 792 H100-hours in total, including the frozen encoder.

Model details

Model typeVideo-language model (video + text in, text out)
Language modelQwen3-30B-A3B, fully fine-tuned (30.53 B parameters; mixture of experts: 48 layers, 128 experts, 8 active per token)
Vision encoderV-JEPA 2.1 ViT-G, frozen (1.85 B parameters)
Bridgespectral bridge: fixed PCA rotation and rescaling to 2,048 dimensions + trainable MLP (8.7 M parameters)
Total parameters32.39 B
Visual tokens1,024 per clip (16 tubelets × 8 × 8 cells), independent of input resolution
Frames32 per clip, sampled uniformly, 384 × 384
Context2,560 tokens in training (video tokens + prompt + answer)
Precisionbf16 (bridge projection statistics in fp32)
Training samples4.50M (drawn at fixed per-source weights from a mixture of 175 public sources)
LanguageEnglish
LicenceApache-2.0; V-JEPA 2 encoder: MIT; FGQA training data: Llama 3.2 Community License (see License)
ComponentDetailsParameters
Video encoder (frozen)V-JEPA 2.1 ViT-G/16 (vjepa2_1_vitG_384.pt, target encoder), 384 x 384, tubelet 2, RoPE; 4 output levels (blocks 11 / 23 / 37 / 47)1.85 B
Spectral bridgeper-level LayerNorm of the 4 levels, 3 x 3 patch pooling to 8 x 8 cells per tubelet, projection onto the top 2,048 principal directions of the frozen V-JEPA features with one global scale (fixed statistics, fp32), LayerNorm + MLP 2048 -> 2048 -> 2048, plus learned position, time and cell-geometry codes8.7 M (+ 13.64 M fp32 statistics)
Language model (fully fine-tuned)Qwen3-30B-A3B architecture (48 layers, hidden 2048, 128 experts with 8 active per token), separate output head (untied embeddings)30.53 B

Weights are bf16 safetensors (18 shards, about 65 GB). The only exception is the bridge's projection statistics (bridge.spectral.{mean,basis,scale}), which stay in fp32, also after .to(torch.bfloat16).

Quick start

1. Install (Python 3.10+, a CUDA build of PyTorch that matches your driver):

pip install torch
pip install "transformers>=5" safetensors tokenizers numpy jinja2 eva-decord huggingface_hub

2. Run on a GPU with 80 GB of memory (peak memory for one clip in our test: 61.0 GiB):

import torch
from transformers import AutoModel

model = AutoModel.from_pretrained(
    "kkt94/Llama-V-JEPA-LM-Qwen3-30B-A3B",
    trust_remote_code=True, dtype=torch.bfloat16,
).to("cuda").eval()

# free-form answer (greedy decoding)
print(model.chat("my_video.mp4", "Describe what happens in the video."))

# multiple choice -> (index of the chosen option, one score per option)
idx, scores = model.choose("my_video.mp4", "Which way does the ball roll?", ["to the left", "to the right"])
print(idx, scores)

# only part of the video (seconds)
print(model.chat("my_video.mp4", "What does the person pick up?", start_sec=5.0, end_sec=12.0))

# encode once, ask several questions
frames, times = model.load_video("my_video.mp4")
ev = model.encode_video(frames, times)                     # [1, 1024, 2048] video tokens
print(model.choose(None, "Is the door open at the end?", ["yes", "no"], evidence=ev))
print(model.chat(None, "What happens next?", evidence=ev))

hf download kkt94/Llama-V-JEPA-LM-Qwen3-30B-A3B --local-dir ./Llama-V-JEPA-LM-Qwen3-30B-A3B downloads the files (about 65 GB) if you prefer a local folder; from_pretrained accepts that folder too.

Usage notes

  • choose scores the options and does not generate. The prompt is "{question}\nA. {option 0}\nB. {option 1}\n...\nAnswer with the option's letter from the given choices directly."; the prediction is the argmax of the option-letter logits at the first answer position (up to 10 options, A-J). This is the protocol of the evaluation below.
  • chat answers a single-turn question with greedy decoding (max_new_tokens, default 256).
  • Chat template (chat_template.jinja, set on model.tokenizer automatically): Qwen3 <|im_start|> turns in Qwen3's non-thinking format (every assistant turn starts with an empty <think></think> block), no system prompt. The video tokens come first in the single user turn, followed by the question. The API takes one video and one question per call.
  • Frames: 32 frames sampled uniformly over the clip (frame i at t0 + (i + 0.5) * (t1 - t0) / 32 s, nearest source frame); the clip is the whole video or [start_sec, end_sec]. Short side resized to 384 px (bicubic, antialiased), centre crop 384 x 384, ImageNet normalisation; the real frame timestamps are encoded into the video tokens. For long videos, start_sec / end_sec select the segment of interest.
  • Video files: any container / codec that decord reads (mp4, webm, mkv, avi, ...).
  • Mixture of experts: the language model runs with the grouped_mm experts implementation of transformers (the default).
  • Precision: bf16, except the bridge statistics (fp32). rope_inv_freq_bf16 (config, default true) rounds the LLM's rotary frequencies to bf16 as in the evaluation these scores come from.
FileContents
model-*.safetensors, model.safetensors.index.jsonweights (vision encoder, bridge, language model)
config.jsonJepaLlmConfig (model_type: jepa_llm) with the language model's config as text_config
configuration_jepa_llm.pythe config class
modeling_jepa_llm.pyJepaLlmModel: encoder, bridge, language model and the chat / choose API
processing_jepa_llm.pyvideo decoding, frame sampling, preprocessing, prompt building, chat templates
vjepa2_1_encoder.pyinference-only copy of the V-JEPA 2.1 encoder (MIT)
tokenizer files, chat_template.jinjathe language model's tokenizer and the template the model was trained with
LICENSE_QWEN3, LICENSE_VJEPA2, LICENSE_LLAMA3_2, NOTICE_LLAMA3_2, USE_POLICY_LLAMA3_2.mdlicences (*_LLAMA3_2: Llama 3.2 licence, notice and use policy for the PLM-Video-Human FGQA training data)

The code needs no external repository (trust_remote_code=True). Tested with Python 3.12, torch 2.13, transformers 5.10.4 (see requirements.txt).

Evaluation

Twelve scores on eleven video benchmarks for Llama-V-JEPA-LM-Qwen3-30B-A3B and four open 30B-class video-language models, including Qwen3-VL-30B-A3B, which is built on the same language model. All models are evaluated by the same harness with one protocol: 32 frames, the same items and prompts, option-letter scoring. Each baseline uses its own processor and chat template (MiniCPM-V with thinking disabled). Bold: best in each column.

ModelMVBPTTVBTCTOMMoBNQAMVPTBSSv2VG-TVG-VAvg
Llama-V-JEPA-LM-Qwen3-30B-A3B73.978.075.079.157.559.782.258.275.893.172.828.669.49
MiniCPM-V-4.7-35B-A3B70.976.165.177.441.465.985.751.281.077.860.843.666.41
Qwen3-VL-32B-Instruct73.081.869.877.941.766.784.548.473.872.759.440.865.87
Qwen3-VL-30B-A3B70.076.261.976.140.264.584.048.775.470.951.240.863.33
InternVL3.5-30B-A3B77.577.770.372.838.460.883.045.870.266.151.436.462.55

MVB: MVBench, PT: PerceptionTest, TVB: TVBench, TC: TempCompass, TOM: TOMATO, MoB: MotionBench, NQA: NExT-QA, MVP: Minimal Video Pairs (pair accuracy), TB: TemporalBench (binary), SSv2: Something-Something v2 (multiple choice), VG-T / VG-V: Vinoground text / video (pair accuracy), Avg: mean of the 12 scores.

Held-out generalization. Six construction sets built from videos and settings never used in training (unseen playback-speed ratios, a new source corpus for speed and for direction, unseen mirror × reversal and acceleration × reversal combinations, camera motion from an unseen simulator; chance 33.3):

ModelSpeed ratioNew source (speed)New source (direction)Mirror × reversalAcceleration × reversalCamera (simulator)Avg
Llama-V-JEPA-LM-Qwen3-30B-A3B98.799.377.298.899.8100.095.65
MiniCPM-V-4.7-35B-A3B38.049.048.787.263.960.257.82
Qwen3-VL-32B-Instruct42.250.844.886.659.665.758.31
Qwen3-VL-30B-A3B36.750.039.479.553.552.451.92
InternVL3.5-30B-A3B34.850.332.669.955.242.747.57

Inference cost per 32-frame clip on one H100 (batch 1, bf16, PyTorch, video decoding excluded; times: median of 10 runs after 3 warm-ups; 480p clip unless noted):

ModelVisual tokensEncoder (TFLOPs)LLM prefill (TFLOPs)LLM prefill (ms)First token, 480p (ms)Decode (ms / token)First token, 720p (ms)
Llama-V-JEPA-LM-Qwen3-30B-A3B1,02461.16.96827654.9277
Qwen3-VL-30B-A3B1,920 / 11,5206.815.210414749.2686

First token = vision encoder + connector + LLM prefill. Decode: per generated token with KV cache. FLOPs include the 8 routed experts of every token. The visual-token count and cost of Llama-V-JEPA-LM models do not depend on the input resolution. The encoder time is a property of the encoder: V-JEPA 2.1 ViT-G attends jointly over all 32 frames (9,216 patches), which is what carries the dynamics, while Qwen3-VL uses a frame-wise image encoder that attends within one frame pair at a time.

Language ability

Text-only tasks with the language model of this release against its base model and Qwen3-VL-30B-A3B (lm-evaluation-harness 0.4.13, chat template, few-shot examples as turns):

ModelIFEvalMMLU-ProBBHMATH-hardHumanEvalARC-ChallengeAvg
Llama-V-JEPA-LM-Qwen3-30B-A3B73.250.750.460.082.989.367.8
Qwen3-30B-A3B83.553.861.857.690.293.673.4
Qwen3-VL-30B-A3B83.457.660.951.590.995.173.2

GSM8K (919 questions): 88.7 for this model, 88.8 for Qwen3-30B-A3B.

Training

Data. 4.50M samples drawn at fixed per-source weights from 175 public sources: open video caption and QA collections (LLaVA-Video, ShareGPTVideo, PerceptionLM data, Charades-Ego, EPIC-Kitchens, HoloAssist, SSv2, Kinetics-700, SA-V, ActivityNet and others) plus 33 counterfactual sources (509,193 rows, about 6% of the drawn samples). The counterfactual rows come from 14 constructions in 6 families. Each takes a clip of a public dataset and a transformation; the answer follows from the transformation, so no new human annotation and no language model are involved. Within each source every scene appears with each answer equally often in expectation.

FamilyConstructionsRows
Sign flipclip reversed or mirrored, camera move rendered or reversed, two clips each optionally reversed117,066
Ordertwo events joined in sequence or stacked; which segment matches a two-action caption85,579
Positionseveral clips joined, one holds the queried action: beginning / middle / end48,386
Magnituderelative speed, acceleration / deceleration, slow motion vs. time-lapse141,084
Countone action repeated k times; number of distinct activities35,614
Stop/cutclip cut before the action completes; physically impossible simulator edits81,464

Recipe. The V-JEPA 2.1 encoder stays frozen. After a bridge-only warm-up (0.8% of the steps), the bridge and the full language model are trained together in one continuous stage: 4,717 steps at global batch 960 (first 750 steps) and 952, learning rate 2.02e-5 for the language model and 5.06e-4 for the bridge, cosine decay, weight decay 0.01 / 0.05, expert load-balancing loss 0.001, maximum sequence length 2,560 tokens.

Hardware. NVIDIA H100 GPUs: 30 for the first 750 steps (32 clips per GPU), then 28 (34 clips per GPU), 28.0 hours of training, 792 H100-hours in total; training compute 379 EFLOPs (including the frozen encoder's forward pass; the language model is counted with its routed experts).

Training data

Fine-tuned on the training splits of public video-language datasets; no new human annotation.

DatasetLicenseNote
Something-Something v2Qualcomm research-use licensenon-commercial
LLaVA-Video-178KApache-2.0 (card: academic research)GPT-4o-generated
ShareGPTVideo (LLaVA-Hound)Apache-2.0GPT-generated
HoloAssistCDLA-Permissive-2.0–
SA-VCC BY 4.0–
PLM-Video-Human (RCap, RDCap, RTLoc)CC BY 4.0–
PLM-Video-Human FGQALlama 3.2 Community LicenseLlama 3.2 output
Charades / Charades-EgoAI2 non-commercial licensenon-commercial
EPIC-KITCHENS-100CC BY-NC 4.0non-commercial
EgoDexCC BY-NC-ND 4.0non-commercial
Kinetics-700CC BY 4.0 (annotations)YouTube videos
NVIDIA PhysicalAI Physical-Interaction-ScenesOpenMDW-1.1–
RoboVQACC BY 4.0–
Language-TableApache-2.0–
CLEVRERsee project page–
TimeITCC BY 4.0 (instructions)source videos under their own terms
PerceptionTest (train)CC BY 4.0–
STAR (train)Apache-2.0Charades videos
Oops!CC BY-NC-SA 4.0non-commercial
HT-StepCC BY-NC 4.0non-commercial
Others (ActivityNet, YouCook2, LSMDC, Ego-QA, Video-Holmes, VidLN, Countix)see each datasetresearch use
UltraChat-200k promptsMITanswers generated by the base LLM (Qwen3-30B-A3B)
Reasoning / answer rewritesgenerated by Qwen3-8B / Qwen3-VL-8B (Apache-2.0)–

Each dataset remains under its own terms; this release grants no rights in them.

Intended use

  • Intended: question answering about and description of videos in English: actions, events and their order, motion direction and speed, camera motion, counting, and state changes; research on video-language models and world-model encoders.
  • Out of scope: image, document, chart or OCR question answering, which were not training targets; use that violates the Llama 3.2 Acceptable Use Policy (which applies to the FGQA training-data component) or applicable law.

Several training datasets restrict commercial use. We release the weights for research and non-commercial use; anyone considering commercial use is responsible for checking the terms of the training data.

Limitations

  • Single images and text in frames. V-JEPA 2.1 is trained only on video, to predict masked spatiotemporal regions in latent space. It is never trained to align with text or to read it. Text recognition (OCR, documents, charts, slides) and single-image question answering are therefore outside what the encoder was built for, and they are not the target of this model. It is built for how scenes change over time. For text-heavy or single-image tasks, an image–text encoder is the natural choice.
  • Long videos. The model targets clip-level understanding of dynamics, 32 frames per clip. Hour-scale long-video benchmarks need many clips per video and far longer contexts, in training as well as at inference. At the scale of this release (1B–30B, one training stage of a few hundred H100-hours), that training cost is impractical, so we did not train or evaluate for it. For a long video, start_sec / end_sec select the segment to ask about.

License

This model combines components under the following licences:

  • Language model: Apache License 2.0. The language-model weights are a modified version of Qwen3-30B-A3B (LICENSE_QWEN3): all weights were fine-tuned on video-language data, and video tokens from the bridge are inserted into its input embeddings. The tokenizer files are unmodified copies from Qwen3-30B-A3B.
  • Video encoder: MIT License. The encoder weights are the V-JEPA 2.1 ViT-G checkpoint vjepa2_1_vitG_384.pt released by Meta with facebookresearch/vjepa2 (MIT, LICENSE_VJEPA2), unchanged (frozen). vjepa2_1_encoder.py is adapted from that repository under the MIT License.
  • Bridge weights and model code are released under the Apache License 2.0.
  • Training data component: Llama 3.2 Community License. The training data include the FGQA split of PLM-Video-Human, an output of Llama 3.2 that is subject to the Llama 3.2 Community License (LICENSE_LLAMA3_2) and the Llama 3.2 Acceptable Use Policy (USE_POLICY_LLAMA3_2.md); as that license requires for models trained on it, the model name begins with "Llama". Llama 3.2 is licensed under the Llama 3.2 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved. (NOTICE_LLAMA3_2)
  • Training datasets remain under their own terms (see Training data).

Acknowledgements

This work was supported by the Institute of Information & communications Technology Planning & Evaluation (IITP) grants funded by the Korea government (MSIT) (No. RS-2025-25422680, Development and Demonstration of Core Technologies for a Metacognitive Framework for AGI Emergence; No. RS-2026-25505492, AI Computing Support Project for R&D, High-Performance Research AI Computing Infrastructure Support at the 2 PFLOPS Scale).

Citation

@misc{kim2026vjepalm,
  title         = {V-JEPA-LM: Video-Language Models That Read Dynamics Beyond Static, Text-Aligned Representations},
  author        = {Kim, Keuntae and Kim, Dongjun and Choi, Yong Suk},
  year          = {2026},
  eprint        = {2611.17831},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  url           = {https://arxiv.org/abs/2611.17831}
}

Please also cite V-JEPA 2 / V-JEPA 2.1 and Qwen3.

Model family

All sizes are in the Llama-V-JEPA-LM collection.

ModelLanguage modelEncoderAvg (12)
Llama-V-JEPA-LM-Llama3.2-1BLlama-3.2-1B-InstructV-JEPA 2.1 ViT-L62.21
Llama-V-JEPA-LM-Qwen3-1.7BQwen3-1.7BV-JEPA 2.1 ViT-L66.02
Llama-V-JEPA-LM-Llama3.2-3BLlama-3.2-3B-InstructV-JEPA 2.1 ViT-g68.97
Llama-V-JEPA-LM-Qwen3-4BQwen3-4B-Instruct-2507V-JEPA 2.1 ViT-g72.14
Llama-V-JEPA-LM-Llama3.1-8BLlama-3.1-8B-InstructV-JEPA 2.1 ViT-g70.51
Llama-V-JEPA-LM-Qwen3-8BQwen3-8BV-JEPA 2.1 ViT-g70.11
Llama-V-JEPA-LM-Qwen3-30B-A3B (this model)Qwen3-30B-A3BV-JEPA 2.1 ViT-G69.49

Model card authors

Keuntae Kim, Hanyang University, Artificial Intelligence Lab

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

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

GPU в ailist

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

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

Модели нужен код из репозитория; запуск откроется после проверки совместимости.

Класс архитектуры
JepaLlmModel
Ревизия весов
032c81f

0 моделей