A developer needs to create a prompt for a language model to determine if a given sentence is grammatically sound. The prompt design requires presenting the sentence first, followed by a direct question, and finally, clear instructions that restrict the model's output to one of two predefined words, with each word's meaning explicitly defined. Which of the following prompts best adheres to this design for the sentence 'The cat sat on the mat quickly.'?
0
1
Tags
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Improving Prompt Reliability for Automated Text Checking
A developer needs to create a prompt for a language model to determine if a given sentence is grammatically sound. The prompt design requires presenting the sentence first, followed by a direct question, and finally, clear instructions that restrict the model's output to one of two predefined words, with each word's meaning explicitly defined. Which of the following prompts best adheres to this design for the sentence 'The cat sat on the mat quickly.'?
A developer is creating a 'sentence-first' prompt to have a language model judge the grammatical correctness of a sentence. Arrange the following components into the correct structural order for this type of prompt.