Hacker News new | ask | show | jobs
by yorwba 522 days ago
I don't mean switching to one byte per token, but switching to training on the token distribution that results from cutting off the input at arbitrary bytes. The bytes per token should be basically unchanged, as only the end gets a bit shorter.
1 comments

Yeah I've tried that approach. The model ends up needing to learn every combination of tokens. For example, the word "apple" now has six bytes positions it can be split on and the model suddenly needs to learn that all six will yield the same output attention state.

It ends up being O(max token length) more complex and so you end up needing a proportionally larger model to accommodate it.

Seems like we should just use gradual annealing of tokens to more fine grained single character tokens over the course of training then
I believe that's similar to the idea behind https://github.com/facebookresearch/blt