Skip to content

Releases

InterpLens v0.1.0 • Initial Public Release

Choose a tag to compare

@sarimahsan sarimahsan released this 15 Aug 18:20

🚀 InterpLens v0.1.0

First official release of InterpLens — an interactive mechanistic interpretability toolkit and visual debugger for LLM internals.

Highlights:

  • 🔍 Logit Lens Engine: $W_U$ projection, prediction entropy dynamics, and KL divergence drift.
  • 🌊 Residual Stream Inspector: $L_2$ vector energy norms, cosine drift heatmaps, and PCA trajectories.
  • 🕸️ Attention Head Explorer: $N \times N$ attention matrices and automated Induction Head detection.
  • ⚡ Neuron Activations & Attribution: Top-firing MLP neuron rankers and prompt token activation strips.
  • 🎯 Causal Patching & Activation Steering: ROME activation swaps and real-time residual stream vector steering.
  • 🛡️ Adaptive Fallbacks (L0–L4): Zero-copy GPU memory attach and graceful degradation across model architectures.
  • 🌐 Documentation & Visual Workbench: Integrated documentation portal and web debugger UI.

Author: Syed Sarim Ahsan (Undergrad AI Researcher)