openskills.info
Course Preview

Model Adaptation Strategies

Model adaptation strategies are techniques for customizing large language model behavior to suit specific tasks and domains. They include prompting, few-shot learning, retrieval-augmented generation, and fine-tuning, each suited to different requirements for knowledge, behavior change, and resource investment.

itArtificial intelligence and machine learning

Don't Panic — Model Adaptation Strategies

A pre-trained language model is a capable generalist until it meets an application with opinions about format, current documents, or both. Model adaptation closes that gap. The useful distinction is this: are you changing what the model can see, or how it behaves when it sees it? The rest is mostly consequences, wearing different hats.

Prompting changes input text at inference time. Instructions and output-format rules are the place to begin because they are quick to test and leave no permanent alteration. Add few-shot learning when a description is too vague: a few input-output examples demonstrate the pattern. Every example consumes context-window space, so an example collection can eventually become a small moving house inside every request.

Retrieval-Augmented Generation, or RAG, handles knowledge that is private, changing, or in need of attribution. It retrieves documents from an external store and places relevant material beside the prompt. Update the documents and the model can use new material without retraining. RAG is not a spell for changing habits, however. A retrieval system can hand over excellent facts and still receive an answer in an unwanted format.

Fine-tuning changes model weights through additional training, so a learned style, format, or task pattern persists. It is useful when prompting and examples do not produce consistent behavior. It is also an investment in curated examples, evaluation, compute, and future retraining. LoRA, a parameter-efficient fine-tuning method, narrows that investment by training small added matrices while the base model remains frozen. The model is not becoming magically omniscient. It is becoming reliably different in a chosen direction.

The practical combination is often fine-tuning for behavior and RAG for current knowledge. Read the Intro for the full spectrum and its trade-offs. Use the Slides when the architecture needs one mental picture. Keep the Cheatsheet nearby when choosing between prompts, examples, retrieval, and fine-tuning. The Quiz checks whether the distinction has survived contact with a multiple-choice question, a traditional and occasionally stern form of diplomacy.

Where this skill leads

Relevant careers

See how this topic contributes to broader role-level skill maps.

Sources