instruction tuning does: fine-tunes on (instruction, response) pairs

Fine-tuning adapts pre-trained models to new tasks

Image: CC BY-SA 3.0, via Wikimedia Commons

instruction tuning does: fine-tunes on (instruction, response) pairs

Fine-tuning adapts pre-trained models to new tasks

For efficient fine-tuning, lightweight modules called "adapters" can be inserted into the model's architecture. These adapters nudge the embedding space for domain adaptation and can be fine-tuned by tuning only their weights, leaving the rest of the model's weights frozen.

Example

A convolutional neural network (CNN) used for image classification can be fine-tuned for a specific task like medical image diagnosis by keeping the earlier layers frozen and only fine-tuning the later layers.

Remember this

Fine-tuning allows for efficient adaptation of pre-trained models to new tasks without retraining the entire network.

Related concepts

Swipe through 100 ML concepts daily

Open Pocket Polymath