Skip to content

Conversation

@raghavanone
Copy link
Contributor

What does this PR do?

Fixes #25639

This PR fixes the Vilt models config's init parameters to match the ones in the documentation.

Copy link
Contributor

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

Thanks for opening this PR! The fix should go the other way: the documentation is updated to reflect the default values

@raghavanone
Copy link
Contributor Author

Thanks for opening this PR! The fix should go the other way: the documentation is updated to reflect the default values

Oh Yes, Got misled by the discussion here . But checked here , the init is right, only the documentation needs to be changed .

@raghavanone
Copy link
Contributor Author

@amyeroberts Done.

@amyeroberts amyeroberts changed the title Fix vilt config init parameter to match the ones in documentation Fix vilt config docstring parameter to match value in init Sep 7, 2023
Copy link
Contributor

@amyeroberts amyeroberts left a comment

Choose a reason for hiding this comment

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

Thanks for updating!

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@amyeroberts amyeroberts merged commit 00efd64 into huggingface:main Sep 7, 2023
@raghavanone raghavanone deleted the fix_issue_25639 branch September 7, 2023 22:31
parambharat pushed a commit to parambharat/transformers that referenced this pull request Sep 26, 2023
…ce#26017)

* Fix vilt config init parameter to match the ones in documentation

* Fix the documentation
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.

hidden_dropout_prob and attention_probs_dropout_prob values in the documentation doesn't match with that in the code

3 participants