Quantization Choices for Local LLMs: Q4_K_M vs Q5_K_M vs Q8_0
There is no universal best quantization format for local LLMs. Q4_K_M is the practical default for most users, Q5_K_M is the usual upgrade when Q4 quality feels…
TAGGED GUIDES
Explore the guides, ideas, and practical explanations in this topic.
35 published articlesThere is no universal best quantization format for local LLMs. Q4_K_M is the practical default for most users, Q5_K_M is the usual upgrade when Q4 quality feels…
An Ollama Modelfile is the plain-text blueprint that tells Ollama how to build and run a customized model. It combines a base model with a system message,…
A local model can check its own answers for hallucinations only when you give it a source to read. This guide covers the grounded-versus-open-world split, a five-step…
Evaluating hallucinations in a local model splits into two different problems: grounded checks against a source you supply, and open-world checks against reality. A small local model…
Local document summarization in Python splits into two practical routes: extractive scoring with TF-IDF or LexRank, which needs no language model and cannot hallucinate, and abstractive summarization…
Bulk writing with Ollama means one non-streaming request per prompt, orchestrated by your own script. Two documented patterns cover most needs: a simple sequential JSONL batch tool,…
A Modelfile is Ollama's blueprint for a customized model: it names the base model, sets runtime parameters, and injects a system prompt. This guide walks through writing…
A personal knowledge base with local AI and Obsidian combines a folder of plain Markdown notes, a local model runtime such as Ollama, and a plugin that…
Ollama can constrain a local model's reply to a JSON schema you supply, so responses arrive as parseable data instead of prose. This guide covers the difference…
You can diagnose most local model failures using metadata instead of message content: request IDs, model and runtime versions, token counts, retries, fallbacks, error categories, and hashes…
Open WebUI with Ollama is a two-part local AI stack: Ollama runs the models and Open WebUI supplies the browser interface. The project's own quick start treats…
At 4-bit quantization, budget roughly 2 GB for a 3B model, 5 GB for a 7–8B model, 8 GB for a 13–14B model, and 40 GB for…