passdrill
AI & LLM Engineering · How LLMs Work: Transformers & Training · Card 021/024 easy

Brown et al. (2020), "Language Models are Few-Shot Learners," describe evaluating GPT-3 in a few-shot setting on many tasks. What does "few-shot" mean in this evaluation, and what happens to the model's weights during it?

  1. A small number of labeled examples for the task are used to fine-tune GPT-3's weights with a few additional gradient-descent steps before the model is evaluated on new examples
  2. A small number of task examples are included as text directly within the prompt given to the model at inference time, and GPT-3 is evaluated on new examples using this prompt alone, with no gradient updates or fine-tuning of its weights performed for the task
  3. GPT-3's weights are duplicated into several smaller copies, each fine-tuned on a few examples from a different task, and the copy that performs best on a validation set is kept
  4. A small, separate classifier head is attached to GPT-3 and trained from scratch on a few labeled examples, while the rest of the pretrained model is frozen
Next card → Shuffle