Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ToValueFunfetti
· 2y ago · 0 comments
The number of tokens depends on context; if you just entered 'egregious' it will have broken it into three tokens, but with the whole query it's one.
Comments
[–]
fuzztester
2y ago
Why three tokens, not one?
[–]
317070
2y ago
without the leading space, it is not common enough as a word to have become a token in its own right. Like the vast majority of lowercase words, in OpenAIs tokenizer you need to start " egregious" with a space character for the single token.