Post

What do LLMs see? I wrote a lil' tool that extracts the attention matrices out of open models and creates this typing visual, with each token's opacity changing according to its average attention score as the prompt progresses. Dimmer words are considered less important to the model.

Beautiful visualization! First token is an attention sink as expected, the visualization may be clearer with that first token score excluded from the shading calc.

0 reposts0 likes

No replies yet.