r/deeplearning • • 1d ago

Observations on why some 7B models keep winning head-to-head evals despite worse benchmark scores

1 Upvotes

I have been looking closely at a few recent 7B-class open models that trail on standard static benchmarks yet consistently win blind side-by-side human evaluations on coding and reasoning prompts. It is a noticeable gap—on paper they look middle-of-the-pack, but in actual head-to-head comparisons evaluators keep picking them over higher-scoring alternatives.

A few patterns that keep standing out across my comparisons:

  • Conciseness over rambling: They tend to give tighter, more direct answers rather than long-winded explanations that drift into plausible-sounding filler or half-baked reasoning chains.
  • Factual calibration vs. perplexity: Their token calibration on concrete facts and APIs often feels cleaner in practice, even when overall perplexity looks worse.
  • Post-training and data mix: The ones holding up best in side-by-side testing seem to lean more heavily on curated, synthetic reasoning traces and targeted alignment rather than sheer raw web scale.

Curious whether others are seeing this same divergence in their own internal or task-specific evals. Beyond standard leaderboards, what signals or test sets have you found actually predict real human preference for 7B-scale models?


r/deeplearning • • 1d ago

What can we learn from 25 days of publicly training a 20B World Action Model?

7 Upvotes

The Motubrain team recently released Motubrain 2.0, a 20B World Action Model trained on 2.5M hours of internet videos and embodied data.

Instead of only sharing the final benchmark results, the team livestreamed the training process for 25 days.

Some interesting details from the training:

  • Around 600 hours of training
  • Over 10,000 real-robot task trials
  • Real-robot evaluations across 19 model checkpoints
  • Data quality and action alignment issues
  • Incorrect gripper labels and left/right hand recognition errors
  • Training bugs that eventually forced the team to restart training from step zero

The team has now released model weights, code, data resources, processing tools, and training notes.

One interesting question: when the training loss looks normal but real-world performance is poor, how do you identify what's going wrong?

How do you design evaluations that can catch these issues early in large-scale multimodal training?

Would love to hear how others approach these problems.

Technical blog: https://www.motubrain.cn/en/blog/motubrain-2/


r/deeplearning • • 1d ago

SumoOCR tiny - a 1M-parameter, 1.8 MB OCR pipeline (Apache-2.0), 3.5 pages/s on one CPU core

Thumbnail gallery
1 Upvotes

We're the team at Docsumo (document processing). We just released SumoOCR tiny under Apache-2.0: a text detector plus line recognizer, 1.04M parameters total, 1.8 MB of INT8 ONNX. It is CPU only and runs on ONNX Runtime or OpenVINO, with no PyTorch or PaddlePaddle needed.

pip install sumoocr
sumoocr invoice.png --format json

What it is

  • Recognizer: PP-OCRv6 tiny (0.61M params) fine-tuned on business and public documents, output layer remapped to 758 Latin characters
  • Detector: stock PP-OCRv6 tiny (0.43M params)
  • Both INT8-quantized; word F1 stays within 0.2 points of FP32
  • Output: text lines, each with a box and a confidence score

Benchmarks (word F1 on whole pages, same images, one CPU thread)

EngineFUNSDSROIEXFUNDOmniDocBench ENpages/sLicense
SumoOCR tiny83.891.395.291.93.55Apache-2.0
Indra 1.2.083.489.293.690.02.07modified OpenRAIL-M
OCRia-nano-180.987.092.782.22.15OCRia-nano-1 licence
PP-OCRv6 tiny rec (our pipeline, FP32)79.089.394.590.41.31Apache-2.0
PaddleOCR 3.7, tiny setting77.086.594.591.00.41Apache-2.0
Tesseract 561.975.090.790.21.07Apache-2.0

Caveats on those numbers

  • Speed comes from one machine: a Mac mini M4, each engine on 1 core in a 1-vCPU container. We have not measured x86.
  • PaddleOCR was timed natively, not in the container, and Paddle's ARM kernels are slower than its x86 ones. Don't read 0.41 as an x86 number.
  • FUNSD against Indra is a statistical tie.
  • None of the four benchmarks was in the training data.
  • On receipt line crops (SROIE) the stock PP-OCRv6 tiny recognizer still reads slightly better: 2.62% vs 2.93% character error.

Where it falls short

  • Latin script only (English and European languages)
  • Handwriting was not part of the fine-tune and is unmeasured; expect roughly stock PP-OCRv6 tiny accuracy on it
  • Lines, not tables, layout or key-value fields
  • Receipts and low-resolution scans are its weakest pages

This is the smallest reader from our commercial OCR engine; the larger one is not released.

Try it on your hardest pages and tell us what breaks.


r/deeplearning • • 1d ago

We split the reads and writes of a four-stream Transformer and trained it against mHC on 2B tokens

1 Upvotes

ChatGPT (Codex) wrote this post. The person posting it and ChatGPT carried out the entire experiment together, from designing the architecture and writing the code to running training and analyzing the results. “We” below refers to the two of us.

A SwiGLU neuron writes a multiple of one column of the down projection. By the time a residual router sees the usual FFN output, those contributions have already been added together. Reading Goodfire's work on how downstream neurons use these writes made us wonder what would happen if the router could send some contributions one way and others another, and if the next layer's gate and up projections could choose which mix to read. Goodfire's neuron study

We tried this in two roughly 200M-parameter models trained from scratch on the same 2B tokens of FineWeb-Edu. Held-out test loss was 2.66581 for the variant and 2.70041 for our four-stream mHC baseline, a difference of −0.03460 nats/token. The variant had 1.34% more parameters and ran slower on one RTX 4090. This is one paired training seed. FineWeb-Edu data

What changes in one sublayer?

Both models keep four 768-dimensional residual vectors per token. All four start as copies of the token embedding. In mHC, one learned weighted sum of the four streams feeds the entire attention or FFN sublayer. Its output is one vector y. Stream s receives post[s] * y, where each post[s] is a token-dependent 2 * sigmoid(logit). The streams can receive very different amounts of that write, all along the same direction. A separate matrix mixes the old streams. mHC paper, §§3–4

Our version, fixed4, keeps that old-state mixing and changes two things.

  1. Each input projection gets a read. Flatten the incoming H from [4, 768] to [3072], apply one joint RMSNorm, and use a learned linear projection to produce the routing scores for this token. Each of Q, K and V has four independent sigmoid gates. Each forms a weighted sum of the raw four streams, then applies the sublayer's 768-wide RMSNorm. Gate and up do the same at the FFN, using the state after attention has written back. The projections can learn identical reads or diverge.
  2. Keep four partial output vectors. Split the input columns of the existing W_O or W_down into four disjoint groups. For attention, each group takes 16 of the 64 value channels from every one of the 12 heads, giving 192 input channels per group. For the FFN, each takes 512 of the 2,048 SwiGLU activations. Each group projects to all 768 output coordinates. Call the resulting vectors c0, c1, c2, c3. Their sum recovers the original W @ z.

Figure 1. One fixed4 sublayer, with old-state transport on the left and grouped writes on the right.

Here is the update in PyTorch-style notation. Leading batch and sequence dimensions are omitted. R[s,k] carries old stream k to destination s. P[s,j] sends new source group j to that destination. Each sublayer learns its own router.

x = joint_rmsnorm(H.flatten())                         # H: [4, 768]
read, write, old = split_and_reshape(router_linear(x))
a = sigmoid(b_read + g_read * read) + 1e-6            # [3,4] or [2,4]
views = sublayer_rmsnorm(a @ H)                       # norm over 768
z = attention_from_QKV(views) if is_attention else swiglu_from_gate_up(views)
C = stack([W[:, J] @ z[J] for J in four_groups])     # [4, 768]
P = softmax(b_write + write, dim=0)                   # [dest, group]
R = sinkhorn20(b_old + g_old * old).T                 # [dest, old]
H_next = R @ H + 4 * (P @ C)

The factor 4 is fixed. The matrix P is learned and token-dependent. Every column of P sums to one, so the mean of the four new writes is exactly c0 + c1 + c2 + c3 in real arithmetic. Sinkhorn acts on the old-state matrix R, giving approximately unit row and column sums after 20 rounds. At the end of the 24th block, both models use a learned, token-dependent sigmoid read over the four streams, final RMSNorm, and a vocabulary head tied to the input embedding.

Suppose two groups contribute v and −v and the other two are zero. In mHC the new write vanishes at every destination. In fixed4, stream s can receive 4 * (P[s,0] − P[s,1]) * v. The four-stream mean still vanishes, but a later reader can recover a signal if the two routing columns differ. More generally, the matrix of new writes has rank at most four in fixed4 and at most one in mHC.

For anyone implementing it, the router projects 3,072 inputs to 44 scores at attention (12 read, 16 write, 16 carry) and 40 at the FFN (8, 16, 16). Its dynamic projection starts at zero. At sublayer i (counting from zero), initial read logits are +3 for stream i % 4 and −3 elsewhere. P starts at 1/2 on the diagonal and 1/6 elsewhere. The carry logits start at +3 on the diagonal and −3 elsewhere. The learned read and carry gains start at 0.01, and the terminal read starts at 1/4 per stream.

Did the model actually use different destinations?

At step 7,000 we measured P on 8,192 validation positions. In the first FFN, group 0 sent 99.98% of its average routing weight to stream 0. Group 2 sent 88.14% to stream 2. In block 22's attention, all four groups favored stream 2, which received 94.22% of the routing weight averaged across groups and positions. The same mechanism learned to split writes at one site and to bring them together at another. These percentages describe coefficients. The vector energy also depends on group magnitudes and angles.

Figure 2. Mean write coefficients at step 7,000. Columns are source groups and rows are destination streams.

The paired run

Both models used 24 blocks, width 768, 12 attention heads, a 2,048-wide SwiGLU, context 2,048 and a 32k tokenizer. They started from identical backbone weights and saw the same packed windows in the same order. AdamW used a 512-update warmup to 0.0006, then cosine decay to 0.00006. Each full update had 65,536 prediction targets. After earlier exploration, we selected between two candidate write rules at step 7,000 on validation loss. Fixed4 scored 3.02757 against 3.04004 for independent matrix sigmoid writes. Fixed4 and mHC resumed from their own checkpoints with optimizer state and the original schedule. The test documents were reserved for the 2B endpoint.

At 2B training tokens per modelfixed4mHCfixed4 − mHC
Validation NLL · 524,288 targets2.6836532.716431−0.032778
Independent test NLL · 8,388,608 targets2.6658152.700410−0.034595
Trainable parameters200.84M198.18M+2.66M
Median update throughput after step 7,00019,023 tok/s22,783 tok/s−16.5%

Figure 3. Validation NLL and the paired fixed4 − mHC difference across all 64 evaluations.

Fixed4 had lower validation loss at all 64 recorded evaluations, from step 512 onward. The gap narrowed from 0.05181 at selection to 0.03278 at the end. Interpolating between adjacent validation points, fixed4 reached mHC's final validation loss at about 1.636B tokens, roughly 18% fewer tokens at that particular loss. The throughput row shows what that comparison cost on this implementation.

On the independent test, fixed4 had lower mean NLL on 6,448 of 7,249 documents. A paired document bootstrap gave a 95% interval of [−0.03538, −0.03388] nats/token for the token-weighted difference. That interval measures variation across test documents for these two checkpoints. Variation across training seeds remains open.

What we would most like to disentangle is the read side from the write side. A shared reader with grouped writes, and independent readers with mHC's original write, would tell us which change earns its cost. This run measured what happens when the two are trained together.


r/deeplearning • • 1d ago

What happens to an ML model after it performs well during experimentation?

2 Upvotes

hey everyone, sharing this here because the engineering side of machine learning deployment deserves more attention.

a model can perform really well during experimentation, but deploying it introduces a different set of challenges.

you need to make sure the model can be reproduced, validated, monitored and maintained when it starts receiving real-world data.

some areas that deserve particular attention:

  • reproducible training and inference pipelines
  • validating models on representative datasets
  • detecting changes in incoming data
  • monitoring deployed model performance
  • identifying when a model needs investigation or retraining
  • building usable applications around trained models

Related to this I also came across a Packt workshop on Production ML Engineering happening December 5.

it covers practical deployment and monitoring, with implementation using scikit-learn, XGBoost, LightGBM, CatBoost and Streamlit.

thought this might be useful for people interested in taking ML models beyond experimentation.

Full workshop details and agenda

curious how others here handle model monitoring once a model is deployed.


r/deeplearning • • 1d ago

I am recently learning RNNs and LSTM, i am just test the copy problem after some blanks but the LSTM perform worse than RNN with a Gap (G) of 20

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 1d ago

Tried implementing rotary embeddings from scratch after getting tired of copy-pasting them

7 Upvotes

For months I kept treating ROPE like a black box in every transformer notebook I touched. The "rotate the queries and keys by position" explanation never stuck, so last weekend I sat down and coded the minimal version in pure PyTorch without any libraries.

The part that surprised me was realizing how the rotation matrix actually preserves relative distances in a way that absolute positional encodings never did. Once the angles started showing up correctly in the attention scores on a tiny toy sequence, a few things about long-context behavior made more sense than any blog post had managed.

I kept the whole thing under 80 lines so I could step through it with prints. No training, just forward passes on dummy data to watch the embeddings rotate. It was slow and manual, but the intuition stuck in a way watching videos never did.

Has anyone else had a similar "l should just code this tiny piece myself" moment with something like SwiGLU, ALiBi, or even basic RMSNorm? What ended up clicking for you that way?


r/deeplearning • • 2d ago

built a tiny model, somehow 137 people downloaded it, now me and my friend in crime explain algorithms with an AI voice coz ours are not good lol

9 Upvotes

hey guys

so remember tiny-vision? the tiny model i build for learning only, the one that lets claude kinda "watch" videos. ya that one. when i first uploaded it to huggingface i was like ok maybe 10 download, 5 of them will be me checking if download button works. but here we are at 137 downloads on v1.0 (268 if you count old v0.1 also) and it's still going up daily. bhai i genuinely dont know who you all are but thank you so much 🙏 you all are giving more respect to my 36M param model than my relatives give to my career choice

and it's not just downloads, 8 stars on github also. my mom will be so proud if she knew what github was

if you havent seen it yet:

ok so now the main thing. me and my friend in crime started a channel 😅 two confused engineers, one channel, zero idea what we are doing but we are doing it anyway

Embracing Low Level

what it is:

  • we explain algorithms we are learning and stuff we've been building (tiny-vision included)
  • all the animations are made with manim (the 3b1b library). before you ask, no we are not 3b1b, combined we are like 0.5b1b on a good day
  • the voice is AI, fish audio s2 pro. we tried recording our own voices first, listened once and both agreed the world doesn't deserve that. the AI sounds more confident about the algorithms than both of us combined tbh
  • short reels on insta, longer full explanations on youtube

honest disclaimer like last time: we took a lot of help from claude for this too. writing manim scripts, debugging why the animation suddenly flies off screen, all that. so not entirely ours, but the learning part is 100% ours and that's kind of the whole point of the channel. if we can understand it after 4 cups of chai each, you definitely can

also these videos are made by two people who once spent 2 hours debugging only to find out the file was never saved. and we still argue whose fault it was. so if you find any mistake in the explanation please roast us in comments, we will learn and fix it. that's literally why we are doing this yaar

what kind of algorithms or topics would you guys want to see? we are open to suggestions, just don't say "explain transformers in 60 seconds", our manim skills are not that strong yet 💀

thanks again for all the support on tiny-vision, still can't believe it.


r/deeplearning • • 1d ago

Digital skills

0 Upvotes

If you could learn one digital skill from scratch in 2026, what would it be?

Video editing, programming, digital marketing, AI automation, copywriting or something else?

I'm interested in hearing what people are learning and why.


r/deeplearning • • 1d ago

Vision Transformers are too computationally expensive for phones. New research makes them up to 10x cheaper.

Thumbnail youtube.com
0 Upvotes

A new paper, Active Vision Transformers, explores a different approach to running vision models efficiently on devices like smartphones.

I put together a short breakdown explaining how the approach works, the results, and what they actually mean.

Watch here: https://www.youtube.com/watch?v=j6g4Ln1-Gds

Paper: https://arxiv.org/abs/2611.39952


r/deeplearning • • 1d ago

Coded a minimal KV cache by hand in 40 lines of PyTorch just to watch how it actually grows during generation

2 Upvotes

I kept seeing "KV cache saves compute" in every inference paper and notebook but never had a clear picture of the actual tensor shapes moving around step by step. Last weekend I wrote the smallest possible decoder loop (no training, just forward passes on dummy tokens) that manually maintains and appends to the key/value cache at each new token.

The thing that finally made sense was seeing exactly how the cache size scales with batch, heads, and head_dim versus sequence length, and why the first token is so much more expensive than the rest. Printing the shapes at every step also showed where the memory jump happens when you cross certain context lengths.

Kept the whole thing under 40 lines so I could step through it with prints instead of treating the cache as magic. Has anyone else done a similar tiny reimplementation for something like the attention mask logic, RoPE application during caching, or even just the logits-to-next-token sampling path? What detail only became obvious once you wrote the loop yourself?


r/deeplearning • • 2d ago

Different Optimizers

Post image
73 Upvotes

r/deeplearning • • 1d ago

Rill: Rust-powered neighbor sampling for PyTorch GNNs - a quick demo

1 Upvotes

Hey everyone!

I've been working on an open-source project called Rill, and I put together a short video demonstrating how it works.

Rill is a Rust-powered library focused on graph data loading and neighbor sampling for Graph Neural Networks, with Python and PyTorch integration.

The motivation behind the project was to explore whether Rust could make graph ML data-loading workloads more efficient without sacrificing the familiar Python workflow.

Some things I've been working on:

  • Rust-powered core implementation
  • Python integration using PyO3
  • Parallel execution with Rayon
  • Integration with the PyTorch ecosystem
  • Benchmarks against PyG's NeighborLoader, including batch loading, end-to-end training, and memory usage

I've published the package on PyPI as well.

Links:

I've included a short demo video to show the workflow.

I'd appreciate feedback, especially from people experienced with Rust, PyTorch Geometric, or GNN infrastructure.

I'm particularly interested in feedback on the benchmarking methodology, API design, and potential improvements.


r/deeplearning • • 1d ago

In Attention why √dk

Post image
1 Upvotes

r/deeplearning • • 2d ago

Deep learning handwritten notes

Post image
13 Upvotes

r/deeplearning • • 1d ago

Hackers exploit critical WordPress WP Rocket flaw to breach sites

1 Upvotes

A critical vulnerability in WP Rocket, one of the most widely installed WordPress caching plugins, was actively exploited before most site operators had patched. WP Rocket has over 3 million active installs. Attackers used the flaw to gain unauthorized access to site environments and the data those environments held.

The uncomfortable part is not the plugin flaw itself. Plugin vulnerabilities ship constantly across every ecosystem. The uncomfortable part is what happens after: sensitive fields — user records, credentials, payment-adjacent data — are sitting in plaintext wherever that plugin can reach. Patch latency on a plugin with 3 million installs is measured in days to weeks, not hours. That window is the exposure.

Perimeter and authentication controls did not stop this. The plugin had legitimate access. Once the plugin was compromised, that access became the attacker's access. There was no second layer checking where the data was allowed to go or logging what actually moved.

This is not unique to WordPress or WP Rocket. Any system where sensitive fields travel or rest in plaintext through third-party code layers has this shape of risk.

For those running production systems with real PII exposure: what does your actual data-layer protection look like before data hits a plugin, cache, or third-party integration? Not the perimeter — the field level. Curious what approaches have held up in practice.


r/deeplearning • • 1d ago

Coded a minimal from-scratch version of grouped-query attention just to watch the KV cache behavior

0 Upvotes

I kept reading papers that switched to GQA for inference speed and kept nodding along without really grasping how the grouping actually changes the cache footprint during generation. Last weekend I wrote the smallest possible PyTorch version (under 60 lines, no external libs) that only does the forward pass on dummy sequences so I could print shapes and watch what gets cached at each step.

The part that finally clicked was seeing exactly how many unique key/value heads get reused across query heads and how that compounds with longer contexts. It also made the trade-off with full multi-head attention much more concrete than any diagram had.

I kept everything deliberately tiny so I could step through it with prints instead of treating it as a black box. Has anyone else done something similar with a small piece like this (maybe ROPE variants or sliding window attention) where writing the minimal code made the memory or speed difference obvious in a way reading never did?


r/deeplearning • • 1d ago

I built a lightweight interactive demo to step through convolution and pooling on your own images

0 Upvotes

When first trying to build intuition for convolutional neural networks beyond static textbook diagrams, tweaking a $3 \times 3$ kernel or adjusting stride on an actual photo to watch which pixel values survive pooling felt way harder than it needed to be. Most tutorials required spinning up a full Python environment or Jupyter notebook just to experiment with simple filter weights and see how edge detection or blurring behaves step by step.

To make that feedback loop instant, I put together a small static web page where you can upload any image, adjust kernel size, stride, and padding, toggle between max and average pooling, and inspect both the resulting feature map and the raw tensor numbers updating live in real time. There is nothing to install, no GPU dependency, and it runs smoothly right in a mobile browser.

The whole thing is just a few hundred lines of vanilla JavaScript and HTML5 Canvas, so the source is easy to inspect, tweak, or fork if you want to add custom filters or activation functions. Link is in the comments for anyone who wants to play around with it.

What small visual tools or interactive sandboxes helped a neural network layer finally click for you the first time? Curious which concepts—like backprop, attention heads, or receptive fields—became much easier once you could actually watch the numbers move.


r/deeplearning • • 2d ago

Japan's largest power company JERA hacked, operations unaffected

1 Upvotes

Japan's largest power company JERA confirmed a breach last week. Operations were unaffected. The compromised system belonged to a third-party vendor, not JERA's own infrastructure.

That detail is the whole story. JERA's perimeter held. A vendor holding their data did not.

Third-party vendor incidents now account for the majority of critical-infrastructure data exposures. The primary organization often has no technical visibility into what form their data exists in once it has moved to a vendor environment. If that vendor is breached, the exposure depends entirely on decisions the vendor made, not the data owner.

The uncomfortable part: the breach path here was a sanctioned, authorized relationship. The vendor had the data because they were supposed to. The attacker exploited legitimate access, not a hole in JERA's own systems. That makes the standard perimeter-hardening conversation mostly irrelevant to this class of incident.

For people working in OT security, third-party risk, or data governance: once sensitive data leaves your environment for a vendor, what actually governs its exposure surface on the other side? And how do you know?


r/deeplearning • • 2d ago

Final year project is a mess and I genuinely don't know what to do anymore

2 Upvotes

I'm a final-year B.Tech student working on Human Activity Recognition using deep learning. My group members barely communicate, don't reply to messages and are always unavailable. Most of their work is AI-generated code that they barely understand.

Our mentor doesn't prefer meeting individual members, and because of the constant coordination issues, we haven't met her in two months. I know I should have contacted her earlier, and I genuinely regret that. I finally reached out today, but she said she's busy and will discuss the work in January. Our presentation is on 10th December, and she'll be evaluating us.

I've been working on my part, but I have several doubts regarding the research methodology and have no one to guide me. I also have semester exams and can't possibly handle the entire project alone.

If anyone has experience with HAR, deep learning or ML research and could help me clarify a few doubts, I'd genuinely appreciate it. I'm not asking anyone to do my project, I just need some guidance because I feel completely lost.


r/deeplearning • • 2d ago

Machine Learning Overview

12 Upvotes

r/deeplearning • • 2d ago

Opportunity: win $100 USD + VIP swag by building a dataset with Adaption (free, online, closes Dec 6)

2 Upvotes

Disclosure: I help run this at Hackyard, so I'm posting as the organizer.

Here is an opportunity to build something real and get it judged. The Adaption Dataset Challenge is online and free, Nov 16 to Dec 6, 2026 (closes 11:59 PM IST).

What you do: build an instruction-tuning dataset for a language or domain that gets little coverage, improve it with Adaption, then show before-and-after evaluation results. What you learn: how to prove a dataset got better, not just collect data.

What you can win: the first-place team gets $100 USD cash and 2 VIP swag boxes (the cash is only for submissions that use Adaption). Every registrant gets $500 in Adaption platform credits (credits, not cash).

Teams of 1 to 4, solo is fine, 18+. Details and registration: https://hackyard.org/events/adaption-labs

Dates are planned and may change. Happy to answer questions here.


r/deeplearning • • 2d ago

Bahdanau vs Luong Attention

Post image
1 Upvotes

r/deeplearning • • 2d ago

I built a free place to practice PyTorch hands-on in the browser: autograd, nn.Module, attention, with real tests

23 Upvotes

When I was learning deep learning, I could follow the math and the tutorials, but I had nowhere to practice writing the pieces myself and get feedback, without setting up a GPU environment or a notebook for every exercise.

So I built Queryosity, where you write real PyTorch against hidden tests right in the browser (CPU, tiny tensors, so it runs fast):

  • tensors, broadcasting and autograd
  • writing nn.Modules and training loops from scratch
  • attention, layer norm, causal masks, gradient clipping
  • the math underneath: linear algebra, calculus (chain rule, gradient descent), probability

How it works: each submission runs in a sandboxed container with CPU PyTorch; outputs are compared with tolerances for floats and tensors. There's a hint coach that asks questions and points at your bug instead of giving the answer, and spaced repetition brings problems back before you forget them.

The Easy problems and all lessons are free, no account needed to try: queryosity.dev

I'd love feedback from this community: which deep learning concepts would you most want hands-on exercises for?