transformer-visualized
Collection
Tiny 2-layer transformers and data behind an interactive transformer visualization. Site: https://burnycoder.github.io/transformer-visualized/ • 2 items • Updated
The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.
Seeded held-out splits used by transformer-visualized (https://burnycoder.github.io/transformer-visualized/). Each .npz holds tokens
(int64, [n, 24]) and the latent labels sent_idx, pos_in_sent, is_copy, copy_src. manifest.json lists the
SHA-256 hashes that were registered in the preregistration (git tag prereg-v1). Training data are generated on
the fly by src/tfviz/data.py from disjoint seeds and are therefore not stored.
| split | sequences | description |
|---|---|---|
| val | 10,000 | model selection, pilot, hand-crafted dials |
| test | 10,000 | confirmatory evaluation (used once per model) |
| ood_rand | 2,000 | BOS + 11 distinct random words, repeated |
| ood_shuffled | 2,000 | sentences with shuffled words; copies repeat the shuffled sentence |
| examples | 64 | samples for the web app |