Refining a Prompt for Grammaticality Judgment
A data scientist is using a large language model to check sentences for grammatical errors but is getting inconsistent and overly verbose responses. Their current prompt is provided below. Rewrite the prompt to improve its clarity and guide the model more effectively by first stating the core task as a direct question, then specifying the required answer format, and finally providing the sentence to be analyzed.
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
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Refining a Prompt for Grammaticality Judgment
You are designing a prompt to ask a language model to judge the grammatical correctness of a sentence. Arrange the following components into the correct 'question-first' structure.
A specific method for asking a language model to evaluate a sentence's grammar involves a three-part structure: 1) The direct question is asked. 2) Instructions for the desired output format are given. 3) The sentence to be judged is provided. Which of the following prompts correctly applies this specific three-part structure?