AI Engineer DojoAll lessons  Courses
Free lesson · The AI Evaluation Engineer · Lesson 2

Does Your Test Set Look Like Your Users?

Your team is about to launch a general-purpose chat assistant, and the plan is to test it on MT-Bench: 80 well-written English questions, ten in each of eight categories. Before anyone trusts those results, you've been asked a simple question: does that test look anything like what real users will send? You'll answer it with 60,000 real conversations, and then build a better test set.

How this lesson works

You'll predict what real traffic looks like, read and label real messages yourself, then measure the whole dataset and build a test set from it. Plan on about an hour. Step 5 uses a little arithmetic.

The data

WildChat is a public dataset from the Allen Institute for AI. People used a free chatbot built on ChatGPT and agreed to have their conversations published for research. Personal details were removed, and conversations flagged as toxic were taken out of this release. This lesson uses the first of the dataset's 14 files: 59,857 conversations from 9 April to 4 May 2023.

These are real messages from real people, unedited. For Step 2 we drew 24 English conversations at random and read each one. Four were left out: two because of sexual content that the dataset's own filters missed, and two because they repeated a message already in the set. The first reason is worth knowing: automatic safety labels miss things, so people have to read what they show others.

Source: Zhao et al., 2024, "WildChat: 1M ChatGPT Interaction Logs in the Wild." Dataset: allenai/WildChat-1M on Hugging Face, ODC-BY. MT-Bench questions: LMSYS, FastChat.

Step 1

Guess what real traffic looks like

MT-Bench questions are all in English, all between 10 and about 260 words, clearly worded, and each has one follow-up. Now picture the messages a free, public chatbot receives every day.

Commit first
Share of conversations not in English: %
Of English first messages, the share that are 5 words or fewer: %
Of English first messages, the share over 300 words: %
Of English first messages, the share that are copies of a template (the same opening as 20 or more other messages): %
The single most common English opening is probably:

Data: WildChat-1M, Allen Institute for AI, ODC-BY (first of 14 files). Zhao, W. et al. (2024). WildChat: 1M ChatGPT Interaction Logs in the Wild. ICLR. MT-Bench questions from LMSYS FastChat.