Official
データサイエンスとML
Interprets and manipulates neural network internals across local and remote massive-scale models using the nnsight library and NDIF.
nnsight provides a unified interface for mechanistic interpretability, allowing developers and researchers to inspect, save, and modify the internal activations of any PyTorch-based model. Its standout feature is the ability to run the same code on local small-scale models or remotely on foundation models like Llama-3.1-405B via the National Deep Inference Facility (NDIF). This democratizes access to massive model internals without requiring local high-end GPU clusters, making it essential for AI safety research, circuit analysis, and model steering.
主な機能
01Unified tracing API compatible with any PyTorch architecture
02Real-time activation patching and intervention capabilities
0313 GitHub stars
04Deferred execution model for efficient gradient-based analysis
05Remote execution on 70B+ and 405B models via NDIF integration
06Cross-prompt activation sharing within a single tracing context
ユースケース
01Investigating internal reasoning steps and circuits in massive foundation models
02Scaling mechanistic interpretability experiments from local prototypes to production-scale models
03Performing activation patching to identify specific model behaviors and biases