OSError: Can't load config for 'lmsys/fastchat-t5-3b-v1.0'.

#16
by Biel77 - opened

How can I solve this problem when I try to load this model using the following code:

# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
 
tokenizer = AutoTokenizer.from_pretrained("lmsys/fastchat-t5-3b-v1.0")
model = AutoModelForSeq2SeqLM.from_pretrained("lmsys/fastchat-t5-3b-v1.0")

When I run this code, I receive this error:

OSError: Can't load config for 'lmsys/fastchat-t5-3b-v1.0'. Make sure that:

- 'lmsys/fastchat-t5-3b-v1.0' is a correct model identifier listed on 'https://huggingface.co/models'

- or 'lmsys/fastchat-t5-3b-v1.0' is the correct path to a directory containing a config.json file

Sign up or log in to comment