SKILL

mechanistic-interpretability-nnsight

提供使用 nnsight 解释和操纵神经网络内部结构的指导,可选通过 NDIF 远程执行。当需要在没有本地 GPU 资源的情况下对超大模型(70B+)运行可解释性实验,或处理任何 PyTorch 架构时使用。

机器翻译
查看英文原文

Provides guidance for interpreting and manipulating neural network internals using nnsight with optional NDIF remote execution. Use when needing to run interpretability experiments on massive models (70B+) without local GPU resources, or when working with any PyTorch architecture.

适用对象:学习与科研。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • nnsight: Transparent Access to Neural Network Internals
  • Key Value Proposition
  • When to Use nnsight
  • Installation
  • Core Concepts
  • LanguageModel Wrapper
  • Tracing Context
  • Proxy Objects

nnsight (/ɛn.saɪt/) enables researchers to interpret and manipulate the internals of any PyTorch model, with the unique capability of running the same code locally on small models or remotely on massive models (70B+) via NDIF. GitHub: ndif-team/nnsight (730+ stars) Paper: NNsight and NDIF: Democratizing Access to Foundation Model Internals (ICLR 2025) Write once, run anywhere: The same interpretability code works on GPT-2 locally or Llama-3.1-405B remotely. Just toggle remote=True. Use nnsight when you need to: Run interpretability experiments on models too large for local GPUs (70B, 405B) Work with any PyTorch architecture (transformers, Mamba, custom models) Perform multi-token generation interventions Share activations between different prompts Access full model internals without reimplementation Consider alternatives when: You want consistent API across models → Use TransformerLens You need declarative, shareable interventions → Use pyvene You're training SAEs → Use SAELens You only work with small models locally → TransformerLens may be simpler For remote NDIF execution, sign up at login.ndif.us for an API key. The trace context manager enables deferred execution - operations

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
davila7/claude-code-templates
源文件
cli-tool/components/skills/ai-research/mechanistic-interpretability-nnsight/SKILL.md
固定版本
21be197f100a12b8d0dd9a211cc244c8179f84d3
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:davila7/claude-code-templates · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-09T14:01:43.194Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

MIT。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。