Transformer Debugger (TDB) is a research tool developed by OpenAI’s Superalignment team to investigate and interpret the behaviors of small language models. It combines automated interpretability methods with sparse autoencoders, enabling researchers to analyze how specific neurons, attention heads, and latent features contribute to a model’s outputs. TDB allows users to intervene directly in the forward pass of a model and observe how such interventions change predictions, making it possible to answer questions like why a token was selected or why an attention head focused on a certain input. It automatically identifies and explains the most influential components, highlights activation patterns, and maps relationships across circuits within the model. The tool includes both a React-based neuron viewer for exploring model components and a backend activation server for running inferences and serving data.

Features

  • Investigates behaviors of small language models with interpretability tools
  • Intervenes in the forward pass to test effects on outputs
  • Identifies and explains neuron, attention head, and latent activations
  • Provides a React-based neuron viewer for interactive exploration
  • Includes an activation server and inference hooks for GPT-2 models
  • Offers collated activation datasets for deeper analysis

Project Activity

See All Activity >

Categories

AI Models

License

MIT License

Follow Transformer Debugger

Transformer Debugger Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Transformer Debugger!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python, TypeScript

Related Categories

Python AI Models, TypeScript AI Models

Registered

2025-10-03