Practice
1. In the context of LLM evaluation systems, which component is responsible for providing a standardized set of tasks to assess model performance?
easy
Solution
Step 1: Identify the role of each component
Benchmarks provide standardized tasks for evaluation.Step 2: Eliminate wrong options
Human evaluation involves subjective assessment, LLM-as-Judge uses models to evaluate, and data preprocessing is unrelated to task standardization.Final Answer:
Option A -> Option AQuick Check:
Benchmarks standardize tasks for fair comparison. [OK]
Hint: Benchmarks standardize tasks for fair comparison. [OK]
Common Mistakes:
2. In a spam detection system, which feature is most likely to be effective in identifying spam emails?
easy
Solution
Step 1: Identify effective features for spam detection
Keywords like 'free', 'win', or 'prize' are often used in spam emails.Step 2: Eliminate less effective features
Email length (A) and time of day (D) are not strong indicators of spam. Sender's domain (C) can be spoofed.Final Answer:
Option B -> Option BQuick Check:
Keywords often signal spam. [OK]
Hint: Keywords often signal spam. [OK]
Common Mistakes:
3. In a visual search system using image embeddings, which component is responsible for transforming images into a fixed-size vector representation?
easy
Solution
Step 1: Identify the role of each component
The image embedding model is responsible for converting images into vector representations.Step 2: Eliminate wrong options
ANN index is for searching, serving layer is for delivering results, and database storage is for storing data.Final Answer:
Option C -> Option CQuick Check:
Embeddings come from the embedding model. [OK]
Hint: Embeddings come from the embedding model. [OK]
Common Mistakes:
4. In a RAG system, when should you prefer a dense retriever over a sparse retriever?
medium
Solution
Step 1: Understand retriever types.
Dense retrievers are better for large, diverse corpora as they can capture semantic meaning more effectively.Step 2: Eliminate wrong options.
Sparse retrievers are more interpretable and efficient for small, domain-specific corpora.Final Answer:
Option D -> Option DQuick Check:
Dense for large, diverse data. [OK]
Hint: Dense for large, diverse data. [OK]
Common Mistakes:
5. In a visual search system, what is a likely failure mode if the image embedding model is not properly trained?
medium
Solution
Step 1: Identify the impact of poor embeddings
Poorly trained embeddings lead to inaccurate retrieval because the vector representations don't capture image semantics well.Step 2: Eliminate wrong options
Latency, storage, and downtime are not directly affected by embedding quality.Final Answer:
Option B -> Option BQuick Check:
Poor embeddings = poor retrieval. [OK]
Hint: Poor embeddings = poor retrieval. [OK]
Common Mistakes:
