-
Notifications
You must be signed in to change notification settings - Fork 61
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
No Model.Save method? #33
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to save the model. It has a load method, but if i save using model.model.save_pretrained and then use model.load I get:
OSError: Can't load tokenizer for 't5.model'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure 't5.model' is the correct path to a directory containing all relevant tokenizer files.
Presumably i have to save the tokenizer too somewhere.... It would be easier if there was a model.save(), clearly it's doing this during training but often i need to stop the model mid epoch to validate it and then manually do a save. Seems odd to have a load but not a save.
Thanks for building this library though, it's very easy to use
The text was updated successfully, but these errors were encountered: