Model Mixins

These classes provide the basis of adapter module integration into model classes such as adapter saving and loading. Depending on the model, one of these mixins should be implemented by every adapter-supporting model class.

InvertibleAdaptersMixin

ModelAdaptersMixin

ModelWithHeadsAdaptersMixin

ModelWithFlexibleHeadsAdaptersMixin

PushAdapterToHubMixin