Measuring and improving LLM accuracy for structured outputs

Overview
Curriculum
Reviews

This course explores techniques for measuring and improving the accuracy of Large Language Models (LLMs) when generating structured outputs.

Students will learn to evaluate and compare the performance of GPT and Gemini models across different data types including numerical values, dates, and boolean values. The curriculum covers practical implementation with hands-on exercises in data extraction, accuracy measurement, and result comparison.

Special emphasis is placed on using explanation-based approaches to enhance model responses and streamline annotation processes. By the end of the course, participants will understand how to effectively assess LLM accuracy and implement strategies for obtaining more reliable structured outputs.

Curriculum

  • 6 Sections
  • 31 Lessons
  • 0m Duration
Expand All
Introduction
4 Lessons
  1. Is this meme still true?
  2. About this course
  3. Why not use client libraries?
  4. The best dataset for learning about structured LLM outputs
Getting started
3 Lessons
  1. Install libraries
  2. Set environment variables
  3. Download Jupyter notebook
Numerical values
6 Lessons
  1. Exploring numerical values in the dataset
  2. Extracting numerical values using Gemini
  3. Measuring Gemini accuracy for numerical values
  4. Extracting numerical values using GPT
  5. Measuring GPT accuracy for numerical values
  6. Comparing GPT and Gemini accuracy for numerical values
Date values
6 Lessons
  1. Exploring date values in the dataset
  2. Extracting date values using Gemini
  3. Measuring Gemini accuracy for date values
  4. Extracting date values using GPT
  5. Measuring GPT accuracy for date values
  6. Comparing GPT and Gemini accuracy for date values
Boolean Values
6 Lessons
  1. Exploring boolean values in the dataset
  2. Extracting boolean values using Gemini
  3. Measuring Gemini accuracy for boolean values
  4. Extracting boolean values using GPT
  5. Measuring GPT accuracy for boolean values
  6. Comparing GPT and Gemini accuracy for boolean values
Why use an Explanation
6 Lessons
  1. Downsides of using the Explanation class
  2. Explanation provides a future reference
  3. Explanation can speed up annotation for spaCy Prodigy
  4. Explanation can provide more accurate responses
  5. Better responses: an example
  6. What we can infer from the quality of GPT and Gemini explanations
0 out of 5

0 user ratings

×

Free Lesson Videos:

Deleting Course Review

Are you sure? You can't restore this back

Course Access

This course is password protected. To access it please enter your password below: