Does not appear to have a file named config.json

#13
by areumtecnologia - opened

EXAMPLE 1

model_name = "dataautogpt3/OpenDalleV1.1"
model = AutoModelForCausalLM.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)

OSError: dataautogpt3/OpenDalleV1.1 does not appear to have a file named config.json. Checkout 'https://huggingface.co/dataautogpt3/OpenDalleV1.1/main' for available files.

OR
######### EXAMPLE 2

pipeline = AutoPipelineForText2Image.from_pretrained(
model, torch_dtype=torch.float16
).to("cuda")

OSError: C:\Users\renan.cache\huggingface\hub\models--dataautogpt3--OpenDalleV1.1\snapshots\28d2cfe68c4af0c81e8bcca23eb04ec120743cc2 does not appear to have a file named config.json. Checkout 'https://huggingface.co/C:\Users\renan\.cache\huggingface\hub\models--dataautogpt3--OpenDalleV1.1\snapshots\28d2cfe68c4af0c81e8bcca23eb04ec120743cc2/main' for available files.

Please!

I raised a discussion for this a few hours before you did
https://huggingface.co/dataautogpt3/OpenDalleV1.1/discussions/10
it has been partially fixed but there still a space at the start of the text_encoder_2 directory name.

Someone found the solution? I have the same problem...

thank you for pointing out the space I was totally confused as of why it was not working and did not even notice that! happy holidays!

dataautogpt3 changed discussion status to closed

Sign up or log in to comment