Archive of AI

Source Snapshot / 2025-06-11-meta-v-jepa-2-world-model-3

facebook/vjepa2-vitl-fpc64-256

Linked event: 2025-06-11 · Meta AI (FAIR) Open-Sources Video World Model V-JEPA 2, Enabling Physical Reasoning and Zero-Shot Robotic Planning

Publisher
Hugging Face
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / 8cb636566aa96711
Original URL
Open source ↗
Wayback Backup
Not archived
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

Hugging Face

Search models, datasets, users... ⌘K

vjepa2-vitl-fpc64-256

AI at Meta 16.5k

Video Classification

Transformers

feature-extraction

License: mit

Model card Files Files and versions

Copy to bucket

Use this model

A frontier video understanding model developed by FAIR, Meta, which extends the pretraining objectives of VJEPA, resulting in state-of-the-art video understanding capabilities, leveraging data and model sizes at scale.

The code is released in this repository.

Installation

To run V-JEPA 2 model, ensure you have installed the latest transformers:

pip install -U git+https://github.com/huggingface/transformers

Intended Uses

V-JEPA 2 is intended to represent any video (and image) to perform video classification, retrieval, or as a video encoder for VLMs.

from transformers import AutoVideoProcessor, AutoModel

hf_repo = "facebook/vjepa2-vitl-fpc64-256"

model = AutoModel.from_pretrained(hf_repo)

processor = AutoVideoProcessor.from_pretrained(hf_repo)

To load a video, sample the number of frames according to the model. For this model, we use 64.

import torch

from torchcodec.decoders import VideoDecoder

import numpy as np

video_url = "https://huggingface.co/datasets/nateraw/kinetics-mini/resolve/main/val/archery/-Qz25rXdMjE_000014_000024.mp4"

vr = VideoDecoder(video_url)

frame_idx = np.arange(0, 64) # choosing some frames. here, you can define more complex sampling strategy

video = vr.get_frames_at(indices=frame_idx).data # T x C x H x W

video = processor(video, return_tensors="pt").to(model.device)

with torch.no_grad():

video_embeddings = model.get_vision_features(**video)

print(video_embeddings.shape)

To load an image, simply copy the image to the desired number of frames.

from transformers.image_utils import load_image

image = load_image("https://huggingface.co/datasets/merve/coco/resolve/main/val2017/000000000285.jpg")

pixel_values = processor(image, return_tensors="pt").to(model.device)["pixel_values_videos"]

pixel_values = pixel_values.repeat(1, 16, 1, 1, 1) # repeating image 16 times

image_embeddings = model.get_vision_features(pixel_values)

print(image_embeddings.shape)

For more code examples, please refer to the V-JEPA 2 documentation.

@techreport{assran2025vjepa2,

title={V-JEPA~2: Self-Supervised Video Models Enable Understanding, Prediction and Planning},

author={Assran, Mahmoud and Bardes, Adrien and Fan, David and Garrido, Quentin and Howes, Russell and

Komeili, Mojtaba and Muckley, Matthew and Rizvi, Ammar and Roberts, Claire and Sinha, Koustuv and Zholus, Artem and

Arnaud, Sergio and Gejji, Abha and Martin, Ada and Robert Hogan, Francois and Dugas, Daniel and

Bojanowski, Piotr and Khalidov, Vasil and Labatut, Patrick and Massa, Francisco and Szafraniec, Marc and

Krishnakumar, Kapil and Li, Yong and Ma, Xiaodong and Chandar, Sarath and Meier, Franziska and LeCun, Yann and

Rabbat, Michael and Ballas, Nicolas},

institution={FAIR at Meta},

Downloads last month 369,232

Inference Providers NEW

This model isn't deployed by any Inference Provider. 🙋 5 Ask for provider support

Model tree for facebook/vjepa2-vitl-fpc64-256

Quantizations

Spaces using facebook/vjepa2-vitl-fpc64-256 23

Collection including facebook/vjepa2-vitl-fpc64-256

A frontier video understanding model developed by FAIR, Meta, which extends the pretraining objectives of https://ai.meta.com/blog/v-jepa-yann • 8 items • Updated Jun 13, 2025 • 234