HTTPError: 429 Client Error: Too Many Requests for url

Hi guys, I’ve been trying to debug my code and I keep having this issue:

Code:

from transformers import AutoTokenizer, AutoModelForMaskedLM
tokenizer = AutoTokenizer.from_pretrained(“roberta-base”)

Error:

HTTPError: 429 Client Error: Too Many Requests for url: https://huggingface.co/roberta-base/resolve/main/config.json

Thanks in advance!

1 Like