QA
Intermediate LevelAI, LLMs, Embeddings & MCP

What do core LLM Benchmarks (MMLU, GSM8K, HumanEval, MATH) evaluate?

❓ Interview Prompt: Explain standardized LLM benchmark evaluation suites, metrics, pass@1 scores, and data contamination risks.

Standardized benchmarks evaluate model capabilities across different domain tasks:

Core Benchmarks:

1
MMLU (Massive Multitask Language Understanding): 57 multiple-choice subjects (humanities, STEM, social sciences) testing general world knowledge.
2
GSM8K (Grade School Math 8K): 8,500 grade-school math word problems testing multi-step arithmetic reasoning.
3
HumanEval: 164 Python coding challenges measuring code synthesis correctness using pass@1 unit test execution.
4
MATH: Advanced high-school and competition math problems.

Contamination Warning:

If benchmark test questions leak into a model's pre-training data, benchmark scores become artificially inflated.

Code Implementation Example

typescript
// Pass@1 metric calculation concept
function calculatePassAtOne(testResults: boolean[]): number {
  const passed = testResults.filter(Boolean).length;
  return Number((passed / testResults.length * 100).toFixed(1));
}

console.log('HumanEval Pass@1 Score:', calculatePassAtOne([true, true, false, true]), '%'); // 75%
💡Calculating pass@1 metric score for coding benchmarks.
🎯 Interview Key Takeaway

MMLU measures general knowledge, GSM8K measures math reasoning, and HumanEval measures coding correctness via unit tests.

#Benchmarks#MMLU#GSM8K#HumanEval#Intermediate
Back to all AI, LLMs, Embeddings & MCP Questions→

More AI, LLMs, Embeddings & MCP Interview Questions

Beginner LevelAI, LLMs, Embeddings & MCP

What are Vector Embeddings and Cosine Similarity in AI Semantic Search?

Beginner LevelAI, LLMs, Embeddings & MCP

What is the Model Context Protocol (MCP) and how does it connect LLMs to external tools?

Beginner LevelAI, LLMs, Embeddings & MCP

What is Retrieval-Augmented Generation (RAG) and how does it prevent LLM hallucinations?