V-JEPA 2

V-JEPA 2 produces video embeddings and supports training an attentive classification probe.

Task
embeddings, classification
Dimensioni
l256, h256, g256, g384 at 256 to 384 px
Installa
pip install libreyolo
Livello di supporto
Supportato, dalla v1.6.0. Modelli addestrabili di supporto: mantenuti funzionanti nella CI, ricevono nuove funzionalità quando possibile.
Licenze
Codice MIT, pesi MIT; Apache-2.0 for giant encoder artifacts. Uso commerciale

Install

bash
pip install "libreyolo"

Predict

Python
from libreyolo import LibreYOLO, SAMPLE_IMAGE model = LibreYOLO("LibreVJEPA2l256-embed.pt", device="cpu")result = model(SAMPLE_IMAGE)print(result.embeddings)tokens = model.embed_tokens(SAMPLE_IMAGE)print(tokens.shape)

A still image is promoted to a clip. embed_tokens() returns (B, T, H, W, D) tokens; the public embedding normalizes their mean. Exported clip graphs require direct five-dimensional runtime input.

Train

Only the attentive probe and linear classifier train; the encoder stays frozen. Use the classification task and a video-manifest dataset. Defaults are 10 epochs, batch 2, learning rate 0.001 and workers 0. Full encoder fine-tuning and pretraining are not supported.

Dataset setup describes the required training data.

Python
from libreyolo import LibreYOLO model = LibreYOLO("LibreVJEPA2l256-cls-ssv2.pt", device="cpu")# Replace with your video dataset YAML (train/val manifests of '<video-path> <class-id>' lines).model.train(data="path/to/your/video_dataset.yaml", epochs=1, device="cpu", workers=0)

Validate

Python
from libreyolo import LibreYOLO, SAMPLE_IMAGE model = LibreYOLO("LibreVJEPA2l256-cls-ssv2.pt", device="cpu")# Replace with your video dataset YAML; val() reads its val manifest of '<video-path> <class-id>' lines.metrics = model.val(data="path/to/your/video_dataset.yaml", workers=0)print(metrics)

Use the dataset format for this task. Validation explains the dataset requirements and returned metrics.

Export

TaskONNXTorchScriptExecuTorchTensorRTOpenVINOPaddleMNNRKNNncnnTFLiteCoreMLCore AI
EmbeddingsEmbeddings to ONNX: supportatoEmbeddings to TorchScript: supportatoEmbeddings to ExecuTorch: supportatoEmbeddings to TensorRT: supportatoEmbeddings to OpenVINO: supportatoEmbeddings to Paddle: non supportatoEmbeddings to MNN: non supportatoEmbeddings to RKNN: non supportatoEmbeddings to ncnn: non supportatoEmbeddings to TFLite: non supportatoEmbeddings to CoreML: non supportatoEmbeddings to Core AI: non supportato
ClassificationClassification to ONNX: supportatoClassification to TorchScript: supportatoClassification to ExecuTorch: supportatoClassification to TensorRT: supportatoClassification to OpenVINO: supportatoClassification to Paddle: non supportatoClassification to MNN: non supportatoClassification to RKNN: non supportatoClassification to ncnn: non supportatoClassification to TFLite: non supportatoClassification to CoreML: non supportatoClassification to Core AI: non supportato
Python
from libreyolo import LibreYOLO, SAMPLE_IMAGE model = LibreYOLO("LibreVJEPA2l256-embed.pt", device="cpu")model.export(format="onnx")

Export setup lists format dependencies and loading exported artifacts.

Checkpoints

Oggi tutti i file elencati sopra sono presenti nell<link>organizzazione LibreYOLO</link> e vengono scaricati al primo utilizzo.

Licensing

Controlla la licenza nel repository Hugging Face degli specifici pesi che scarichi. Ogni checkpoint nell<link>organizzazione LibreYOLO</link> ne include una e non è sempre la stessa per tutta la famiglia. Quel repository è la fonte autorevole; il riepilogo seguente descrive le condizioni applicabili al momento dellultima verifica di questa pagina.

Questa è una descrizione delle licenze coinvolte, non una consulenza legale. Se la risposta è importante a fini commerciali, leggi personalmente le licenze e chiedi una consulenza indipendente.

Lavoro originale
V-JEPA 2, Meta AI
Licenza upstream
MIT; Apache-2.0 for giant encoder artifacts
Codice LibreYOLO
MIT
Pesi
MIT; Apache-2.0 for giant encoder artifacts, ripubblicati su huggingface.co/LibreYOLO
Interpretazione
Licenses differ by artifact: the two giant encoder artifacts are Apache-2.0; the other mirrored encoders and classification probes are MIT.

Verificato con LibreYOLO v1.6.0. Le tabelle di supporto, i checkpoint e i dati dei benchmark in questa pagina vengono generati dalla libreria rilasciata e dai pesi pubblicati, non scritti a mano.

Architettura di V-JEPA 2

Scegli una variante o la vista della famiglia, poi un blocco per i dettagli. Apri il diagramma completo per ingrandire o scaricare SVG e PNG. I diagrammi sono in inglese.