Example

Example of Defining Answer Semantics for Grammaticality Judgment

A prompt can explicitly define the meaning of possible answers to guide a language model. For instance, in a grammaticality judgment task, the instructions might state: 'Yes = the following sentence is grammatically correct. No = it contains grammatical errors.' This clarification ensures the model understands the semantics of the expected 'Yes' or 'No' output.

0

1

Updated 2025-10-10

Contributors are:

Who are from:

Tags

Ch.2 Generative Models - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course