Concept

Defining Answer Format and Semantics in Prompts

To control the output of a language model, a prompt can include explicit instructions that specify the desired answer format and define the meaning of each possible response. For a grammaticality judgment task, this could involve instructing the model to answer only with 'Yes' or 'No', and clarifying that 'Yes' confirms the sentence is grammatically correct, while 'No' indicates it contains grammatical errors.

0

1

Updated 2026-04-19

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences