Learn Before
Short Answer

Differentiating Learning Methods

An engineer is tasked with making a large language model perform a new task: summarizing legal documents. They try two different approaches.

Approach A: They create a prompt that includes three examples of a full legal document paired with its correct summary. They then add the new document to the end of this prompt and ask the model for a summary.

Approach B: They gather a dataset of 10,000 legal documents and their summaries. They use this dataset to run a training process that adjusts the model's internal structure over several hours.

Based on the defining characteristics of in-context learning, which approach (A or B) is an example of it? Explain the fundamental difference between the two approaches that justifies your choice.

0

1

Updated 2025-10-06

Contributors are:

Who are from:

Tags

Ch.1 Pre-training - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Ch.2 Generative Models - Foundations of Large Language Models

Ch.3 Prompting - Foundations of Large Language Models

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science

Related