3 ms·
There are lots ways to make LLMs more efficient: - Pruning - Distillation - Sparse transformers - Mixture or experts - Quantizations My understanding is t
by WhitneyLand 3y ago
There are lots ways to make LLMs more efficient:
- Pruning
- Distillation
- Sparse transformers
- Mixture or experts
- Quantizations
My understanding is that none of these are free and they all come with various trade offs.
For example MOE lets Mistral beat similarly sized models, and the inference performance stays close (only an incremental increase). But the training time is way more than a typical 7B model.
But which of these approaches gives the most bang for the buck?
Also consider it’s not either/or many of these techniques can be combined.
And maybe worst of all, some of the testing that can be done to find out doesn’t give the same answer with smaller/toy models.
- rolisz 3y agoMistral MOE model is 8*7B parameters, so you should compare training time to similar sized models, not to 7B ones.
- versteegen 3y agoMixtral 8x7B actually has 46.7B total parameters, not 8*7B = 56B. The reason being that not all parameters are multiplied 8x. Also it uses 12.9B parameters per token, not quite comparable to 7B models.
- 29athrowaway 3y ago- Fast Feedforward Networks - Lookahead decoding