openai/transformer-debugger

Transformer Debugger is a tool for investigating and understanding the internal behavior of small language models through interactive exploration and...

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 42 minutes ago
Added to GitGenius on September 16th, 2026
Created on March 11th, 2024
Open Issues & Pull Requests: 11 (+0)
GitHub issues: Enabled
Number of forks: 242
Total Stargazers: 4,123 (+0)
Total Subscribers: 28 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 0
New in 7 days: 0
Closed in 7 days: 0
Avg open age: N/A days
Stale 30+ days: 0
Stale 90+ days: 0

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Transformer Debugger is a tool for investigating and understanding the internal behavior of small language models through interactive exploration and automated interpretability techniques.

The tool addresses the challenge of understanding why language models make specific predictions or attend to particular tokens. It combines automated interpretability methods with sparse autoencoders to identify which model components—neurons, attention heads, and autoencoder latents—drive particular behaviors. Users can intervene in the forward pass to observe how changes affect model outputs, and the tool automatically generates explanations of what causes identified components to activate. By tracing connections between components, it helps discover the circuits underlying model decisions.

The tool suits researchers and practitioners investigating model behavior in small language models, particularly those studying mechanistic interpretability. It is designed for rapid exploration without requiring custom code, making it accessible to those new to interpretability work. The release includes a React-based neuron viewer for interactive exploration, a backend activation server that performs inference and serves precomputed data, a simple inference library for GPT-2 models and their autoencoders, and collated activation datasets showing top-activating examples for model components.

Development activity shows consistent maintenance with validation processes in place for changes, including test execution, type checking, and functional verification of core features. The project maintains organized documentation covering terminology and setup procedures, with clear separation between frontend and backend components that allows independent development and deployment.