An adapter is trained on examples, then loaded later to influence generation.
Pretraining builds a base model. Fine-tuning continues that process with data selected for a particular use. Hugging Face explains fine-tuning.
A prompt gives the model instructions for the current task. Training changes its weights. Adding documents to a RAG search collection changes the material retrieved for answers instead.
Choose the simplest approach that solves your need. For a missing fact, supply reliable context. For an output format, try clear instructions and validation. For an adaptation you need across many examples, consider fine-tuning or an adapter.
Keep separate examples for evaluating the trained version. Comparing those results with the original helps you see whether the change improved your actual task.
Sources
Primary references checked 11 October 2026.