Skip to content

[T5] Fix warning for changed EncDec Attention Bias weight - #9231

Merged
patrickvonplaten merged 1 commit into
huggingface:masterfrom
patrickvonplaten:fix_t5_warning
Dec 21, 2020
Merged

[T5] Fix warning for changed EncDec Attention Bias weight#9231
patrickvonplaten merged 1 commit into
huggingface:masterfrom
patrickvonplaten:fix_t5_warning

Conversation

@patrickvonplaten

Copy link
Copy Markdown
Contributor

In this PR: #8518 a bug was fixed that removed an unnecessary weight from the T5 Cross Attention layer.
In the following, this layer was added to the wrong "ignore_weight" list. This weight will never be missing since it doesn't exist in the model anymore it can only be "not used" since it's still present in saved checkpoints. This PR fixes the incorrect warning by placing the regex in the correct list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant