• Stars
    star
    547
  • Rank 78,542 (Top 2 %)
  • Language
    Jupyter Notebook
  • License
    Apache License 2.0
  • Created over 2 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

100 exercises to learn JAX

JaxTon

πŸ’― JAX exercises

License GitHub Twitter

Mission πŸš€

To provide 100 JAX exercises over different sections structured as a course or tutorials to teach and learn for beginners, intermediates as well as experts.

JAX

The JAX package in Python is a library for high performance and efficient machine learning research.

It is commonly used for various deep learning tasks and runs seamlessly on CPUs, GPUs as well as TPUs.

Exercises πŸ“–

There are a total of 100 JAX exercises divided into 10 sets of Jupyter Notebooks with 10 exercises each. It is recommended to go through the exercises in order but you may start with any set depending on your expertise.

βœ… Structured as exercises & tutorials - Choose your style
βœ… Suitable for beginners, intermediates & experts - Choose your level
βœ… Available on Colab, Kaggle, Binder & GitHub - Choose your platform
βœ… Supports running on CPU, GPU & TPU - Choose your backend

All Sets β€’ Exercises 1-100

Style Colab Kaggle Binder GitHub
Exercises Open in Colab Open in Kaggle Open in Binder Open in GitHub
Solutions Open in Colab Open in Kaggle Open in Binder Open in GitHub

Set 01 β€’ JAX Introduction β€’ Beginner β€’ Exercises 1-10

Style Colab Kaggle Binder GitHub
Exercises Open in Colab Open in Kaggle Open in Binder Open in GitHub
Solutions Open in Colab Open in Kaggle Open in Binder Open in GitHub

Set 02 β€’ Data Operations β€’ Beginner β€’ Exercises 11-20

Style Colab Kaggle Binder GitHub
Exercises Open in Colab Open in Kaggle Open in Binder Open in GitHub
Solutions Open in Colab Open in Kaggle Open in Binder Open in GitHub

Set 03 β€’ Pseudorandom Numbers β€’ Beginner β€’ Exercises 21-30

Style Colab Kaggle Binder GitHub
Exercises Open in Colab Open in Kaggle Open in Binder Open in GitHub
Solutions Open in Colab Open in Kaggle Open in Binder Open in GitHub

Set 04 β€’ Just-In-Time (JIT) Compilation β€’ Beginner β€’ Exercises 31-40

Style Colab Kaggle Binder GitHub
Exercises Open in Colab Open in Kaggle Open in Binder Open in GitHub
Solutions Open in Colab Open in Kaggle Open in Binder Open in GitHub

Set 05 β€’ Control Flows β€’ Beginner β€’ Exercises 41-50

Style Colab Kaggle Binder GitHub
Exercises Open in Colab Open in Kaggle Open in Binder Open in GitHub
Solutions Open in Colab Open in Kaggle Open in Binder Open in GitHub

Set 06 β€’ Automatic Differentiation β€’ Intermediate β€’ Exercises 51-60

Style Colab Kaggle Binder GitHub
Exercises Open in Colab Open in Kaggle Open in Binder Open in GitHub
Solutions Open in Colab Open in Kaggle Open in Binder Open in GitHub

Set 07 β€’ Automatic Vectorization β€’ Intermediate β€’ Exercises 61-70

Style Colab Kaggle Binder GitHub
Exercises WIP WIP WIP WIP
Solutions WIP WIP WIP WIP

Set 08 β€’ Pytrees β€’ Intermediate β€’ Exercises 71-80

Style Colab Kaggle Binder GitHub
Exercises WIP WIP WIP WIP
Solutions WIP WIP WIP WIP

Set 09 β€’ Neural Networks β€’ Expert β€’ Exercises 81-90

Style Colab Kaggle Binder GitHub
Exercises WIP WIP WIP WIP
Solutions WIP WIP WIP WIP

Set 10 β€’ Capstone Project β€’ Expert β€’ Exercises 91-100

Style Colab Kaggle Binder GitHub
Exercises WIP WIP WIP WIP
Solutions WIP WIP WIP WIP

The Jupyter Notebooks can also be run locally by cloning the repo and running on your local jupyter server.

git clone https://github.com/vopani/jaxton.git
python3 -m pip install notebook
jupyter notebook

P.S. The notebooks will be periodically updated to improve the exercises and support the latest version.

Contribution πŸ› οΈ

Please create an Issue for any improvements, suggestions or errors in the content.

You can also tag @vopani on Twitter for any other queries or feedback.

Credits πŸ™

JAX

License πŸ“‹

This project is licensed under the Apache License 2.0.