A foundation model of vision, audition, and language for in-silico neuroscience
Paper β’ 2605.04326 β’ Published
How to use vasanth009/vjepa2-vitg-fpc64-256-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir vjepa2-vitg-fpc64-256-mlx vasanth009/vjepa2-vitg-fpc64-256-mlx
MLX (fp16) conversion of facebook/vjepa2-vitg-fpc64-256 for fast video feature extraction on Apple Silicon.
Used by the TRIBE v2 Mac fork: vasanthsreeram/tribev2 with the brain encoding head facebook/tribev2.
| File | Description |
|---|---|
model.safetensors |
Encoder weights (fp16, MLX layout), ~1.9 GB |
config.json |
ViT-g encoder config (hidden=1408, 40 layers, β¦) |
AutoModel for facebook/vjepa2-vitg-fpc64-256 in fp32.convert_state_dict (Conv3d layout, QKV, etc.).encoder.* only (predictor dropped β not used by TRIBE).format=mlx metadata.mlp_ratio=48/11 to match HF (not integer 4).Full write-up: docs/MLX_CONVERSION.md in the code fork.
Against official torch TRIBE vision-only preds on a 1 s clip (same config):
hf download vasanth009/vjepa2-vitg-fpc64-256-mlx --local-dir mlx_weights/V-JEPA2-vitg-fpc64-256
# then in the tribev2 fork:
python demo_data/run_efficient.py your.mp4 --open
from tribev2.mlx_vjepa import encode_clip_frames, install_mlx_video_hooks
# requires vjepa2_mlx package for the encoder graph
Not affiliated with Meta. This is a community conversion for Apple Silicon inference.
Quantized
Base model
facebook/vjepa2-vitg-fpc64-256