-
Notifications
You must be signed in to change notification settings - Fork 19
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
Added NLP: Basic text classification with JAX & Flax #95
Conversation
The build is timing out; it looks like you'll have to skip execution for this. |
2306623
to
b23e4e3
Compare
Looks really great – thanks for this! I'll wait on a review from @melissawm before merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a couple of optional suggestions, some to improve the text flow and some to include more insight into results/prints of the results. Cheers!
print(f"- Accuracy: {eval_metrics_history['test_accuracy'][-1]:0.4f}") | ||
``` | ||
|
||
Let us now start the training |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a suggestion:
Let us now start the training | |
Now, we can start the training. Note that this step can take quite a while to run, depending on the number of epochs you are using. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, this is not exactly true, in this case, whole training takes 2 minutes. The model and the dataset are rather small.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting! For me it took something like 40 mins in colab.
b23e4e3
to
d6f9a40
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
61431a7
to
0549978
Compare
0549978
to
659a2fb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems all ready to merge after a couple of rounds of reviews cc/ @jakevdp 🚀
cc @melissawm to review