Course Wiki

Module 4: Evaluation — LLM Zoomcamp

Lessons, materials, and key concepts for module 4 of LLM Zoomcamp.

LLM Zoomcamp > Module 4: Evaluation

Module 4: Evaluation

This module covers systematic evaluation for search, RAG, and agent systems.

We generate ground truth data with an LLM. Then we measure performance with Hit Rate, MRR, and LLM-as-a-judge.

Part 1: Search Evaluation

Part 1 creates a ground truth dataset and uses it to evaluate retrieval quality.

  1. Intro - Why evaluation matters, offline vs online
  2. Generating Ground Truth - Structured output for one document
  3. Generating Ground Truth for All Documents - Batch generation, cost, and prepared data
  4. Search Evaluatio

Lessons

LessonVideo
Evaluationvideo
Generating Ground Truth Datavideo
Generating Ground Truth for All Documentsvideo
Search Evaluationvideo
Search Evaluation Metricsvideo
Search Parameter Tuningvideo
RAG and Agent Evaluationvideo
Generating RAG Answersvideo
LLM as a Judgevideo
Agent Evaluationvideo
Next Stepsvideo

Key concepts

Homework and deadlines live in the course repository: llm-zoomcamp.

Other modules in this course


DataTalks.Club. Hosted on GitHub Pages. Built with Rustkyll. We use cookies.