Explaining the LLM Prediction Game Idea
Introduction: Welcome to the LLM Prediction Game
Welcome to the first lesson of our course on building the LLM Prediction Game! In this course, you will learn how to create a fun, interactive word game powered by a Large Language Model (LLM), such as GPT-4. The main idea is simple: you will try to predict which word the LLM will say next in response to a prompt.
This lesson will give you a clear understanding of how the game works, what makes it unique, and the key concepts behind its design. By the end, you’ll be ready to start building the game step by step in the following lessons.
What Is a Large Language Model (LLM)?
Before we dive into the game, let’s quickly recall what a Large Language Model (LLM) is. If you’ve seen this before, consider this a quick refresher.
A Large Language Model is a type of artificial intelligence that can generate human-like text. It does this by predicting the next word in a sentence based on the words that came before. For example, if you give an LLM the prompt:
The model will likely predict the next word as “Paris.” LLMs are trained on huge amounts of text data, so they can answer questions, write stories, and even play games.
Game Overview: The Daily LLM Prediction Challenge
Now, let’s look at the main idea of the LLM Prediction Game.
Each day, the game presents you with a new prompt and a simulated assistant’s response. The response is shown one word at a time, just like watching someone type. At three points during the response, the game pauses and asks you to guess what the next word will be.
For example, imagine the prompt is:
As the assistant’s answer is revealed word by word, you might see:
At this point, the game pauses and asks you to guess the next word. You might guess “France” The game then checks how close your guess is to the actual next word and gives you a score.
This process repeats for three different points in the response. At the end, your total score is shown, and you can see how you compare to other players on a leaderboard.
Game Flow: Step-By-Step Walkthrough
