Learn Before
Concept

Cloze Task Reframing for LLM-based Classification

A key method for inducing specific output labels from a Large Language Model (LLM) is to reframe the classification problem as a cloze task. This approach structures the prompt in a way that constrains the model's response, effectively forcing it to generate a word or phrase that corresponds to a predefined label. This can be implemented through prompts with a literal blank for completion or through 'cloze-like' instructional prompts that guide the model toward a specific output format.

0

1

Updated 2026-05-02

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