Re:GigaToken: ~1000x faster Language model tokenization
by lostmsu on Wednesday July 22, 2026 @02:13PM
(#49011043)
Can't you tokenize in preloading on demand?
[ Parent
| on HN ]
Re:GigaToken: ~1000x faster Language model tokenization
by marcelroed on Wednesday July 22, 2026 @02:52PM
(#49011648)
You can, but this usually results in sequences with padding/truncation, since you won't know how many tokens your inputs map to before you actually tokenize them. This also makes shuffling difficult.
In practice every training project I've worked on does tokenization in a separate data processing phase.