src/transformers/models/blenderbot/modeling_blenderbot.py/BlenderbotForConditionalGeneration/resize_token_embeddings
class BlenderbotForConditionalGeneration:    def resize_token_embeddings(self, new_num_tokens: int) -> nn.Embedding:
        new_embeddings = super().resize_token_embeddings(new_num_tokens)
        self._resize_final_logits_bias(new_num_tokens)
        return new_embeddings