src/transformers/modeling_utils.py/PreTrainedModel/base_model
class PreTrainedModel:    def base_model(self) -> nn.Module:
        """
        `torch.nn.Module`: The main body of the model.
        """
        return getattr(self, self.base_model_prefix, self)