Learn Before
Concept

Components of an Instruction-based Prompt

An instruction-based prompt is structured with key components to guide a large language model. It typically begins with a task description that outlines the objective, such as defining the task and the set of possible labels. It also uses indicators, like 'Input' and 'Polarity', to clearly demarcate the provided text and to signal where the output should be placed. The model is then expected to generate the correct label as a text completion that follows the output indicator.

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