Databricks Generative AI Engineer Associate Question 76
Select 3You are tasked with fine-tuning a generative AI model to summarize news articles. Which of the following prompt/response pairs are appropriate for this task?
- A
Prompt: 'Summarize this article: [Article Text]' Response: 'This article discusses the economic impact of inflation on global markets in 2023.'
- B
Prompt: 'Write a poem about the ocean.' Response: 'The ocean, vast and blue, whispers secrets to the shore.'
- C
Prompt: 'Summarize this article: [Article Text]' Response: 'The main points of the article are summarized as follows: increased inflation, reduced consumer spending, and rising interest rates.'
- D
Prompt: 'What is the capital of France?' Response: 'The capital of France is Paris.'
- E
Prompt: 'Summarize this article: [Article Text]' Response: 'This article covers advancements in artificial intelligence, including breakthroughs in natural language processing and computer vision.'
Show answer and explanation
Correct answers: A, C, E
Explanation
A valid prompt/response pair for a summarization task involves a prompt asking for a summary of an article and a response that concisely captures the key points of the article. Options 1, 3, and 5 align with this requirement as the responses are appropriate summaries of the respective articles. Options 2 and 4, on the other hand, involve tasks unrelated to summarization, such as creative writing or question answering, making them unsuitable for the specified task.
- A. Correct.
This is a valid prompt/response pair for the model task as the response provides a concise summary of the article content.
- B. Incorrect.
This is not a valid prompt/response pair for the summarization task because the task involves summarizing an article, not generating creative content like poems.
- C. Correct.
This is a valid prompt/response pair for the model task as the response aligns with the summarization objective by listing key points from the article.
- D. Incorrect.
This is not a valid prompt/response pair as it does not align with the summarization task. Instead, it corresponds to a question-answering task.
- E. Correct.
This is a valid prompt/response pair for the model task as the response summarizes the key content of the article effectively.