How Far Apart Does a Model Think Its Tokens Are?

·LessWrong··

Instead of using static position increments (+1) per token, RoPE-based language models can learn per-token and per-layer position increments. This has no detectable effect on model performance but allows us to see what the model thinks the distance is between each position and how this varies per-layer.Example sentence with each character plotted based on per-layer learned position increments. Note the clear punctuation-based boundaries in L0 and what looks like concept-based grouping in L3.I th...

Read full article →

Related Articles

Anthropic S-1
SiNTEx · Hacker News · 1d ago
Police are using AI to pull over drivers for 'suspicious' behavior
gumby · Hacker News · 16h ago
Git for the US Code
alansaber · Hacker News · 7h ago
Python's experimental JIT to be removed
f311a · Hacker News · 21h ago
Solar power is becoming bigger than nuclear
geox · Hacker News · 1d ago