Learn Before
Example of In-Context Learning
An example of in-context learning involves presenting a similar problem and its corresponding answer within the prompt to demonstrate how to solve it. For instance: 'Tom has 12 marbles. He wins 7 more marbles in a game with his friend but then loses 5 marbles the next day. His brother gives him another 3 marbles as a gift. How many marbles does Tom have now? The answer is 17. Jack has 7 apples. He ate 2 of them for dinner, but then his mom gave him 5 more apples. The next day, Jack gave 3 apples to his friend John. How many apples does Jack have left in the end? The answer is 12.'
0
1
Tags
Foundations of Large Language Models
Ch.2 Generative Models - Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Related
Rationale for Using One-Shot and Few-Shot Learning
Few-Shot Learning
In-Context Learning as an Emergent Ability
Efficiency of In-Context Learning for Model Adaptation
Contribution of In-Context Learning to AI Generalization and Usability
Zero-Shot Learning with LLMs
One-Shot Learning
Factors Influencing In-Context Learning Effectiveness
Understanding the Emergence and Mechanics of In-Context Learning
Theoretical Interpretations of In-Context Learning
Providing Reference Information in Prompts
Instruction Generation in Self-Instruct
One-Shot Chain-of-Thought (CoT) Prompting
Scope of Zero-shot, One-shot, and Few-shot Learning
Few-Shot Learning in Prompting
Comparison of Zero-shot, One-shot, and Few-shot Learning
In-Context Learning as a Guiding Mechanism for LLM Predictions
Calculation Annotation
Final Answer Formatting Token
A developer needs a large language model to translate technical jargon into plain language. They construct a prompt containing several pairs of 'Jargon-to-Plain Language' examples, followed by a new piece of technical text. The model successfully provides a plain language translation for the new text. Which statement best analyzes the fundamental mechanism of this approach?
Evaluating Prompting Strategies for Task Adaptation
Using Demonstrations to Improve LLM Accuracy
In-Context Learning as Knowledge Activation
Differentiating Learning Methods
Your team is rolling out an internal LLM assistant...
You’re building an internal LLM workflow to produc...
You’re building an internal LLM assistant to help ...
You’re leading an internal enablement team buildin...
Choosing and Justifying a Prompting Strategy Under Context and Quality Constraints
Designing a Prompting Workflow for a High-Stakes, Multi-Step Task
Diagnosing and Redesigning a Prompting Approach for a Decomposed Workflow
Stabilizing an LLM Workflow for Multi-Step Policy Compliance Decisions
Debugging a Multi-Step LLM Workflow for Contract Clause Risk Triage
Designing a Robust Prompting Workflow for Multi-Step Root-Cause Analysis with Limited Examples
Example of In-Context Learning
Example of In-Context Learning for Translation
Augmented Input Formula in In-Context Learning