1Z0-1122-25 practice question 1 of 10
What is "in-context learning" in the realm of Large Language Models (LLMs)?
Full set: 300 questionsIn-context learning is the ability of a Large Language Model (LLM) to learn a new task at inference time based solely on the information provided in the input prompt. Instead of updating the model's weights through retraining or fine-tuning, the user provides a prompt containing a few examples (few-shot) or just instructions (zero-shot) of the desired task. The model uses this "context" to understand the task and generate the appropriate response for a new query within the same prompt.
A. Training a model on a diverse range of tasks is known as pre-training or multi-task training, not in-context learning.
B. Modifying the model's behavior permanently involves updating its weights through a process called fine-tuning. In-context learning is temporary.
C. Zero-shot learning is a specific type of in-context learning, but providing examples (few-shot) is the more general and powerful demonstration of this capability.
1. Brown
T. B.
Mann
B.
Ryder
N.
et al. (2020). Language Models are Few-Shot Learners. arXiv:2005.14165. Section 2.1
"In-context Learning". "We use the term 'in-context learning' to refer to a model’s ability to learn a task from a few examples given in the prompt."
2. Stanford University. (2023). On the Opportunities and Risks of Foundation Models. Center for Research on Foundation Models (CRFM). Section 2.2
"Emergence". "In-context learning is an emergent capability of foundation models where the model learns to perform a task after being provided with a prompt that contains a small number of examples."
Keep practicing
Take the free 1Z0-1122-25 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 1Z0-1122-25 practice questions
- Question 2Which is NOT a category of pretrained foundational models available in the OCI Generative…
- Question 3Which is NOT a capability of OCI Vision's image analysis?
- Question 4You are working on a multilingual public announcement system. Which AI task will you use …
- Question 5What distinguishes Generative AI from other types of AI?
- Question 6Which statement best describes the relationship between Artificial Intelligence (AI), Mac…
- Question 7You are part of the medical transcription team and need to automate transcription tasks. …
