What is Small language model?
In Turkish: Küçük dil modeli (SLM) · Topic: Core concepts
A type of language model with far fewer parameters than a large language model, small enough to run on ordinary hardware such as a phone or laptop.
How does it work?
Small language models are trained on text and predict the next token, just like their larger siblings; the difference is scale. They usually have a few billion parameters or fewer. To perform well, they tend to rely on carefully curated, high-quality training data. Developers also use compression techniques such as distillation, where a small model learns from a larger one, and quantization. The result may trail big models in general knowledge but can be good enough for a specific task.
Why does it matter?
Small models are cheaper and faster, and they can run without an internet connection. Because data can stay on the device, they also offer privacy advantages. For companies, a small model tuned to a narrow job is often a more sensible choice than a very large one.
Example
Microsoft's Phi and Google's Gemma families are examples of small language models, the kind that can summarize messages directly on a phone.
FAQ
What is the difference between a small and a large language model?
They work in the same basic way. The difference lies in the number of parameters, and therefore in the memory and computing power required. Large models offer broader knowledge and skills, while small ones are lighter and cheaper.
Is a small model always worse than a large one?
On broad, general tasks it usually falls behind. But when trained for a narrow, well-defined task it can compete with a large model while running faster and at lower cost.