Ross ROSS = Recommend OSS · open-source software intelligence for agents

TransformerLensOrg/TransformerLens

A library for mechanistic interpretability of GPT-style language models observed · 2026-08-28

github.com/TransformerLensOrg/TransformerLens · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

99/100

  • Activity 99
  • Release rhythm 99
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 10.5
  • age_days: 1468
  • days_rel: 11
  • days_push: 7
  • n_releases_24m: 41

Full methodology

Adoption not part of the score

3825 stars · 678 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

TransformerLens is a Python library for mechanistic interpretability of GPT-style transformer language models. It lets researchers load thousands of open-source models and inspect, cache, and edit internal activations via hooks as the model runs.

Use cases

  • inspect internal activations of transformer models
  • reverse engineer algorithms learned by language models
  • run activation patching experiments on GPT-2 style models
  • hook and edit model activations during a forward pass
  • study attention heads and circuits in LLMs
  • load HuggingFace models for interpretability research

When to choose

  • you want to analyze or edit internal activations of open-source language models
  • you're doing mechanistic interpretability research on transformers
  • you need hook-based access to model internals across many architectures

When to avoid

  • you just need to run inference or fine-tune models without inspecting internals
  • you need a production serving or deployment tool
  • you work with non-transformer model architectures

Facets

library · maturity active

machine-learning llm-inference developer-tools sdk machine-learning deep-learning large-language-models artificial-intelligence python cross-platform mechanistic-interpretability activation-caching hooking transformers explainability pytorch research gpu

2 sources

Member repositories

RepositoryRoleHealth v2
TransformerLensOrg/TransformerLensmain99

For agents

markdown · JSON · MCP: product_card(name="TransformerLensOrg/TransformerLens")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem