Constructing a One-Shot Grammar Correction Prompt
You want a language model to correct the grammatical error in the sentence: "The cat layed on the mat." To guide the model, you decide to provide a single, complete example of a different grammar correction. Construct a complete and effective one-shot prompt that includes a demonstration and the new sentence to be corrected.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Creation in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A user wants a language model to act as a grammar corrector. They provide the model with the text below. Analyze this text and identify the primary reason it may fail to guide the model effectively.
Your task is to correct grammatical errors.
Example Input: "He go to the store yesterday."
Correct this sentence: "She like to reads books."
A user wants to guide a language model to correct grammatical errors by providing a single, complete example of the task before giving it a new sentence. Arrange the following components into the most effective and logical sequence for this purpose.
Constructing a One-Shot Grammar Correction Prompt