What sort of setups do people have that are bounded by the speed of the tokenizer?
Author here! In my case it's mostly pretraining experiments, where you might want to change your data mixture/filtering/processing of training data, and splits are usually done at a token-level instead of a text level. In this case we usually run for days on a huge number of CPUs to finish tokenizing something like DCLM. From what I can tell it's also useful for inference when considering time-to-first-token (TTFT) a…
GigaToken: ~1000x faster Language model tokenization
11–20 of 137 posts
Re: GigaToken: ~1000x faster Language model tokenization
#12What sort of setups do people have that are bounded by the speed of the tokenizer?
A massive speedup like this is a nice efficiency savings on some of these data pipelines for sure.
Re: GigaToken: ~1000x faster Language model tokenization
#13Re: GigaToken: ~1000x faster Language model tokenization
#14Re: GigaToken: ~1000x faster Language model tokenization
#15Earlier quoted context omitted.
Wait, since when does it matter whether something being hyper-optimized is useful? The computer going brrrr on an interesting problem is in itself the goal!
That's fair, I just figure there are useful scenarios as well. Apologies if I came off as dismissive!
Re: GigaToken: ~1000x faster Language model tokenization
#16What sort of setups do people have that are bounded by the speed of the tokenizer?
I have spent way too much time waiting 10-15 minutes tokenizing my training dataset only for the run to crash over some minor bug after that. (If I was smarter, I’d test on a smaller batch first.)
Re: GigaToken: ~1000x faster Language model tokenization
#17Re: GigaToken: ~1000x faster Language model tokenization
#18What sort of setups do people have that are bounded by the speed of the tokenizer?
Re: GigaToken: ~1000x faster Language model tokenization
#19Re: GigaToken: ~1000x faster Language model tokenization
#20Earlier quoted context omitted.
Author here! In my case it's mostly pretraining experiments, where you might want to change your data mixture/filtering/processing of training data, and splits are usually done at a token-level instead of a text level. In this case we usually run for days on a huge number of CPUs to finish tokenizing something like DCLM. From what I can tell it's also useful for inference when considering time-to-first-token (TTFT) a…
Can't you tokenize in preloading on demand?
In practice every training project I've worked on does tokenization in a separate data processing phase.