Example

Example of a Prompt for Classification via Completion

A simple prompting method for classification involves concatenating the input text with a cue phrase to form a complete prompt. For example, the input 'I love the food here. It’s amazing!' can be combined with 'I’m' to create the prompt: 'I love the food here. It’s amazing! I’m'. The model's generated completion is then used to determine the classification.

Image 0

0

1

Updated 2026-05-02

Contributors are:

Who are from:

Tags

Ch.1 Pre-training - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Related