
Tribev2 Brain Encoding
This wraps Meta's TRIBE v2 model, which predicts fMRI brain responses to video, audio, and text using a combo of LLaMA 3.2, V-JEPA2, and Wav2Vec-BERT encoders mapped onto the cortical surface (fsaverage5, roughly 20k vertices). You'd use it for in-silico neuroscience work, like predicting which brain regions light up when someone watches a video or hears speech, without needing actual fMRI data. The inference API is clean: pass a video path, get back a timesteps-by-vertices array you can plot on a brain surface or slice by ROI. Training support is included if you have your own fMRI datasets. Fair warning, you'll need HuggingFace auth for LLaMA access and enough GPU memory, or fall back to CPU for small jobs.
- skills.sh installs
- 764
- GitHub stars
- 61
- last updated
- Jul 14, 2026
Install
$ npx -y skills add aradotso/trending-skills --skill tribev2-brain-encoding --agent claude-codeInstalls into .claude/skills of the current project.
Files
TRIBE v2 Brain Encoding Model
Skill by ara.so — Daily 2026 Skills collection
TRIBE v2 is Meta's multimodal foundation model that predicts fMRI brain responses to naturalistic stimuli (video, audio, text). It combines LLaMA 3.2 (text), V-JEPA2 (video), and Wav2Vec-BERT (audio) encoders into a unified Transformer architecture that maps multimodal representations onto the cortical surface (fsaverage5, ~20k vertices).
Installation
# Inference only
pip install -e .
# With brain visualization (PyVista & Nilearn)
pip install -e ".[plotting]"
# Full training dependencies (PyTorch Lightning, W&B, etc.)
pip install -e ".[training]"
Quick Start — Inference
Load pretrained model and predict from video
from tribev2 import TribeModel
# Load from HuggingFace (downloads weights to cache)
model = TribeModel.from_pretrained("facebook/tribev2", cache_folder="./cache")
# Build events dataframe from a video file
df = model.get_events_dataframe(video_path="path/to/video.mp4")
# Predict brain responses
preds, segments = model.predict(events=df)
print(preds.shape) # (n_timesteps, n_vertices) on fsaverage5
Sponsors
Details
- Repository
- github.com/aradotso/trending-skills
- First seen
- May 16, 2026
More from aradotso/trending-skills
All 251- Polymarket Arbitrage Bot762
- Polymarket Copy Trading Bot757
- Taiwan Equity Research Coverage755
- Torchcode Pytorch Interview Practice753
- Codex Session Patcher750
- Learn Docker K8s Game746
- Claude Better Cli744
- Ministack Aws Emulator743
- Wildworld Dataset739
- Phantom Ai Coworker729
- Kordoc Korean Document Parser727
- Claw Code Harness721
- Clawd Code Python Port714
- See Through Anime Layer Decomposition706
- Open Agent Sdk701
- Openclaude Multi Llm673
- Emdash Cms672
- Cc Gateway Ai Proxy668
- Open Multi Agent Orchestration665
- Pretext Text Measurement649
- Claude Code Source Recovery648
- Sheets Terminal Spreadsheet646
- Omnivoice Tts627
- Metatron Pentest Assistant602