-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fixed missing tf_predictions
and save_directory
variables. Split tf_ and pt_ a bit better. Added .gitignore to ignore the saved model paths.
#117
Conversation
Hi @cfregly, thanks for opening a PR! The notebooks were not synchronized to the latest Could you let me know if that works for you? There won't be the changes to the I'll then re-generate the notebooks so that they contain the changes. Let me know! |
@LysandreJik Thanks for the quick response. the code in the .rst looks good, although I don’t see the save_directory variable being defined, but maybe I’m missing something. Summary: As long as the generated code runs without error, I’m ok. Actually, can you add the commented-out pip install dependencies from the top of my PR? Makes things a bit more clear. thanks!! |
Yes, the Please do note that the cells right after the model saving won't necessarily work out of the box as it is indicated in the notebook that some cells are only shown if the user would like to load a TF model in a PT model, or vice-versa, which is not the case if you're following the notebook from start to finish. I confirm all other cells run to completion. |
Gotcha. I think it’s important for this notebook to run to completion without error. Seems like a better experience for the end user. I’ll apply all of my changes to the .rst and we can go from there. Thanks so much! |
That sounds good, will keep an eye out for the PR. Thanks, @cfregly! |
Ok, i've created a PR to the transformers/ repo: huggingface/transformers#14529 I'll keep an eye on that PR and delete this PR in the next couple days. |
Merged your PR, updated it in huggingface/transformers#14533 and applied the changes in #118. I had to do another follow up PR here huggingface/transformers#14534 and applied the changes in #119 |
@philschmid