-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
hunflair2 model is not found #3547
Comments
@sg-wbi @WangXII Can one of you execute model = Classifier.load("hunflair2")
model.model_card["training_parameters"]["base_path"] = str(model.model_card["training_parameters"]["base_path"])
model.save("pytorch_model.bin") and commit the new model on the HF-Hub? |
Thanks @helpmefindaname, I've committed the new model according this to hf-hub! |
@WangXII thank you! @YashotharaS can you try out if it works now? You might have to delete the |
Thanks a lot @WangXII and @helpmefindaname I tried it, and it works fine now. Thanks again for your help :) |
Dear all,
I'm encountering the error "ValueError: Could not find any model with name 'hunflair2'" when trying to run the code tagger = Classifier.load("hunflair2") as mentioned on the GitHub page. I'm using Flair version 0.14.0, and while hunflair v1 works without issues, the code is unable to find hunflair2. Could you please help me resolve this issue?
The text was updated successfully, but these errors were encountered: