Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the same config several times in the auto mapping #16631

Merged
merged 1 commit into from
Apr 6, 2022

Conversation

sgugger
Copy link
Collaborator

@sgugger sgugger commented Apr 6, 2022

What does this PR do?

Currently you can't map a model type with another config. For instance TAPEX would like to map tapex with BartConfig.

This PR fixes that.

@sgugger sgugger requested a review from LysandreJik April 6, 2022 13:59
Copy link
Contributor

@NielsRogge NielsRogge left a comment

Choose a reason for hiding this comment

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

Thanks, didn't know TAPEX is the first one :p

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Apr 6, 2022

The documentation is not available anymore as the PR was closed or merged.

@sgugger sgugger merged commit 10c15d2 into main Apr 6, 2022
@sgugger sgugger deleted the reuse_config_auto branch April 6, 2022 18:21
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.

3 participants