You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NNsight_Walkthrough.ipynb
+18-6Lines changed: 18 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,23 @@
19
19
"\n",
20
20
"# **NNsight Walkthrough**\n",
21
21
"\n",
22
-
"## Interpret and Manipulate the Internals of Deep Learning Models\n",
22
+
"## The API for a transparent science on black-box AI\n",
23
23
"\n",
24
-
"**nnsight** is a Python library that gives you full access to the internals of neural networks during inference. Whether you're running models locally or remotely via [NDIF](https://ndif.us/), nnsight lets you:\n",
24
+
"In this era of large-scale deep learning, the most interesting AI models are\n",
25
+
"massive black boxes that are hard to run. Ordinary commercial inference service\n",
26
+
"APIs let us interact with huge models, but they do not let us access model\n",
27
+
"internals.\n",
25
28
"\n",
26
-
"- **Access activations** at any layer during forward passes\n",
27
-
"- **Modify activations** to study causal effects \n",
28
-
"- **Compute gradients** with respect to intermediate values\n",
29
-
"- **Batch interventions** across multiple inputs efficiently\n",
29
+
"The `nnsight` library is different: it provides full access to all neural\n",
30
+
"network internals. When using `nnsight` together with a remote service like the\n",
31
+
"[National Deep Inference Fabric](https://www.ndif.us)\n",
32
+
"(NDIF), it is possible to run complex experiments on huge open models easily\n",
33
+
"with fully transparent access.\n",
34
+
"\n",
35
+
"\n",
36
+
"Through NDIF and NNsight, our team wants to enable entire labs and independent researchers alike, as we\n",
37
+
"believe a large, passionate, and collaborative community will produce the next\n",
38
+
"big insights on this profoundly important field.\n",
30
39
"\n",
31
40
"This walkthrough will teach you nnsight from the ground up, starting with the core mental model and building to advanced features."
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,8 @@ Interpret and manipulate the internals of deep learning models
23
23
24
24
Originally developed in the [NDIF team](https://ndif.us/) at Northeastern University, nnsight supports local execution on any PyTorch model and remote execution on large models via the NDIF infrastructure.
25
25
26
+
> 📖 For a deeper technical understanding of nnsight's internals (tracing, interleaving, the Envoy system, etc.), see **[NNsight.md](./NNsight.md)**.
27
+
26
28
## Installation
27
29
28
30
```bash
@@ -448,9 +450,11 @@ For more debugging tips, see the [documentation](https://www.nnsight.net).
448
450
449
451
---
450
452
451
-
## More Examples
453
+
## More Resources
452
454
453
-
Find more examples and tutorials at [nnsight.net](https://www.nnsight.net)
455
+
-**[Documentation](https://www.nnsight.net)** — Tutorials, guides, and API reference
456
+
-**[NNsight.md](./NNsight.md)** — Deep technical documentation on nnsight
457
+
-**[CLAUDE.md](./CLAUDE.md)** — Comprehensive guide for AI agents working with nnsight
0 commit comments