Open wwzh2626 opened 1 week ago
I just tried running these lines of code to test it:
I was able to load the tokenizer without any errors. Could you perhaps try these two lines if you can load the tokenizer correctly?
-Gaurav
I am confused! I can run run the test code you gave in the picture, and then this bug disappears. But the next pre-trained file that needs to be loaded from huggingface will give an error again. Why can't I download it when I run .py directly, but I can download it in the command line?
I encountered the same problem, how did you solve it?
OSError: We couldn't connect to 'https://huggingface.co' to load this file, couldn't find it in the cached files and it looks like stabilityai/sd-turbo is not the path to a directory containing a file named tokenizer/config.json. Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.
At the same time, i find that tokenizer folder doesn't contain config.json. How can i solve it