News for hackers. Stuff that matters.
Re:Automatically Detecting Under-Trained Tokens in Large Lan... by sp332 on Sunday May 12, 2024 @08:21AM (#40333852)
Sure, but if your corpus is very large, that's not feasible.
Re:Automatically Detecting Under-Trained Tokens in Large Lan... by swhan on Sunday May 12, 2024 @08:54AM (#40334039)
Tokenizer training doesn't scale as well as model training, so general practice is to train on a subset of the full corpus.
Re:Automatically Detecting Under-Trained Tokens in Large Lan... by kacperlukawski on Sunday May 12, 2024 @10:48AM (#40334925)
Why is that an issue? Training the tokenizer seems much more straightforward than training the model as it is based on the statistics of the input data. I guess it may take a while for massive datasets, but is calculating the frequencies impossible to be done on a bigger scale?
Re:Automatically Detecting Under-Trained Tokens in Large Lan... by ubutler on Sunday May 12, 2024 @10:13AM (#40334651)
I’ve trained tokenizers on medium-sized datasets (+5GB of text, although that could be considered small or large depending on who you ask) and have always found training quite fast. As in, it takes a couple minutes.

Maybe if we’re talking terabytes it might not scale as well but so far in my experience training tokenizers has never been an issue. It’s training models that takes ages.