transformers: Error 429
System Info
transformers==4.25.1
Code block:
from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained(“flax-community/roberta-base-thai”) model = AutoModelForMaskedLM.from_pretrained(“flax-community/roberta-base-thai”)
Error:
OSError: There was a specific connection error when trying to load flax-community/roberta-base-thai: 429 Client Error: Too Many Requests for url: https://huggingface.co/flax-community/roberta-base-thai/resolve/main/config.json
Who can help?
No response
Information
- The official example scripts
 - My own modified scripts
 
Tasks
-  An officially supported task in the 
examplesfolder (such as GLUE/SQuAD, …) - My own task or dataset (give details below)
 
Reproduction
Import package and run code.
Expected behavior
No errors expected.
About this issue
- Original URL
 - State: closed
 - Created a year ago
 - Comments: 18 (6 by maintainers)
 
let me share that internally.
Hi @trianxy, sadly @sgugger is no longer at HF so the email in this thread is no longer active.
Pinging @philschmid who is the AWS Sagemaker master and will know more about this issue.