The mechanism underneath every technique that follows. Tokens and why position in the window matters, the instructions and examples a model is given, the sampling settings that decide how much the same prompt varies, and the prompt patterns that survive contact with a real workload.
A housing association holds 200 support policies, each running to about 1,500 words. An engineer proposes placing all of them in the window of a model that accepts 200,000 tokens, on the grounds that 300,000 words of policy is a small library and the window is large. Working from the published ratio of about four characters of English to a token, what does the arithmetic show?
AAbout 225,000 tokens, since a token is about three quarters of a word and three quarters of 300,000 words is 225,000, so the policies overflow by roughly an eighth.
BAbout 400,000 tokens, since 1,500 words is roughly 2,000 tokens and 200 policies at 2,000 tokens each is 400,000, which is twice the whole window before anything else is counted.
CAbout 300,000 tokens, since English runs to roughly one token a word once punctuation and spacing are counted in, so the policies overflow by half.
DThe policies fit, since the input and the generated answer are counted against separate limits and only the answer has to stay inside the 200,000.