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.
15 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…
Evaluating a RAG system means scoring retrieval and generation separately against a frozen test set with known-good answers, then tracing each failure back to the stage that…
A local LLM evaluation harness runs a fixed set of prompts through a model on your own machine and scores the outputs automatically, so prompt or model…
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…
LLM-as-a-judge asks one model to score another model's output against a written rubric. It is the practical way to grade subjective qualities such as groundedness and helpfulness…
A prompt regression test suite combines a versioned JSONL prompt set, a deterministic scorer, a validated baseline, and a pass/fail gate. This guide walks through building one…
A repeatable AI test harness separates four parts—dataset, runner, scorers, and result store—so you can swap models, add checks, and compare runs without regenerating outputs. This guide…
A score difference is not a result until you test it. For two models evaluated on the same items, use McNemar's exact test on the items where…
Benchmarking hallucination rates on local models means choosing a test family, pinning your environment, and scoring fabrication separately from abstention. Two small MIT-licensed harnesses make this runnable…
Evaluating a local RAG pipeline means scoring two separate things: whether the retriever returned the right chunks, and whether the generator produced a correct, grounded answer. The…
A golden dataset is a curated, versioned set of inputs with reviewed expected outputs or explicit pass criteria, used as the fixed reference you run before every…
Hallucinations are best handled as two linked tasks: measuring them with a labelled evaluation set, and reducing them with grounded retrieval plus an output guardrail. This guide…