Start Here
Small Language Models: Why Smaller Can Be Smarter
Smaller models can run on phones and laptops, with more privacy and lower cost. When they are enough.
Not every job needs a giant model. Small language models have fewer parameters and need less memory. Wikipedia says they are often described as having fewer than about forty billion parameters, but that line is not fixed, and "small" is relative: GPT-3 had 175 billion.
A real example
Microsoft's Phi-3 report describes phi-3-mini, a model with 3.8 billion parameters, trained on 3.3 trillion tokens. The authors say it scores 69% on a test called MMLU, which they compare with models such as Mixtral 8x7B and GPT-3.5, and that it is small enough to be deployed on a phone. These are the authors' own results, so treat them as a claim to compare, not a final ranking.
Benefits
- They need less memory, so some can run on a laptop or phone.
- If the model runs on your own device, your text does not have to be sent to a server.
- Smaller models cost less to run. See how language models run on computers.
Trade-offs
Large models can encode more information, which Wikipedia says can improve the accuracy of their answers. A small model has less room for that. Phi-3's authors also describe making up for it by using carefully filtered training data, which shows that data quality matters, not only size. See how big is a language model.
Good uses
Short and simple jobs, such as fixing grammar or answering simple questions. Check the results.