-
Notifications
You must be signed in to change notification settings - Fork 1
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
Unable to load model from HF #4
Comments
Hi and thanks for your message! Install following the README then:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
First of all, amazing work! I'm trying to load the model with the pretrained weights from HF, but I'm receiving an error, while doing so.
My first attempt:
model = AutoModelForSeq2SeqLM.from_pretrained("flbbb/locost-gsg-pretrained")
And my second attempt:
pipe = pipeline("text2text-generation", model="flbbb/locost-gsg-pretrained")
Both resulting in the error:
ValueError: Unrecognized model in flbbb/locost-gsg-pretrained. Should have a `model_type` key in its config.json, or contain one of the following strings in its name: albert, align, altclip, audio-spectrogram-transformer, ...
Is there a chance that I can get some guidance on how to properly load your model?
Thanks!
The text was updated successfully, but these errors were encountered: