Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load model error #63

Open
wushixian opened this issue Dec 30, 2022 · 1 comment
Open

load model error #63

wushixian opened this issue Dec 30, 2022 · 1 comment

Comments

@wushixian
Copy link

when I call the huge model with "model = gal.load_model("huge")", the execption showed "Exception: Model "facebook/galactica-120b" on the Hub doesn't have a tokenizer", I clear the cache directory in .cache/huggingface/hub/, run the script again, the error still existed, what's the problem?

@mkardas
Copy link
Collaborator

mkardas commented Jan 3, 2023

What are your galai and transformers versions? What do you get for:

from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("facebook/galactica-120b")

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants