A technique for adapting a pretrained AI model to new tasks by updating only a small fraction of its parameters — keeping the rest frozen. This approach saves time, memory, and computing power while achieving results close to training the entire model from scratch.
Imagine you have a highly skilled employee who already knows a lot. Instead of retraining them on everything, you just teach them the specific new skills they need. That's essentially how this approach works with AI models.
Traditional fine-tuning updates every single parameter in a model — sometimes billions of them. This method takes a smarter route: it freezes most of the pretrained model and introduces a small, lightweight set of trainable components. These components guide the model's behavior toward a new task without overhauling the whole system.
Popular methods include:
This approach democratizes access to powerful AI. Full fine-tuning of large models demands expensive hardware and significant time — resources most teams simply don't have. By training only a small fraction of parameters, organizations can customize state-of-the-art models affordably and quickly. It also enables serving multiple task-specific versions of the same base model without duplicating storage, making AI deployment far more practical and scalable.
To apply this technique, you start with a pretrained foundation model — like a large language model — and choose a method such as LoRA or adapters. Then, you freeze the original model weights and only train the newly added lightweight components on your task-specific dataset.
Here's a simplified workflow:
Tools like Hugging Face's PEFT library make this process accessible, even without deep technical expertise.
A healthcare startup wants to use a large language model to summarize patient notes. Full fine-tuning would require multiple high-end GPUs and days of training. Instead, the team applies LoRA: they freeze the base model's billions of parameters and add small trainable matrices — representing less than 1% of the original model size. They train these matrices on 10,000 anonymized clinical summaries using a single GPU in just a few hours. The result? A model that generates accurate medical summaries with performance comparable to full fine-tuning — at a fraction of the cost and time. They can even store multiple LoRA adapters for different specialties (cardiology, radiology) alongside the same base model, switching between them instantly.
Gestiona, prueba y despliega todos tus prompts y proveedores en un solo lugar. Todo lo que tus desarrolladores necesitan hacer es copiar y pegar una llamada a la API. Haz que tu aplicación destaque entre las demás con Promptitude.