What TrenTorch does
TrenTorch (trentorch.com) teaches machine learning by having you write it yourself. Each web problem comes with a problem statement, a theory section, starter code, tests and a reference solution. According to the project's README, Python runs in your browser through Pyodide, so there is nothing to install, and your code is graded against tests as soon as you press Run. The homepage and README count 1,647 problems across 12 topic areas, from math and statistics, classical ML and deep learning core through transformers and LLMs, inference (KV cache, quantization, serving), vision, systems performance, distributed systems, RL and alignment, and production ML. There is also a set of company-inspired case problems, a daily Problem of the Day, a 454-problem DSA sheet (arrays and trees up to Fenwick trees, segment trees and LRU/LFU caches) and a research-paper reader in ten tracks where you highlight and take notes, then code the paper's key idea (for example scaled dot-product attention from "Attention Is All You Need").
You sign in with GitHub, Google or email to save progress to your account. The same curriculum also exists as a terminal course: the tren CLI walks you through 20 modules that build a PyTorch-style framework in raw NumPy (tensors, autograd, optimizers, CNNs, tokenization, attention, transformers, then profiling, quantization and a capstone), unlocking recreations of landmark results such as the perceptron, backpropagation and the transformer. The README says the CLI curriculum is its own implementation of Harvard's TinyTorch (CS249r), extended in its own style. The code is on GitHub under the PolyForm Noncommercial 1.0.0 license, free for personal and educational use.
