Practice
1. For a fine-tuning pipeline using RLHF, which metric is most appropriate to evaluate the alignment of model outputs with human preferences?
easy
Solution
Step 1: Understand the purpose of RLHF
RLHF aims to align model outputs with human preferences, which is best evaluated by a reward score reflecting human feedback.Step 2: Eliminate wrong options
A: Accuracy is too generic. B: Precision is for binary classification. D: F1 Score is for balance between precision and recall, not alignment.Final Answer:
Option B -> Option BQuick Check:
Reward Score reflects human feedback. [OK]
Hint: Reward Score reflects human feedback. [OK]
Common Mistakes:
2. In the context of a Guardrails System for LLMs, which component is primarily responsible for detecting inappropriate content in user-generated text?
easy
Solution
Step 1: Identify the role of each component
The content filtering module is designed to detect and filter inappropriate content.Step 2: Eliminate wrong options
Data augmentation is for enhancing training data, model training is for learning patterns, and user feedback loop is for improving system iteratively.Final Answer:
Option B -> Option BQuick Check:
Content filtering detects inappropriate content. [OK]
Hint: Content filtering detects inappropriate content. [OK]
Common Mistakes:
3. In a search ranking system, which component is primarily responsible for determining the relevance of a document to a query?
easy
Solution
Step 1: Identify the role of each component
The ranking algorithm is responsible for determining the relevance of documents to a query.Step 2: Eliminate wrong options
Indexing module organizes data, query parser interprets queries, and crawler collects data.Final Answer:
Option B -> Option BQuick Check:
Ranking algorithm determines relevance. [OK]
Hint: Ranking algorithm determines relevance. [OK]
Common Mistakes:
4. As the user base scales 10x, which component of a DLRM-based CTR prediction system is most likely to become a bottleneck?
hard
Solution
Step 1: Consider scaling effects on components.
Embedding tables grow with user and feature diversity.Step 2: Eliminate wrong options.
Preprocessing (A) and inference (B) scale with compute resources. Storage (D) is less critical than real-time constraints.Final Answer:
Option D -> Option DQuick Check:
Embedding tables grow with scale. [OK]
Hint: Embedding tables grow with scale. [OK]
Common Mistakes:
5. As the number of LLMs evaluated increases tenfold, which component of the evaluation system is most likely to fail first?
hard
Solution
Step 1: Analyze scalability of components
Human evaluators are a bottleneck as scaling requires more human resources.Step 2: Eliminate wrong options
Data storage and processing power can be scaled with infrastructure, and task diversity is not a direct scalability issue.Final Answer:
Option A -> Option AQuick Check:
Human evaluators are the bottleneck in scaling. [OK]
Hint: Human evaluators are the bottleneck in scaling. [OK]
Common Mistakes:
