How to Build a Custom Evaluation Dataset for Local Model Testing
A custom evaluation dataset turns your own task into a repeatable test. Define the behavior, collect representative prompts, write reference answers or a rubric, validate samples by…
TAGGED GUIDES
Explore the guides, ideas, and practical explanations in this topic.
37 published articlesA custom evaluation dataset turns your own task into a repeatable test. Define the behavior, collect representative prompts, write reference answers or a rubric, validate samples by…
A WordPress RAG chatbot answers questions about your own content by retrieving relevant passages and passing them to a language model as context. A documented all-local stack…
Prompts and the workflows around them should be managed as versioned software artifacts, not as text files pasted into application code. This guide explains the mechanisms —…
RAG answers can look correct while the retriever quietly returns the wrong context. Evaluate the retrieval stage directly with recall@k, precision@k, and rank-aware metrics on a labeled…
A Modelfile is Ollama's blueprint for creating customized models. You can set a persistent system prompt with SYSTEM, adjust runtime defaults such as temperature and num_ctx with…
When a WordPress plugin calls a cloud AI API, your content leaves your server and is processed on infrastructure you do not control. The real risk depends…
Put a reverse proxy in front of your local AI server to enforce TLS and require an Authorization: Bearer token on every request. This guide covers the…
Evaluating hallucinations means checking each factual claim against a trusted source, then measuring how well your guardrail catches unsupported or contradicted claims. This guide covers a practical…
In llama.cpp, GPU layer offloading is controlled with -ngl, --gpu-layers, or --n-gpu-layers, which accepts an exact layer count, auto, or all. Ollama generally manages offloading automatically, so…
Local AI can translate WordPress in two ways: on-the-fly rendering of page content, or AI-assisted editing of gettext .po and .mo strings. This guide compares both models…
Model distillation trains a smaller student network to imitate a larger teacher, which makes it the only common compression technique that changes the architecture and requires a…
To measure hallucination rates in local summarization models, score each generated summary against its source document with a source-grounded detector such as Vectara HHEM-2.1, document your threshold,…