Technology
4-bit Small Language Models & Model Optimisation
A technical overview of SLMs, quantisation, trade-offs and local deployment.
Small Language Models and 4-bit quantisation
Small Language Models (SLMs) have far fewer parameters than frontier models, so they fit on modest hardware. Quantisation stores weights in fewer bits; at 4-bit, weight memory is roughly one quarter of 16-bit.
4-bit quantisation can reduce memory needs, but does not guarantee identical accuracy or speed across models and hardware.
Formats and methods
| Name | What it is |
|---|---|
| GPTQ | Post-training weight quantisation using second-order information, layer by layer. |
| AWQ | Activation-aware weight quantisation that protects the most important weights. |
| GGUF | A file format used by llama.cpp; includes several 4-bit schemes such as Q4_K variants, suited to CPU and mixed CPU/GPU inference. |
| NF4 (bitsandbytes) | 4-bit data type commonly used for memory-efficient fine-tuning and inference. |
Trade-offs to evaluate
- Accuracy: measure on your own tasks, including Indian-language tasks.
- Latency and throughput: depend on kernels, hardware and batch size.
- Memory: include KV cache and runtime overhead, not just weights.
- Hardware support: not every device accelerates 4-bit equally.
Namma Web does not publish model benchmarks or hardware results on this page. Any such claims will be added only with supporting evidence.
Partner With Namma Web
Tell us about your institution, programme or project. We respond to every enquiry.