src/transformers/models/m2m_100/modeling_m2m_100.py/M2M100ForConditionalGeneration/resize_token_embeddings
class M2M100ForConditionalGeneration:    def resize_token_embeddings(self, new_num_tokens: int) -> nn.Embedding:
        new_embeddings = super().resize_token_embeddings(new_num_tokens)
        return new_embeddings