flâneur — a map of the web's best reading

Exploratory Analysis Demo - TransformerLens Documentation

transformerlensorg.github.io · 14,069 words · saved by 1 readers

This notebook demonstrates how to use the TransformerLens library to perform exploratory analysis. The notebook tries to replicate the analysis of the Indirect Object Identification circuit in the Interpretability in the Wild paper. If running in Google Colab, go to Runtime > Change Runtime Type and select GPU as the hardware accelerator. Look up unfamiliar terms in the mech interp explainer You can run all this code for yourself The graphs are interactive Use the table of contents pane in the sidebar to navigate (in Colab) or VSCode’s “Outline” in the explorer tab. Collapse irrelevant sections with the dropdown arrows Search the page using the search in the sidebar (with Colab) not CTRL+F You can ignore this part: It’s just for use internally to setup the tutorial in different environments. You can delete this section if using in your own repo. We turn automatic differentiation off, to save GPU memory, as this notebook focuses on model inference not model training. Some plotting helpe

Exploratory Analysis Demo ¶ This notebook demonstrates how to use the TransformerLens library to perform exploratory analysis. The notebook tries to replicate the analysis of the Indirect Object Identification circuit in the Interpretability in the Wild paper. Tips for Reading This ¶ If running in Google Colab, go to Runtime > Change Runtime Type and select GPU as the hardware accelerator. Look up unfamiliar terms in the mech interp explainer You can run all this code for yourself The graphs are interactive Use the table of contents pane in the sidebar to navigate (in Colab) or VSCode’s “Outli

Explore this link on the map →

related reading