{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "zorost-ai-engineering-lab--fine-tune-and-evaluate-in-the-course",
 "repo": "zorost/AI-Engineering-Lab",
 "repo_url": "https://github.com/zorost/AI-Engineering-Lab",
 "repo_slug": "zorost-ai-engineering-lab",
 "title": "Learn LoRA and DPO fine-tuning with an evaluation harness",
 "page_title": "How to learn LoRA and DPO fine-tuning with an evaluation harness with AI Engineering Lab",
 "summary": "Work through the course's fine-tuning and evaluation material on the same freight case study.",
 "who": "An engineer who can call LLM APIs but has never fine-tuned or evaluated a model properly.",
 "problem": "Fine-tuning tutorials skip evaluation, so you cannot tell if the tuned model is better.",
 "outcome": "A model fine-tuned with LoRA or DPO and measured with an evaluation harness on the course's data.",
 "steps": [
  "Set up the repo and complete week 1 so the freight dataset exists",
  "Use the curriculum index to find the quantization and fine-tuning weeks",
  "Run the notebooks for LoRA and DPO fine-tuning",
  "Build the evaluation harness the course pairs with them",
  "Compare base and tuned models on the same evaluation set"
 ],
 "agent_prompt": "Guide me through the fine-tuning and evaluation weeks of zorost/AI-Engineering-Lab: explain the LoRA and DPO notebooks, run them on the freight dataset, and help me read the evaluation harness results.",
 "agents": [
  "claude-code",
  "cursor"
 ],
 "difficulty": "Intermediate",
 "time": "1 week",
 "basis": "readme",
 "caveat": "No GPU is needed for the first eight weeks; later weeks may need one or a cloud notebook.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "jupyter notebook",
 "requirements": [
  "A computer you can install software on",
  "Git installed, to run the clone command",
  "Python installed, with pip available",
  "About ten hours a week and basic computer literacy",
  "No prior Python, GPU, or paid API key is required"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/zorost-ai-engineering-lab/fine-tune-and-evaluate-in-the-course/",
 "md": "https://dedupedai.com/use-cases/zorost-ai-engineering-lab/fine-tune-and-evaluate-in-the-course/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/zorost-ai-engineering-lab--fine-tune-and-evaluate-in-the-course.json",
 "api_version": "v1"
}
