
Tribev2 Brain Encoding
Loads Meta's TRIBE v2 model to predict fMRI cortical responses to video, audio, and text stimuli.
- skills.sh installs
- 764
- GitHub stars
- 98
- last updated
- Jul 14, 2026
What it does
- Covers inference from pretrained weights, multimodal event building, brain surface visualization, and training from scratch on Slurm
- Includes
TribeModelAPI calls, ROI masking on the fsaverage5 surface, and batch prediction over multiple videos - Requires LLaMA 3.2 access approval on HuggingFace before running the text encoder
- Designed for neuroscience researchers modeling naturalistic stimuli against fMRI data on fsaverage5 (~20k vertices)
Install
$ npx -y skills add reason-machines/trending-skills --skill tribev2-brain-encoding -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/reason-machines/trending-skills
- Categories
- Research & Academic, Data Science & Analytics
- First seen
- May 16, 2026
More from reason-machines/trending-skills
All 163- 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
Similar to Tribev2 Brain Encoding
More Research & Academic
MNE-MCPMCP serverexekiel17914 starsNeurophysiology analysis for EEG, MEG, sEEG, ECoG, and fNIRS recordings via MNE-Python.
multimodalPluginOrchestra-Research/AI-Research-SKILLs14.6K starsVision, audio, and multimodal models including CLIP, Whisper, LLaVA, BLIP-2, Segment Anything, Stable Diffusion, AudioCraft, Cosmos Policy, OpenPI, and OpenVLA-
nv-generate-mr-brainSkillnvidia/skills1.8K installsSynthetic brain MRI volume generator wrapping NV-Generate-CTMR, not for production training data.
nv-generate-mr-brain-finetuneSkillnvidia/skills1.8K installsFinetunes the NV-Generate-CTMR MR-Brain v1 diffusion UNet from user-supplied NIfTI volumes with a preflight mode.
mirofish-offline-simulationSkillreason-machines/trending-skills1.3K installsFully local swarm simulation that predicts public reaction to documents using Neo4j and Ollama.
wildworld-datasetSkillreason-machines/trending-skills739 installsLarge-scale action-conditioned world modeling dataset of 108M+ frames from a photorealistic ARPG game.