The other methods that are common to each model are defined in [~modeling_utils.ModuleUtilsMixin] | |
(for the PyTorch models) and [~modeling_tf_utils.TFModuleUtilsMixin] (for the TensorFlow models) or | |
for text generation, [~generation.GenerationMixin] (for the PyTorch models), | |
[~generation.TFGenerationMixin] (for the TensorFlow models) and | |
[~generation.FlaxGenerationMixin] (for the Flax/JAX models). |