Learn Before
Comparison of LLM-based Prompt Generation Methods for Initialization
When using a Large Language Model to generate an initial set of prompts, two main strategies can be employed. The first approach is to provide the LLM with a human-written description of the task, which is a direct method but is contingent on having such a description. An alternative strategy is to provide the LLM with input-output examples of the task, which allows the model to infer the prompt's purpose without needing a formal task description.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Manual Creation of Initial Prompts
LLM-based Prompt Generation from Input-Output Examples
LLM-based Prompt Generation from a Task Description
Comparison of LLM-based Prompt Generation Methods for Initialization
A development team is tasked with finding the optimal prompt for a novel and complex text classification task. They plan to use an automated, multi-stage process that repeatedly evaluates, refines, and generates new prompts. Given that the team has very little prior experience with what constitutes a good prompt for this specific task, which of the following actions is the most critical first step to ensure their automated search process is effective?
Starting a Prompt Optimization Project
An automated, iterative process is often used to discover effective prompts. Arrange the following fundamental stages of this process into the correct chronological order.
Learn After
Choosing an Initial Prompt Generation Strategy
A machine learning engineer is tasked with creating a set of initial prompts for a novel text summarization task. The goal is to summarize complex legal documents into plain language, a process for which a precise, formal description is challenging to write. However, the engineer has access to a large, curated dataset of several hundred legal documents and their corresponding expert-written plain-language summaries. Which initialization strategy would be most effective in this situation, and why?
Diagnosing Prompt Initialization Failure