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

Remove use_auth_token from the from_config method #18192

Merged
merged 2 commits into from
Jul 19, 2022

Conversation

duongna21
Copy link
Contributor

@duongna21 duongna21 commented Jul 19, 2022

What does this PR do?

Fixes TypeError: __init__() got an unexpected keyword argument 'use_auth_token' in run_mlm_flax.py, run_clm_flax.py, run_t5_mlm_flax.py, run_summarization_flax.py, run_image_classification.py by removing the use_auth_token argument from the from_config method.

imgur

Who can review?

cc potential reviewers: @patrickvonplaten, @sgugger, @patil-suraj

@duongna21 duongna21 changed the title Fix use auth token from config Remove use_auth_token from the from_config method Jul 19, 2022
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Jul 19, 2022

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

Copy link
Collaborator

@sgugger sgugger 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 fixing those!

@sgugger sgugger merged commit 4bea658 into huggingface:main Jul 19, 2022
@duongna21 duongna21 deleted the fix-use-auth-token-from-config branch July 19, 2022 06:15
viclzhu pushed a commit to viclzhu/transformers that referenced this pull request Jul 20, 2022
* remove use_auth_token from from_config

* restore use_auth_token from_pretrained run_t5_mlm_flax
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