-
Notifications
You must be signed in to change notification settings - Fork 648
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
[nnx] simplify readme #3707
[nnx] simplify readme #3707
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3707 +/- ##
==========================================
- Coverage 59.10% 59.10% -0.01%
==========================================
Files 103 103
Lines 12426 12454 +28
==========================================
+ Hits 7345 7361 +16
- Misses 5081 5093 +12 ☔ View full report in Codecov by Sentry. |
8f9e760
to
26479fc
Compare
* [Using TrainState](https://github.com/google/flax/tree/main/flax/experimental/nnx/examples/toy_examples/03_train_state.py): Shows how to train a simple model using the functional API with the help of `TrainState`. | ||
* [Training a VAE](https://github.com/google/flax/tree/main/flax/experimental/nnx/examples/toy_examples/05_vae.py): Shows how to train a VAE on the binarized MNIST dataset, uses the functional API, `TrainState`, and shows how to use capture intermediate values to retrieve `kl_loss`. |
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.
Should 05_vae.py
be renamed to 04_vae.py
(as well as decrementing all subsequent toy example numbers)? The number 04
seems to be missing from the toy_examples
.
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.
Yeah there is a bit of an inconsistency here. I don't think its super important but we sould fix it at some point :)
Co-authored-by: Marcus Chiam <[email protected]>
What does this PR do?
Simplifies NNX's readme.