Placeholder in Prompt Templates
In the context of Large Language Models, a prompt template can include a placeholder, which is a variable element designed to be replaced with specific content. For instance, in a template for a grammaticality judgment task, {*sentence*} can be used as a placeholder where the actual sentence to be evaluated is inserted.
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
Related
Examples of Prompt Templates for Grammaticality Judgment
Example of a Prompt for Grammaticality Judgment
A developer is using a large, pre-trained language model, which excels at generating text continuations, to determine if a given sentence is grammatically correct. Which of the following approaches best describes how this task, traditionally a binary classification problem (correct/incorrect), is adapted for this type of model?
Adapting Grammaticality Judgment for Generative Models
Implementing a Grammar Checker with a Generative LLM
Example of a Sentence-First Prompt for Grammaticality Judgment with Answer Options
Example of a Constraint-First Prompt for Grammaticality Judgment
Learn After
Examples of Prompt Templates for Grammaticality Judgment
Example of Instantiating a Placeholder in a Grammaticality Judgment Prompt
Example of a Prompt for Grammaticality Judgment
A developer is building a system that uses a language model to summarize news articles. They need to create a single, reusable instruction that can work for any article provided by a user. Which of the following options correctly uses a placeholder to create such a flexible template?
Creating a Reusable Prompt Template
Match each term related to creating dynamic instructions for a language model with its correct description.
Examples of Prompt Templates for English-to-Chinese Translation
Example of a Sentence-First Prompt for Grammaticality Judgment with Answer Options
Example of a Constraint-First Prompt for Grammaticality Judgment