Learn Before
Prompt Expansion via Edit Operations
An alternative approach during the prompt expansion step is to define specific edit operations, such as insertions and modifications, at the token level. A new candidate prompt is generated by applying these defined operations to an existing prompt.
0
1
Tags
Foundations of Large Language Models
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
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