Databricks Generative AI Engineer Associate Question 280
Single answerYou are tasked with selecting a Large Language Model (LLM) for a customer support chatbot that must handle thousands of daily queries with high accuracy and fast response times. The evaluation metrics provided include latency (lower is better), accuracy on domain-specific tasks (higher is better), and memory footprint (lower is better). Given the following quantitative evaluations for four LLMs, which one should you choose?
- Model A: Latency = 200ms, Accuracy = 85%, Memory Footprint = 8GB
- Model B: Latency = 150ms, Accuracy = 75%, Memory Footprint = 5GB
- Model C: Latency = 250ms, Accuracy = 90%, Memory Footprint = 10GB
- Model D: Latency = 180ms, Accuracy = 88%, Memory Footprint = 6GB
- A
Model A
- B
Model B
- C
Model C
- D
Model D
Show answer and explanation
Correct answer: D
Explanation
Model D is the best choice because it balances the key metrics of latency, accuracy, and memory footprint. While other models excel in some metrics, they fall short in others. Model D provides high accuracy (88%) while maintaining low latency (180ms) and a reasonable memory footprint (6GB), making it ideal for a customer support chatbot that requires fast, accurate, and resource-efficient responses.
- A. Incorrect.
Model A has good accuracy (85%) and a moderate memory footprint (8GB), but its latency of 200ms is higher than other options, making it less optimal for fast response times.
- B. Incorrect.
Model B has the lowest latency (150ms) and memory footprint (5GB), but its accuracy (75%) is significantly lower than the others, which makes it unsuitable for high-accuracy requirements.
- C. Incorrect.
Model C offers the highest accuracy (90%) but has the highest latency (250ms) and memory footprint (10GB), making it unsuitable for the requirement of fast responses and low resource usage.
- D. Correct.
Model D strikes a balance with low latency (180ms), high accuracy (88%), and a reasonable memory footprint (6GB), making it the best choice for the given requirements.