[GH-ISSUE #20] ValueError(f"Could not load model {model} with any of the following classes: {class_tuple}.") #16

Closed
opened 2026-10-15 18:03:26 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @NeoTU on GitHub (May 10, 2023).
Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/20

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

Originally created by @NeoTU on GitHub (May 10, 2023). Original GitHub issue: https://github.com/SillyTavern/SillyTavern-Extras/issues/20 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](https://github.com/Cohee1207/SillyTavern-extras/assets/11801357/d11dca33-6e8c-4cbd-a998-b97dc171cbc2)
Author
Owner

@Cohee1207 commented on GitHub (May 10, 2023):

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

<!-- gh-comment-id:1541616960 --> @Cohee1207 commented on GitHub (May 10, 2023): 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
Author
Owner

@NeoTU commented on GitHub (May 10, 2023):

I deleted "models--nateraw--bert-base-uncased-emotion" folder from C:\Users<Username>.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

<!-- gh-comment-id:1542245936 --> @NeoTU commented on GitHub (May 10, 2023): I deleted "models--nateraw--bert-base-uncased-emotion" folder from C:\Users\<Username>\.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](https://github.com/Cohee1207/SillyTavern-extras/assets/11801357/b69a3e77-dfcf-4e10-b349-41c1da382774)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/SillyTavern-Extras#16
No description provided.