src/transformers/models/distilbert/modeling_distilbert.py/DistilBertForMaskedLM/get_position_embeddings
class DistilBertForMaskedLM:    def get_position_embeddings(self) -> nn.Embedding:
        """
        Returns the position embeddings
        """
        return self.distilbert.get_position_embeddings()