Analysis updated 2026-05-18
Study how a specific language model's internal numbers correspond to English concepts.
Verify the project's published results by re-running the frozen, checksummed artifacts.
Use the two-way dictionary as a reference for interpretability research on other models.
Learn a rigorous method for proving the limits of a model-explanation technique.
| wpferrell/babel-codec-gpt2 | autolearnmem/automem | billy-ellis/exr-imageio-poc | |
|---|---|---|---|
| Stars | 32 | 32 | 32 |
| Language | Python | Python | Python |
| Setup difficulty | hard | hard | moderate |
| Complexity | 5/5 | 5/5 | 3/5 |
| Audience | researcher | researcher | researcher |
Figures from each repo's GitHub metadata at analysis time.
Reproducing results requires a workstation GPU and familiarity with the paper's methodology and frozen artifact files.
This repository holds a research project called the BABEL codec, which tries to translate the inner workings of GPT-2, an older but well studied AI language model, into plain English descriptions a person can read. Neural networks like GPT-2 are usually described as black boxes: hundreds of millions of internal numbers shift as the model runs, and normally nobody can say what any individual number actually represents. This project attempts to build a two-way dictionary between those internal numbers and English words, for every part of the model, at every layer. The README describes three tests the project applies to its own claims. First, it checks whether the model's behavior can be rebuilt using only what the English dictionary reads out of it. Second, every one of the model's internal channels is checked to see whether it carries a clear English meaning or provably carries no meaning at all. Third, the process is tried in reverse: editing the English description and writing it back into the model to see if the model's behavior changes to match, the same way a person edited the words. According to the paper this repository accompanies, about 94.7 percent of the model's behavior could be reconstructed from this certified English dictionary, while the remaining 5.3 percent resisted every translation approach tried and only transfers in its original raw form. The README compares this work against other recent research projects with a similar goal, arguing that this one is more complete because it measures and proves its own limits rather than only demonstrating cases where the technique works. The repository includes the research paper itself, frozen data files representing the dictionary and its proofs, and files listing cryptographic checksums so that anyone can verify none of the results were altered after publication. This is a research artifact aimed at people already familiar with how language models and their internal states work, not a general purpose tool.
A research project that builds and certifies a two-way English translation of GPT-2's internal numerical state.
Mainly Python. The stack also includes Python, PyTorch, GPT-2.
The paper is released under CC BY 4.0, meaning it can be shared and reused with credit to the authors, license terms for the code itself are not fully described in the shown README.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.