-
Notifications
You must be signed in to change notification settings - Fork 45
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
OSError: file style_paraphrase/saved_models/test_paraphrase/config.json not found #6
Comments
Same problem with run_finetune_shakespeare_0.sh, btw, when training with gpt2 (small) |
Thanks for reporting this! I will look more closely later in the day / tomorrow, but which HuggingFace |
Should be transformers==3.4.0 as in the reqs file. I installed everything in a fresh conda env with python==3.7. Btw, I am looking forward to the directions for training the inverse model on custom data! |
I just tried running it with GPT2-small, and I can see the |
I had the same issue when training my models. It seems like there is an issue with the path in this line. Basically, when re-loading the model, the I haven't tested if this fixes the problem, but I will try it for my next run on the cluster. |
Just to follow up: Changing the line mentioned above did fix the error. Just make sure that |
@martiansideofthemoon Just curious, how could I also load |
@guanqun-yang you can just use |
I tried training the paraphraser with gpt2 (small) as the large model would not fit my 1080 Ti. Everything went alright until the last iteration, where I got the error below. The final checkpoint seems to have been saved successfully. However, python tries to read from
file style_paraphrase/saved_models/test_paraphrase/config.json
which was not created and does not exist. All config.json files are inside their respective checkpoint folders.
The text was updated successfully, but these errors were encountered: