save variants. To load a model variant, one should pass the variant function argument to ModelMixin.from_pretrained(). Analogous, to save a model variant, one should pass the variant function argument to ModelMixin.save_pretrained():