Skip to content

Learn by building

Understand it.
Build it.
Make it work.

Build fluency in ML and systems programming through hands-on practice. Learn PyTorch, JAX, Rust, C++ and typed Python, one working solution at a time.

Read and explore freely. Connect your machine when you’re ready to run code. Browsing PyTorch. 173 problems in this mode.

A small idea, made visible

How does temperature change softmax?

Softmax turns scores into probabilities. Lower the temperature to concentrate probability on the highest score, or raise it for a more even distribution.

Temperature changes the distribution, not the scores. A higher probability does not by itself make a prediction more reliable. Enable JavaScript to explore.

Interactive example · no installation needed Learn the idea

Try a PyTorch problem

Start with the provided code, work through the requirements, and check your solution against real test cases on your machine.

Make your next step a small one

Choose how to start.

Follow a sequence, work on one problem, or read until an idea clicks. Explore freely; sign in to save your progress.

Across all 5 modes: 1255 published exercises · 93 tracks · 260 explainers. These links open the PyTorch collection.

Learn with others

Choose a track with friends, compare approaches, and help each other get unstuck. Share your progress on a squad board and keep the conversation in one place.

#jax-performance encrypted chat
ren I wrote the function for one example, then used vmap for the batch.
you So in_axes picks which axis to map over?
ren Yes. The function works with the remaining dimensions of that array.
mika That helps. Three problems left on this track!

Example conversation. In your conversations, message contents are encrypted on your device before they reach our servers.

Squad board 8 problems
ren 7/8
you 5/8
mika 5/8
sam not sharing

You choose whether to share your progress. Joining a squad does not turn sharing on.