Learn Before
Example of a Prompt for LLM-based Prompt Expansion
To instruct a Large Language Model to perform a prompt expansion operation, one can provide a template such as: Below is a prompt for an LLM. Please provide some new prompts to perform the same task. Input: *prompt*. This instructs the model to generate new variations of an existing prompt to be added to the candidate pool.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Computing Sciences
Foundations of Large Language Models Course
Related
Example of a Prompt for LLM-based Prompt Expansion
Iterative LLM-Based Prompt Search
A team is using an automated process to discover a high-performing prompt for a text summarization task. They begin with an initial set of prompts:
C = {'Summarize the following text for me.', 'Give me the main points of this article.'}. They then apply a single 'expansion' operation, which uses a large language model to generate a new set of candidate prompts based on the ones inC. Which of the following best represents a plausible output set from this single expansion operation?The Role of Expansion in Prompt Diversity
Expansion Function in Search Algorithms
Troubleshooting a Prompt Optimization Process
Prompt Expansion via Edit Operations
Prompt Expansion via Feedback
Prompt Paraphrasing
Learn After
A developer has an effective prompt for generating Python code that sorts a list of numbers. To explore other ways to ask for the same outcome, they want to use a language model to generate alternative prompts. Which of the following instructions to the model is best suited for this specific goal?
Constructing a Prompt for Expansion
A researcher has a prompt that successfully extracts key findings from scientific articles: "Identify the main conclusion from the following abstract." To improve their workflow, they want to use a language model to generate a diverse set of alternative prompts for this task. Which of the following instructions to the model would be most effective at generating prompts that vary significantly in their phrasing and approach?