In this course, you will use Python to quantify the next-word predictions of large language models (LLMs) and understand how these models assign probabilities to text. You'll compare raw scores from LLMs, transform them into probabilities, and explore uncertainty measures like entropy. You'll also build n-gram language models, handle unseen words, and interpret log probabilities to avoid numerical underflow.

By the end of this course, you will be able to evaluate entire sentences for their likelihood, implement your own model confidence checks, and decide when and how to suggest completions for real-world text applications.

You are required to have completed the following course or have equivalent experience before taking this course:

  • LLM Tools, Platforms, and Prompts
 

How It Works

Course Length
2 weeks

Effort
6 to 8 hours of study per week

Format
100% online, instructor-led
  • Engineers
  • Developers
  • Analysts
  • Data scientists
  • AI engineers
  • Entrepreneurs
  • Data journalists
  • Product managers
  • Researchers
  • Policymakers
  • Legal professionals
Get It Done 100% Online
Our programs are expressly designed to fit the lives of busy professionals like you.

Learn From cornell's Top Minds
Courses are personally developed by faculty experts to help you gain today's most in-demand skills.

Power Your career
Cornell's internationally recognized standard of excellence can set you apart.

Request Information Now by completing the form below.

Act today—courses are filling fast.