Skip to content

Commit

Permalink
Address Patrick's comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jplu committed Dec 8, 2020
1 parent 0700ed2 commit 6d21389
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/transformers/models/bart/modeling_tf_bart.py
Original file line number Diff line number Diff line change
Expand Up @@ -1040,9 +1040,6 @@ class TFBartForConditionalGeneration(TFPretrainedBartModel):
r"model.encoder.embed_tokens.weight",
r"model.decoder.embed_tokens.weight",
]
_keys_to_ignore_on_load_missing = [
r"final_logits_bias",
]

def __init__(self, config, *inputs, **kwargs):
super().__init__(config, *inputs, **kwargs)
Expand Down

0 comments on commit 6d21389

Please sign in to comment.