src/transformers/models/mvp/modeling_mvp.py/MvpForSequenceClassification/set_lightweight_tuning
class MvpForSequenceClassification:    def set_lightweight_tuning(self):
        self.model.set_lightweight_tuning()
        self.classification_head.requires_grad_(False)