In Lab1 - failed to load FLAN-T5 model

When trying to run this python code:

model = AutoModelForSeq2SeqLM.from_pretrained(model_name)

I’m getting the following error:

HTTPError Traceback (most recent call last)
File /opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/, in hf_raise_for_status(response, endpoint_name)
303 try:
→ 304 response.raise_for_status()
305 except HTTPError as e:

File /opt/conda/lib/python3.10/site-packages/requests/, in Response.raise_for_status(self)
1020 if http_error_msg:
→ 1021 raise HTTPError(http_error_msg, response=self)

HTTPError: 416 Client Error: Requested Range Not Satisfiable for url: …

Hi, yanivg!

You may need to restart the kernel and try it again.

1 Like