Hugging Face Forums
TypeError: __init__() got an unexpected keyword argument 'hub_token'
Intermediate
sgugger
July 1, 2022, 6:57pm
2
Try updating your
Transformers
library, it looks like you have an older version.
show post in topic
Related topics
Topic
Replies
Views
Activity
TypeError: Repository.__init__() got an unexpected keyword argument 'token'
Intermediate
8
14706
August 9, 2023
Where to put use_auth_token in the code if you can't run hugginface-cli login command?
Beginners
7
39975
February 5, 2025
Pushing model to hub
🤗Hub
0
1075
March 17, 2023
KeyError: 'url' when push huggingface tokenizer to hub in accelerator multi-gpu multi process
🤗Accelerate
2
612
November 1, 2023
Hugging face api key error
Beginners
1
67
July 16, 2025