src/transformers/models/transfo_xl/configuration_transfo_xl.py/TransfoXLConfig/max_position_embeddings
class TransfoXLConfig:    def max_position_embeddings(self, value):
        # Message copied from Transformer-XL documentation
        raise NotImplementedError(
            f"The model {self.model_type} is one of the few models that has no sequence length limit."
        )