Learn Before
Formula for a Simple Prompt
A simple prompt, denoted as , can be formally expressed as a tuple containing an instruction, , and a user input, . This relationship is mathematically represented by the formula: .

0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Ch.4 Alignment - Foundations of Large Language Models
Related
Formula for a Simple Prompt
Deconstructing a Model's Input
Analyze the following prompt provided to a language model: 'Summarize the key points of the following text: Artificial intelligence is a branch of computer science that aims to create machines capable of intelligent behavior.' Which option correctly identifies the two primary structural components of this prompt?
Diagnosing a Flawed Prompt
Learn After
A language model is given a task where the instruction is 'Summarize the following text:' and the user's input is 'The sun is a star at the center of the Solar System.' If a complete prompt,
x, is formally represented as an ordered pair containing the instruction and the user input, which of the following correctly representsx?The formal expression for a simple prompt, denoted as
x, which contains an instructioncand a user inputz, is correctly written asx = c + z.In the formal expression for a simple prompt, represented as
x = (c, z), match each variable to its correct description.