SillyTavern / SillyTavern-Extras

Extensions API for SillyTavern.
GNU Affero General Public License v3.0
563 stars 133 forks source link

ValueError(f"Could not load model {model} with any of the following classes: {class_tuple}.") #20

Closed NeoTU closed 1 year ago

NeoTU commented 1 year ago

Hello, I've had SillyTavern-extras working fine for weeks with SillyTavern-dev. I decided to finally update SillyTavern-extras and did a git pull... now it no longer works? I'm not sure how I can fix it, I deleted the SillyTavern-extras folder and starting fresh, no luck.

Screenshot

Cohee1207 commented 1 year ago

I tested on several machines and also colab, not reproducible. Try clearing the huggingface hub cache and redownloading the models again https://huggingface.co/docs/transformers/installation?highlight=transformers_cache#cache-setup

NeoTU commented 1 year ago

I deleted "models--nateraw--bert-base-uncased-emotion" folder from C:\Users\.cache\huggingface\hub It downloaded some stuff and seems to be resolved, thank you for sharing that link and helping me. Keep up the good work.

Screenshot