Learn Before
Formatting a Prompt with a Line Break
You are creating a prompt for a language model. You have an instruction, Classify the following text:, and the text to be classified, The weather is sunny today.. Construct a single string variable that will display these two pieces of text on separate lines, with the instruction on the first line and the text to be classified on the second.
0
1
Tags
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models
Computing Sciences
Foundations of Large Language Models Course
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A language model is provided with the input string:
Analyze the sentiment of the following sentence.\nSentence: The new product launch was a resounding success.Based on the special character in the string, which of the following best represents the formatted structure the model will process?Formatting a Prompt with a Line Break
Improving Prompt Readability