Learn Before
Adapting a Prompt Template for a New Task
A software development team currently uses a large language model for code generation with the template: /* Write a Python function that {*task_description*} */. They now need to adapt the model to perform a new, distinct task: identifying and explaining potential bugs in a given code snippet. Design a new, effective prompt template for this bug identification and explanation task. Your template should clearly define the input and instruct the model on the desired output format.
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
Creation in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Example of a Prompt Template for Machine Translation
A team has successfully implemented a system where a language model classifies customer reviews as 'Positive', 'Negative', or 'Neutral' using a specific instructional format:
Review: {*review_text*} Sentiment:. The team now wants to use the same language model for a completely different task: summarizing long articles into a single paragraph. Which of the following actions best demonstrates an understanding of how to adapt instructional formats for new tasks?Adapting a Prompt Template for a New Task
Evaluating a Prompt Template Adaptation Strategy