src/transformers/models/bigbird_pegasus/modeling_bigbird_pegasus.py/BigBirdPegasusForConditionalGeneration/resize_token_embeddings
class BigBirdPegasusForConditionalGeneration:    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