AI and LLMs · Junior · Question 35 of 75

Which check is reliable for an LLM that must return a category from a fixed list?

Show the answer

Correct answer: Assert the output is exactly one of the allowed values

Explanation

Classification tasks have clear right answers, so accuracy against labelled examples works well.

Further reading

Problem with a question

AI and LLMs · Junior · question 35

Test yourself

Take the AI and LLMs · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz