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

How to load pretrained model in a new notebook without retraining? #298

Open
Tylersuard opened this issue Jul 1, 2022 · 1 comment
Open

Comments

@Tylersuard
Copy link

Hello. I trained a model using GPT-2, which is great by the way.
I am having trouble getting it to run in a new notebook. Do you have any instructions for how to do so, without retraining?
Thank you.

@Jordine
Copy link

Jordine commented Aug 1, 2022

set model_name to the folder path with your pretrained model

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