Databricks Generative AI Engineer Associate Question 73
Select 3You are tasked with fine-tuning a language model to summarize articles. Which of the following prompt/response pairs align with the model's task?
- A
Prompt: 'Summarize this article: The economic growth in 2023...'; Response: 'In 2023, the economy showed significant growth driven by technology and innovation.'
- B
Prompt: 'Translate this text to French: How are you?'; Response: 'Comment ça va?'
- C
Prompt: 'Summarize the following story: Once upon a time...'; Response: 'The story describes a hero's journey to defeat a dragon and save the village.'
- D
Prompt: 'What is the capital of France?'; Response: 'Paris.'
- E
Prompt: 'Summarize this research paper: This study explores...'; Response: 'The paper examines the impact of climate change on polar bear habitats.'
Show answer and explanation
Correct answers: A, C, E
Explanation
The goal of a summarization task is to condense content (e.g., articles, stories, or research papers) into concise summaries that capture the main ideas. Options 1, 3, and 5 involve summarization, while options 2 and 4 involve unrelated tasks like translation and factual question answering.
- A. Correct.
This prompt/response pair is aligned with the summarization task, as it involves condensing an article's content into a summary.
- B. Incorrect.
This prompt/response pair is not aligned with the model's summarization task because it involves translation, which is a different task.
- C. Correct.
This prompt/response pair is aligned with the summarization task, as it condenses a story's content into a concise summary.
- D. Incorrect.
This prompt/response pair is not aligned with the model's summarization task because it involves answering a factual question rather than summarizing content.
- E. Correct.
This prompt/response pair is aligned with the summarization task, as it involves condensing a research paper's content into a summary.