Learn Before
Concept

Classification via Cloze Task Reframing

A method for performing classification with Large Language Models is to reframe the task as a cloze task, or a 'fill-in-the-blank' problem. This involves structuring a prompt so that the model's task is to complete the text by generating the most appropriate word. In an ideal scenario, the word generated by the model would be one of the predefined class labels, such as 'positive,' 'negative,' or 'neutral'.

0

1

Updated 2025-10-07

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related