Language models & retrieval
Size trade-offs in small LLMs and how the local retrieval half fits together.
2 posts
The whole retrieval half of RAG fits in a tab: an embedding model, a vector index and a cross-encoder reranker. How the three stages connect, what each one weighs, and why swapping the embedding model means rebuilding the index from scratch.
Our llm category runs from TinyLlama at 681 MiB to Llama-3 8B at 4.2 GB. Every generated token reads the whole weight set, so size sets the speed, and that is what we check first when picking a tier.