서우 AgentOffice
← 라이브러리
ai-research

Pyvene Interventions

원문: pyvene-interventions

Provides guidance for performing causal interventions on PyTorch models using pyvene's declarative intervention framework. Use when conducting causal tracing, activation patching, interchange intervention training, or testing causal hypotheses about model behavior.

무엇을 하나요

pyvene: Causal Interventions for Neural Networks pyvene is Stanford NLP's library for performing causal interventions on PyTorch models. It provides a declarative, dict based framework for activation patching, causal tracing, and interchange intervention training making intervention experiments reproducible and shareable. GitHub : [stanfordnlp/pyvene](https://github.com/stanfordnlp/pyvene) (840+ stars) Paper : [pyvene: A Library for Understanding and Improving PyTorch Models via Interventions](https://aclanthology.org/2024.naacl demo.16) (NAACL 2024) When to Use pyvene Use pyvene when you need to: Perform causal tracing (ROME style localization) Run activation patching experiments Conduct in

실행 시 본인 API 키(BYOK)로 동작하며, 모델 비용은 사용자 계정에서 직접 결제됩니다.