Post
I wrote it because my boss nerd sniped me by saying "recent tokens in context are always much more important than old ones." I wanted to know if that was actually true. So far I think it _might_ be, but more testing required.
0 reposts23 likes
poloclub.github.io/transformer-... is a superb visual of the end-to-end GPT-2 architecture (modern architectures aren't _that_ different to this, so it's a good base).
poloclub.github.ioTransformer Explainer: LLM Transformer Model Visually ExplainedAn interactive visualization tool showing you how transformer models work in large language models (LLM) like GPT.
I noticed those two streaks through the heat map as well. My guess was that because it’s the global average of all layers and heads, maybe the only consistent pattern the model is paying attention to is the structure of the text. This is also v small model, mind, I doubt it extrapolates to big ones.