← Back to Week 10

Week 10: Introduction to Large Language Models

Knowledge Check — Select an answer to see immediate feedback.

Questions 10
Question 1

Which mathematical operation is at the core of the transformer self-attention mechanism?

Question 2

Early n-gram language models estimated the probability of a word given the previous n-1 words. What was a primary weakness of this approach compared to transformer-based LLMs?

Question 3

Scaling laws in deep learning describe a relationship between model performance and scale factors. Which of the following best describes this relationship?

Question 4

GPT-3 grew from GPT-1's 117 million parameters to 175 billion parameters. What primary capability did this dramatic increase in scale unlock?

Question 5

Masked language modeling (MLM), used in BERT, differs from causal language modeling (CLM), used in GPT, in what fundamental way?

Question 6

In the context of LLM pre-training, what technique involves discarding intermediate activations during the forward pass and recomputing them during backpropagation to reduce memory usage?

Question 7

"Hallucination" in an LLM refers to which of the following behaviors?

Question 8

In-context learning, few-shot learning, and zero-shot generalization differ in how much task information the prompt provides. A colleague asks an LLM to classify support tickets using only a written instruction — no example tickets, no labels, no demonstrations. Which setting is this?

Question 9

Google's PaLM architecture uses an approach called "Pathways." What distinguishes this approach from standard single-task model training?

Question 10

When a language model is about to predict the next word, it first builds a rich internal representation of everything it has read so far. What does this final internal state capture?