1. Home
  2. Explore
  3. Computer Science
  4. Language Models from Scratch

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Language Models from Scratch

  • 51Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Course Motivation and History

Why did the instructors create this course on building language models from scratch?

51 questions

  1. 1

    Why did the instructors create this course on building language models from scratch?

    1. A

      To enable fundamental research by ensuring researchers understand the full stack, because abstractions are leaky.

    2. B

      To replace other NLP courses that focus only on prompting and fine-tuning.

    3. C

      To compete with frontier labs by training a GPT-4 class model in class.

    4. D

      To provide a simple way for students to prompt existing models more effectively.

    Correct answer
    A

    To enable fundamental research by ensuring researchers understand the full stack, because abstractions are leaky.

    Explanation

    The lecture states that abstractions are leaky and that fundamental research requires co-designing across data, systems, and models. The course aims to enable that understanding.

  2. 2

    According to the lecture, what are the three types of knowledge the course can teach?

    1. A

      Architecture, training, and deployment, with full coverage.

    2. B

      Data curation, scaling laws, and alignment, each in depth.

    3. C

      Mechanics, mindset, and intuitions, but intuitions can only be partially taught.

    4. D

      Theory, programming, and evaluation, all fully covered.

    Correct answer
    C

    Mechanics, mindset, and intuitions, but intuitions can only be partially taught.

    Explanation

    The lecture specifies mechanics (fully teachable), mindset (teachable), and intuitions (only partially teachable because small-scale results may not transfer to large scale).

  3. 3

    What does the plot showing attention vs. MLP flop fraction across model sizes illustrate?

    1. A

      The ratio is constant for all transformer models.

    2. B

      MLPs become less important as models scale up.

    3. C

      Small models are not representative of large models in terms of where compute is spent.

    4. D

      Attention always dominates compute regardless of model size.

    Correct answer
    C

    Small models are not representative of large models in terms of where compute is spent.

    Explanation

    The lecture uses this plot as an example of how small-scale observations (attention and MLP flops comparable) differ from large-scale (MLPs dominate), showing that small models may mislead.

  4. 4

    What is the correct interpretation of the 'bitter lesson' according to the lecture?

    1. A

      Hardware improvements are the only driver of progress.

    2. B

      Scale alone is all that matters; algorithms are irrelevant.

    3. C

      The lesson is that research is futile because scale always wins.

    4. D

      Algorithms at scale matter; efficiency is crucial because it compounds with large compute budgets.

    Correct answer
    D

    Algorithms at scale matter; efficiency is crucial because it compounds with large compute budgets.

    Explanation

    The lecture refutes the misconception that scale is all that matters, arguing that algorithmic efficiency is more important at larger scales due to cost constraints.

  5. 5

    What was a key limitation of Google's 2007 n-gram models compared to modern language models?

    1. A

      They were trained on fewer tokens than GPT-3.

    2. B

      They did not exhibit emergent behaviors like in-context learning.

    3. C

      They used tokenization that was not reversible.

    4. D

      They could only handle English text.

    Correct answer
    B

    They did not exhibit emergent behaviors like in-context learning.

    Explanation

    The lecture notes that despite having more tokens than GPT-3, n-gram models lacked the interesting phenomena (like in-context learning) seen in modern LMs.

  6. 6

    Which of the following best describes the role of OpenAI in the development of language models?

    1. A

      They were the first to train neural language models in 2003.

    2. B

      They applied a scaling mindset and skilled engineering to create GPT-2 and GPT-3.

    3. C

      They invented the transformer architecture in 2017.

    4. D

      They released the first open-source language model with full weights and data.

    Correct answer
    B

    They applied a scaling mindset and skilled engineering to create GPT-2 and GPT-3.

    Explanation

    The lecture credits OpenAI with taking existing ingredients and pushing scaling laws and engineering, leading to GPT-2 and GPT-3.

  7. 7

    What distinguishes an 'open source' language model from an 'open weight' model?

    1. A

      Open source models are trained on public data, while open weight models use proprietary data.

    2. B

      Open source models release both weights and data, while open weight models only release weights.

    3. C

      Open source models are free to use, while open weight models require a license.

    4. D

      Open source models have a smaller parameter count than open weight models.

    Correct answer
    B

    Open source models release both weights and data, while open weight models only release weights.

    Explanation

    The lecture defines three levels: closed (no details), open weight (weights available, but lacking data details), and open source (both weights and data are released).

  8. 8

    What is the primary reason character-based tokenization is inefficient?

    1. A

      The vocabulary size is large and many rare characters waste vocabulary slots.

    2. B

      It produces sequences that are too short for effective training.

    3. C

      It requires pre-tokenization with regular expressions.

    4. D

      It cannot handle Unicode characters.

    Correct answer
    A

    The vocabulary size is large and many rare characters waste vocabulary slots.

    Explanation

    The lecture explains that character-based tokenization assigns one token per code point, leading to a large vocabulary where rare characters are inefficiently allocated.

  9. 9

    What is the compression ratio of byte-based tokenization?

    1. A

      It is variable depending on the text.

    2. B

      1 byte per token, leading to long sequences.

    3. C

      1.6 bytes per token, optimal for modern GPUs.

    4. D

      1.5 bytes per token, similar to character-based.

    Correct answer
    B

    1 byte per token, leading to long sequences.

    Explanation

    The lecture states that byte-based tokenization has a compression ratio of 1 byte per token, which results in very long sequences.

  10. 10

    What is a key drawback of word-based tokenization?

    1. A

      It produces an unbounded vocabulary and introduces UNK tokens for unseen words.

    2. B

      It requires a large corpus to define the vocabulary.

    3. C

      It cannot handle punctuation and spaces.

    4. D

      It has poor compression ratio because words are often multi-byte.

    Correct answer
    A

    It produces an unbounded vocabulary and introduces UNK tokens for unseen words.

    Explanation

    The lecture notes that word-based tokenization suffers from unseen words requiring an UNK token, making it problematic.

  11. 11

    In BPE tokenization, how is the vocabulary expanded?

    1. A

      By repeatedly merging the most frequent adjacent pair of tokens and adding a new token to the vocabulary.

    2. B

      By randomly splitting words into subwords.

    3. C

      By appending tokens from a pre-defined list of common words.

    4. D

      By adding all character n-grams from the corpus.

    Correct answer
    A

    By repeatedly merging the most frequent adjacent pair of tokens and adding a new token to the vocabulary.

    Explanation

    The lecture describes BPE as starting with bytes and iteratively merging the most common pair, adding a new token ID for each merge.

  12. 12

    What is the initial vocabulary in the BPE algorithm described?

    1. A

      An empty set that grows during training.

    2. B

      All words from the corpus.

    3. C

      All 256 byte values (0-255).

    4. D

      All Unicode code points.

    Correct answer
    C

    All 256 byte values (0-255).

    Explanation

    The lecture explains that BPE begins with each byte as a token, so the initial vocabulary consists of integers 0-255.

  13. 13

    What is the purpose of pre-tokenization in the GPT-2 tokenizer?

    1. A

      To convert text to lowercase before applying BPE.

    2. B

      To remove punctuation and spaces to reduce vocabulary size.

    3. C

      To split text into segments using a regular expression, then run BPE within each segment.

    4. D

      To encode the text as bytes before merging.

    Correct answer
    C

    To split text into segments using a regular expression, then run BPE within each segment.

    Explanation

    The lecture mentions that GPT-2 uses a regex to break text into segments (like words and spaces) and then applies BPE on each segment for efficiency.

  14. 14

    What compression ratio does the GPT-2 tokenizer achieve according to the lecture?

    1. A

      0.6 bytes per token.

    2. B

      1.0 bytes per token.

    3. C

      1.6 bytes per token.

    4. D

      2.5 bytes per token.

    Correct answer
    C

    1.6 bytes per token.

    Explanation

    The lecture shows that for a sample string, the GPT-2 tokenizer yields approximately 1.6 bytes per token.

  15. 15

    How does encoding work in a trained BPE tokenizer?

    1. A

      The input is converted to bytes and then compressed using Huffman coding.

    2. B

      The input is processed through a neural network that predicts tokens.

    3. C

      The merges are replayed in the order they were learned during training.

    4. D

      The input is split by spaces and each word is mapped to its ID.

    Correct answer
    C

    The merges are replayed in the order they were learned during training.

    Explanation

    The lecture describes encoding as replaying the learned merges in order on the byte sequence to produce token IDs.

  16. 16

    Why is the basic BPE encoding algorithm considered inefficient?

    1. A

      It requires training a neural network for each tokenizer.

    2. B

      It loops over all merges for each encoding, even those that are no longer relevant.

    3. C

      It uses a recursive process that consumes too much memory.

    4. D

      It cannot handle texts longer than a few hundred bytes.

    Correct answer
    B

    It loops over all merges for each encoding, even those that are no longer relevant.

    Explanation

    The lecture notes that the naïve implementation loops over every merge, but optimization can skip merges that don't apply to the current sequence.

  17. 17

    What is the backbone architecture of most frontier language models today?

    1. A

      A mixture of experts (MoE) without attention.

    2. B

      The original transformer, with various improvements.

    3. C

      A recurrent neural network (RNN) with attention.

    4. D

      A state space model like Hyena.

    Correct answer
    B

    The original transformer, with various improvements.

    Explanation

    The lecture states that the transformer is the backbone of essentially all frontier models, with many incremental improvements.

  18. 18

    Which activation function is mentioned as an improvement over ReLU in transformers?

    1. A

      Tanh.

    2. B

      SwiGLU.

    3. C

      Sigmoid.

    4. D

      GeLU.

    Correct answer
    B

    SwiGLU.

    Explanation

    The lecture specifically mentions SwiGLU as a non-linearity that was adopted after the Noam paper, noting it works well without a clear explanation.

  19. 19

    What type of positional embedding is commonly used in modern transformers?

    1. A

      Learned absolute positional embeddings.

    2. B

      Relative positional embeddings based on attention bias.

    3. C

      Sinusoidal positional embeddings.

    4. D

      Rotary positional embeddings (RoPE).

    Correct answer
    D

    Rotary positional embeddings (RoPE).

    Explanation

    The lecture lists RoPE as one of the newer positional embeddings used in recent models.

  20. 20

    How does RMSNorm differ from LayerNorm?

    1. A

      RMSNorm applies a learnable scale and bias, while LayerNorm does not.

    2. B

      RMSNorm uses only the root mean square for normalization, without mean subtraction.

    3. C

      RMSNorm is computationally more expensive but yields better performance.

    4. D

      RMSNorm normalizes across the batch dimension instead of the feature dimension.

    Correct answer
    B

    RMSNorm uses only the root mean square for normalization, without mean subtraction.

    Explanation

    The lecture describes RMSNorm as similar to LayerNorm but simpler because it does not subtract the mean.

  21. 21

    What is a common approach to reduce the quadratic complexity of full attention?

    1. A

      Use sliding window attention or linear attention variants.

    2. B

      Train the model with fewer tokens.

    3. C

      Replace attention with convolutional layers.

    4. D

      Use a smaller model with fewer parameters.

    Correct answer
    A

    Use sliding window attention or linear attention variants.

    Explanation

    The lecture mentions that sliding window attention and linear attention are ways to avoid the quadratic blow-up.

  22. 22

    Which optimizer is most commonly used for training language models according to the lecture?

    1. A

      SGD with momentum.

    2. B

      Shampoo.

    3. C

      RMSProp.

    4. D

      AdamW.

    Correct answer
    D

    AdamW.

    Explanation

    The lecture states that AdamW (a variant of Adam) is still very prominent for training LMs.

  23. 23

    In assignment 1, what are students allowed to use for building the transformer?

    1. A

      Only numpy and custom CUDA kernels.

    2. B

      PyTorch, but not the built-in transformer module; only a specific set of allowed functions.

    3. C

      Pre-built transformer layers from Hugging Face.

    4. D

      Any deep learning framework including JAX and TensorFlow.

    Correct answer
    B

    PyTorch, but not the built-in transformer module; only a specific set of allowed functions.

    Explanation

    The lecture specifies that students can use PyTorch but cannot use the transformer implementation; there is a small list of allowed functions.

  24. 24

    What is the primary bottleneck in GPU computation according to the systems unit?

    1. A

      The number of floating-point operations per second.

    2. B

      The clock speed of the GPU cores.

    3. C

      Data movement between memory and compute units.

    4. D

      The size of the L2 cache.

    Correct answer
    C

    Data movement between memory and compute units.

    Explanation

    The lecture uses the warehouse/factory analogy to emphasize that data movement is the main bottleneck.

  25. 25

    What programming framework does the course use for writing custom GPU kernels?

    1. A

      Triton.

    2. B

      CUDA C.

    3. C

      OpenCL.

    4. D

      PyTorch's built-in kernel compiler.

    Correct answer
    A

    Triton.

    Explanation

    The lecture explicitly states they will use Triton, developed by OpenAI, for kernel implementation.

  26. 26

    Why is autoregressive decoding memory-bound?

    1. A

      Because the attention mechanism requires storing all previous keys and values.

    2. B

      Because generating one token at a time does not saturate the GPU's compute, and data movement dominates.

    3. C

      Because the model is too large to fit in GPU memory.

    4. D

      Because the decoding process involves many matrix multiplications.

    Correct answer
    B

    Because generating one token at a time does not saturate the GPU's compute, and data movement dominates.

    Explanation

    The lecture explains that during decode, the GPU is underutilized and constantly moving data, making it memory-bound.

  27. 27

    What is speculative decoding?

    1. A

      Training a model to predict multiple future tokens at once.

    2. B

      Using a smaller, cheaper model to generate candidate tokens that are then verified by the full model in parallel.

    3. C

      Using beam search to explore multiple decoding paths.

    4. D

      Skipping layers during inference to reduce computation.

    Correct answer
    B

    Using a smaller, cheaper model to generate candidate tokens that are then verified by the full model in parallel.

    Explanation

    The lecture describes speculative decoding as a technique where a cheap model scouts ahead, and the full model accepts or rejects candidates in parallel.

  28. 28

    What is the difference between data parallelism and tensor parallelism?

    1. A

      Data parallelism splits the model; tensor parallelism splits the data.

    2. B

      Data parallelism splits data across GPUs; tensor parallelism splits the model parameters.

    3. C

      Data parallelism is used for inference; tensor parallelism is for training.

    4. D

      Data parallelism requires model duplication; tensor parallelism requires data duplication.

    Correct answer
    B

    Data parallelism splits data across GPUs; tensor parallelism splits the model parameters.

    Explanation

    The lecture distinguishes data parallelism (data split) from model parallelism types like tensor parallelism (model split).

  29. 29

    What is an important practice emphasized in the systems unit?

    1. A

      Fusing all operations into a single kernel.

    2. B

      Benchmarking and profiling to identify bottlenecks.

    3. C

      Training models with FP32 precision for accuracy.

    4. D

      Always using the largest possible batch size.

    Correct answer
    B

    Benchmarking and profiling to identify bottlenecks.

    Explanation

    The lecture stresses the habit of benchmarking and profiling to understand performance.

  30. 30

    What is the prefill phase in inference?

    1. A

      Generating the first token using a greedy search.

    2. B

      Processing the entire prompt in parallel, similar to training.

    3. C

      Warming up the GPU kernels before actual decoding.

    4. D

      Prefetching the next batch of data from memory.

    Correct answer
    B

    Processing the entire prompt in parallel, similar to training.

    Explanation

    The lecture defines prefill as taking the prompt and running it through the model in parallel, like training time.

  31. 31

    In assignment 2, what type of model parallelism will students implement?

    1. A

      A baby version of model parallelism, not the full FSDP.

    2. B

      Fully sharded data parallelism (FSDP) from scratch.

    3. C

      No model parallelism; only data parallelism is required.

    4. D

      Pipeline parallelism across multiple nodes.

    Correct answer
    A

    A baby version of model parallelism, not the full FSDP.

    Explanation

    The lecture says they will implement a baby version of model parallelism because full FSDP is too complicated.

  32. 32

    What is the fundamental trade-off captured by scaling laws?

    1. A

      Training time versus inference time.

    2. B

      Number of layers versus hidden dimension.

    3. C

      Model size versus amount of training data given a fixed compute budget.

    4. D

      Data quality versus data quantity.

    Correct answer
    C

    Model size versus amount of training data given a fixed compute budget.

    Explanation

    The lecture frames scaling laws as determining the optimal model size for a given compute budget, balancing params and tokens.

  33. 33

    What does 'chinchilla optimal' refer to?

    1. A

      The optimal learning rate schedule for training large models.

    2. B

      The ideal number of GPUs for distributed training.

    3. C

      The optimal model size for a given compute budget, balancing parameters and training tokens.

    4. D

      The best tokenization strategy for a given dataset.

    Correct answer
    C

    The optimal model size for a given compute budget, balancing parameters and training tokens.

    Explanation

    The lecture mentions chimpanzee (chinchilla) optimal as referring to the compute-optimal training setup.

  34. 34

    According to the rule of thumb derived from scaling laws, how many tokens should a model of size N be trained on?

    1. A

      20 times N tokens.

    2. B

      0.05 times N tokens.

    3. C

      N tokens.

    4. D

      N squared tokens.

    Correct answer
    A

    20 times N tokens.

    Explanation

    The lecture states the rule: model size times 20 gives the approximate number of training tokens.

  35. 35

    What does scaling law optimization ignore according to the lecture?

    1. A

      Memory requirements.

    2. B

      Communication overhead.

    3. C

      Data preprocessing time.

    4. D

      Inference cost.

    Correct answer
    D

    Inference cost.

    Explanation

    The lecture explicitly mentions that scaling laws only consider training compute, not inference cost.

  36. 36

    In assignment 3, what is the student's primary objective?

    1. A

      Train a model to achieve the lowest perplexity on a fixed dataset.

    2. B

      Propose a new architecture that breaks the scaling law.

    3. C

      Implement a custom optimizer that improves scaling efficiency.

    4. D

      Given a flops budget, gather data from a training API, fit a scaling law, and predict hyperparameters for larger scale.

    Correct answer
    D

    Given a flops budget, gather data from a training API, fit a scaling law, and predict hyperparameters for larger scale.

    Explanation

    The lecture describes assignment 3 as using a training API to collect results, fit a scaling law, and submit predictions for a larger compute budget.

  37. 37

    What largely determines a language model's capabilities according to the data unit?

    1. A

      The training data it is trained on.

    2. B

      The number of GPUs used.

    3. C

      The optimizer and learning rate schedule.

    4. D

      The model architecture.

    Correct answer
    A

    The training data it is trained on.

    Explanation

    The lecture states that what the model does is mostly determined by the data.

  38. 38

    What is a major challenge with raw Common Crawl data?

    1. A

      Much of it is low-quality or spam.

    2. B

      It is entirely in non-English languages.

    3. C

      It comes in binary format that cannot be parsed.

    4. D

      It is not publicly available.

    Correct answer
    A

    Much of it is low-quality or spam.

    Explanation

    The lecture shows examples of Common Crawl being full of trash and spammy sites, requiring extensive processing.

  39. 39

    What is a common step in transforming raw HTML to usable text for training?

    1. A

      Directly feeding HTML into the model after tokenization.

    2. B

      Extracting text from HTML, which is a lossy process.

    3. C

      Converting HTML to Markdown to preserve formatting.

    4. D

      Using HTML tags as additional tokens in the vocabulary.

    Correct answer
    B

    Extracting text from HTML, which is a lossy process.

    Explanation

    The lecture explains that data must be extracted from HTML or PDFs, and the process is lossy, aiming to preserve content and some structure.

  40. 40

    How is data filtering typically performed?

    1. A

      By using perplexity thresholds from a reference model.

    2. B

      Using classifiers trained to identify high-quality or harmful content.

    3. C

      By removing all documents shorter than 100 tokens.

    4. D

      By manually reviewing every document.

    Correct answer
    B

    Using classifiers trained to identify high-quality or harmful content.

    Explanation

    The lecture mentions that people train classifiers to filter data for quality and safety.

  41. 41

    Why is data deduplication important?

    1. A

      To reduce the storage size of the dataset.

    2. B

      To avoid overfitting and improve generalization by removing duplicate examples.

    3. C

      To ensure that every document appears exactly once.

    4. D

      To prevent the model from memorizing exact strings.

    Correct answer
    B

    To avoid overfitting and improve generalization by removing duplicate examples.

    Explanation

    The lecture states that deduplication is an important step, implying it prevents over-repetition.

  42. 42

    Which evaluation metric is mentioned for assessing language models in the lecture?

    1. A

      Perplexity and MMLU.

    2. B

      BLEU and ROUGE.

    3. C

      Human evaluation only.

    4. D

      Accuracy and F1 score.

    Correct answer
    A

    Perplexity and MMLU.

    Explanation

    The lecture lists perplexity as a measure and MMLU as a standardized test.

  43. 43

    In assignment 4, what raw data will students work with?

    1. A

      A raw Common Crawl dump.

    2. B

      A curated set of Wikipedia articles.

    3. C

      A cleaned version of the Pile dataset.

    4. D

      A synthetic dataset generated by GPT-4.

    Correct answer
    A

    A raw Common Crawl dump.

    Explanation

    The lecture specifies that assignment 4 gives students raw Common Crawl so they can see how bad it is.

  44. 44

    What is the leaderboard metric for assignment 4?

    1. A

      Minimizing training time on a fixed dataset.

    2. B

      Minimizing perplexity given a token budget.

    3. C

      Maximizing the diversity of generated text.

    4. D

      Maximizing accuracy on MMLU.

    Correct answer
    B

    Minimizing perplexity given a token budget.

    Explanation

    The lecture says the leaderboard will be about minimizing perplexity given a token budget.

  45. 45

    What is the purpose of supervised fine-tuning (SFT)?

    1. A

      To compress the model size while retaining performance.

    2. B

      To train a model from scratch on a small dataset.

    3. C

      To teach a base model to follow instructions by training on prompt-response pairs.

    4. D

      To evaluate the model's performance on standard benchmarks.

    Correct answer
    C

    To teach a base model to follow instructions by training on prompt-response pairs.

    Explanation

    The lecture describes SFT as gathering prompt-response pairs and doing supervised learning to get instruction-following abilities.

  46. 46

    Why is learning from feedback preferred over collecting more SFT data?

    1. A

      It always yields better performance than SFT.

    2. B

      It can be done without any base model.

    3. C

      It uses lighter forms of annotation such as preferences or verifiers, which are cheaper to obtain.

    4. D

      It requires no human annotation at all.

    Correct answer
    C

    It uses lighter forms of annotation such as preferences or verifiers, which are cheaper to obtain.

    Explanation

    The lecture explains that SFT data is expensive, so learning from feedback (preferences, verifiers) uses lighter annotation and algorithms do more work.

  47. 47

    What is preference data in the context of alignment?

    1. A

      Multiple candidate responses to a prompt, with a human rating of which is better.

    2. B

      A set of numerical rewards for each generated token.

    3. C

      A dataset of human-written instructions.

    4. D

      A single correct response for each prompt.

    Correct answer
    A

    Multiple candidate responses to a prompt, with a human rating of which is better.

    Explanation

    The lecture defines preference data as generating multiple responses and having a user rate A vs B.

  48. 48

    Which algorithm is mentioned as simpler than PPO for learning from preferences?

    1. A

      A2C (Advantage Actor-Critic).

    2. B

      DPO (Direct Preference Optimization).

    3. C

      GRPO (Group Relative Preference Optimization).

    4. D

      Q-learning.

    Correct answer
    B

    DPO (Direct Preference Optimization).

    Explanation

    The lecture says DPO is much simpler than PPO when only preference data is available.

  49. 49

    What is GRPO?

    1. A

      A method for generating preference data from humans.

    2. B

      A reward model that scores responses without human input.

    3. C

      An optimization technique for training tokenizers.

    4. D

      A simpler alternative to PPO developed by DeepSeek that removes the value function.

    Correct answer
    D

    A simpler alternative to PPO developed by DeepSeek that removes the value function.

    Explanation

    The lecture describes GRPO as a simplification of PPO (no value function) developed by DeepSeek that works well.

  50. 50

    In assignment 5, which methods will students implement?

    1. A

      Only PPO and reward modeling.

    2. B

      Only SFT and DPO.

    3. C

      Supervised fine-tuning, DPO, and GRPO.

    4. D

      SFT and RLHF with a learned reward model.

    Correct answer
    C

    Supervised fine-tuning, DPO, and GRPO.

    Explanation

    The lecture states that assignment 5 implements supervised tuning, DPO, and GRPO.

  51. 51

    According to the lecture, what are three goals of alignment?

    1. A

      Larger vocabulary, higher compression, and more parameters.

    2. B

      Better perplexity, faster inference, and lower memory usage.

    3. C

      Reduced training time, improved accuracy, and easier deployment.

    4. D

      Instruction following, style control, and safety.

    Correct answer
    D

    Instruction following, style control, and safety.

    Explanation

    The lecture lists these three: getting the model to follow instructions, specify output style, and refuse harmful answers.

Question 1 of 51
Question 1 of 51

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent