Model Pipeline - Replacing classifier head
This pipeline shows how to replace the last part of a pre-trained model (called the classifier head) with a new one. This helps the model learn to classify new categories while keeping the earlier learned features.