1Z0-1127-25 practice question 9 of 15
When is fine-tuning an appropriate method for customizing a Large Language Model (LLM)?
Full set: 88 questionsFine-tuning is the appropriate method when a pre-trained Large Language Model (LLM) does not perform well on a specific, nuanced task, and the number of examples needed to guide it via prompt engineering (in-context learning) is too large to fit within the context window or is inefficient. Fine-tuning adapts the model's internal weights by training it on a curated dataset of examples, effectively "teaching" it the new skill, style, or format. This process internalizes the knowledge, leading to better performance and consistency on the target task compared to what can be achieved with prompting alone, especially when the task is complex.
A. If the LLM already understands the necessary topics, prompt engineering is typically a more efficient and cost-effective method for guiding its output.
C. Providing an LLM with access to the latest data is the primary use case for Retrieval-Augmented Generation (RAG), which retrieves current information and adds it to the prompt's context.
D. Fine-tuning is a supervised learning process that explicitly requires a structured dataset of instructions and examples to optimize the model for a specific task.
1. Oracle Cloud Infrastructure (OCI) Documentation: In the documentation for the Generative AI service, it specifies when to use custom models. "Fine-tuning can improve on few-shot learning by training the model on many more examples than can fit in a prompt, making fine-tuning a good option for new tasks that the model wasn't originally trained on."
Source: Oracle Cloud Infrastructure Documentation, "AI and Machine Learning > Generative AI > Custom Models", Section: "When to Use a Custom Model".
2. Stanford University Courseware: Lecture materials on LLM adaptation explain that fine-tuning is used to specialize a model for a target task or data distribution that is not well-handled by the base model, especially when in-context learning is insufficient.
Source: Stanford CS224N: NLP with Deep Learning, Winter 2023, Lecture 12: "Prompting, Instruction Finetuning", Slide 54, "Why instruction finetuning?".
3. Academic Publication: A foundational paper on instruction tuning highlights that this form of fine-tuning significantly improves zero-shot performance on unseen tasks, demonstrating its value when a model needs to learn how to perform new tasks it struggles with initially.
Source: Wei, J., Bosma, M., et al. (2021). "Finetuned Language Models Are Zero-Shot Learners". Section 3.1, "Method". (Available on arXiv:2109.01652). This paper discusses the principle of fine-tuning to improve task performance where the base model is lacking.
Keep practicing
Take the free 1Z0-1127-25 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 1Z0-1127-25 practice questions
- Question 1What is the characteristic of T-Few fine-tuning for Large Language Models (LLMs)?
- Question 2What does the RAG Sequence model do in the context of generating a response?
- Question 3Which statement is true about string prompt templates and their capability regarding vari…
- Question 4When does a chain typically interact with memory in a run within the LangChain framework?
- Question 5Which statement accurately reflects the differences between these approaches in terms of …
- Question 6What does the term "hallucination" refer to in the context of Large Language Models (LLMs…
