NNsight and NDIF: Democratizing Access to Foundation Model Internals
<|reference_start|>NNsight and NDIF: Democratizing Access to Foundation Model Internals: The enormous scale of state-of-the-art foundation models has limited their accessibility to scientists, because customized experiments at large model sizes require costly hardware and complex engineering that is impractical for most researchers. To alleviate these problems, we introduce NNsight, an open-source Python package with a simple, flexible API that can express interventions on any PyTorch model by building computation graphs. We also introduce NDIF, a collaborative research platform providing researchers access to foundation-scale LLMs via the NNsight API. Code, documentation, and tutorials are available at https://www.nnsight.net.<|reference_end|>
@article{fiotto-kaufman2024nnsight,
    title={NNsight and NDIF: Democratizing Access to Foundation Model Internals},
    author={Jaden Fiotto-Kaufman, Alexander R Loftus, Eric Todd, Jannik Brinkmann,
  Caden Juang, Koyena Pal, Can Rager, Aaron Mueller, Samuel Marks, Arnab Sen
  Sharma, Francesca Lucchetti, Michael Ripa, Adam Belfki, Nikhil Prakash,
  Sumeet Multani, Carla Brodley, Arjun Guha, Jonathan Bell, Byron Wallace,
  David Bau},
    journal={arXiv preprint arXiv:2407.14561},
    year={2024},
    archivePrefix={arXiv},
    eprint={2407.14561},
    primaryClass={cs.LG cs.AI}
}