Show HN: Fully client-side GPT2 prediction visualizer
perplexity.vercel.app
I've found it particularly useful for
- Understanding exactly how repetition and patterns affect a small LM's ability to predict correctly
- Understanding different tokenization patterns and how it affects model output
- Getting a general sense of how "hard" different prediction tasks are for GPT-style models
Known problems (that I probably won't fix, since this was a kind of one-off project)
- Doesn't work well with Unicode grapheme clusters that are multiple GPT-2 tokens (e.g. emoji, smart quotes)
- Support for other models (maybe later?)