Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Fix conversion of BiAdaptiveModel#753

Merged
Timoeller merged 1 commit intomasterfrom
fix_conversion_biadaptive_model
Apr 30, 2021
Merged

Fix conversion of BiAdaptiveModel#753
Timoeller merged 1 commit intomasterfrom
fix_conversion_biadaptive_model

Conversation

@bogdankostic
Copy link
Copy Markdown
Contributor

When converting a DPR model to transformers and then trying to load this model again, the weights cannot be correctly mapped. This PR fixes this issue.

@bogdankostic bogdankostic requested a review from Timoeller April 30, 2021 10:40
Copy link
Copy Markdown
Contributor

@Timoeller Timoeller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, I wonder how it was working before... o_O

@Timoeller Timoeller merged commit 351972b into master Apr 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants