r/deeplearning • • 14h ago

I collected all 24 of Hugging Face's free, book-length interactive guides (Ultra-Scale Playbook, MoE Handbook, Smol Training Playbook...) in one place

15 Upvotes

If you've read the Ultra-Scale Playbook, you know how good these are: long-form, interactive, with real numbers from real training runs. Hugging Face has published a whole series of them, but they're spread across different orgs and Spaces, so they're easy to miss.

I put them all in one Hugging Face collection: https://huggingface.co/collections/justjuu/hf-playbooks-and-interactive-explainers

The core series

  • The Ultra-Scale Playbook: data, tensor, pipeline and context parallelism, ZeRO, and training on large GPU clusters
  • The Ultimate MoE Training Handbook (new): ~70k words and 55 interactive figures on training Mixture-of-Experts models
  • The Smol Training Playbook: the end-to-end story of training SmolLM3, from ablations to post-training to infrastructure
  • FineWeb: how to build a pretraining dataset at scale
  • The Evaluation Guidebook: how to evaluate LLMs properly

Data: FineTasks, FinePDFs, FinePhrase (synthetic data), FineVision

Post-training & RL: on-policy distillation, the TRL distillation trainer, RL environments for agents, async GRPO, chat templates and tokenization for agentic RL

Architecture & concepts: flow matching, looped transformers, encoder-free VLMs, NLP before LLMs, how the transformers library is engineered

Robotics: LeRobot's robot learning tutorial, robot folding

Bonus: the companion GPU memory predictor for the Ultra-Scale Playbook, and the open-source template these guides are built with, in case you want to write your own.

If I missed any good ones, drop them in the comments and I'll add them.


r/deeplearning • • 6h ago

Time Series Lag Problems

Thumbnail gallery
4 Upvotes

Hi everyone, I'm having an issue with lags on time series models predicting U.S. housing prices (FHFA HPI as the target) and I can't figure out where they're coming from (I'm no expert by any means). I've hand-built simpler models, but I'm using Claude Code for this project because it's larger. I've collected over 600 features: global, national (40 countries), and metro (393 U.S. metros). The attached table shows the different models we've tried - starting simple'ish and moving to building our own hierarchical transformer. The problem (the attached charts show an example) is that all the forecasts significantly lag the actual observations - ON ALL THE DIFFERENT MODELS by roughly the same amount. A 1-year forecast lags actuals by about 4-5 quarters. A 2-year forecast lags actuals by about 8-9 quarters. Same with 3- and 5-year (charts attached). On all runs. So the lag is pretty much the exact forecast horizon. I've experienced late calls on turns before, but nothing so consistent across all model types. So I'm pretty sure I'm doing something wrong, but don't know what. Any ideas or help would be appreciated.


r/deeplearning • • 3h ago

17 million lines of Lean proved Riemann. Here's why everyone expected it

Thumbnail youtu.be
3 Upvotes

r/deeplearning • • 11h ago

Seed: an experiment in building a small modular AI from scratch on a GTX 1660 Ti, looking for feedback

Thumbnail reddit.com
3 Upvotes

r/deeplearning • • 13h ago

Why is LLM inference hard?

3 Upvotes

When I first heard about inference engines, like vLLM, I wondered what makes inference so challenging. That’s why I decided to learn more about LLM inference from a systems perspective. If you already know how transformers work, then this is a fun topic to explore next.

https://mehrdadmahabadi.com/blog/why-is-llm-inference-hard.html


r/deeplearning • • 6h ago

Drupal Flaw Found by Anthropic Scanner Exploited in Attacks

1 Upvotes

An Anthropic-built scanner identified a vulnerability in Drupal. Then that vulnerability was exploited in live attacks anyway.

The discovery-to-exploitation gap is a known problem. What gets less attention is what AI scanning agents actually do while they run. These tools need broad access to find what they're looking for. Some need to touch production systems to confirm exploitability. The scanner that found this flaw had enough access to identify it — which means it had enough access to interact with the affected surface in ways the organization may not have fully inventoried.

Security teams are deploying AI agents faster than they're defining what those agents are permitted to do. Credentials scope the account. Nothing scopes the agent's actions within that account. When a scan runs, there is often no durable, independent record of exactly what the agent touched, in what order, and what it attempted beyond its logged output.

The flaw was found. The flaw was later exploited. Everything in between — what the agent did, what it accessed, what it left behind — is the part of this story that isn't in the headline.

How are you handling this in practice? Do your AI security tooling operate under any defined per-action scope, or is access control handled entirely at the credential layer — and has that been enough?


r/deeplearning • • 16h ago

[Article]: UGLF: Uncertainty-Gated Global-Local Fusion for Generalizable Face Forgery Detection

Thumbnail reddit.com
1 Upvotes

r/deeplearning • • 10h ago

Hackers Exploited CVSS 10.0 Hex.pm RCE Flaw to Compromise 6 Package Registry Servers

0 Upvotes

A CVSS 10.0 RCE flaw in Hex.pm was exploited to compromise 6 package registry servers. The build pipelines themselves were not the entry point. The attack moved through dependencies that executed at runtime — after the artifact was already signed, scanned, and deployed.

This is the part static analysis does not reach. The build is clean. The signature checks pass. The malicious behavior shows up later, in what the running process actually calls and touches. Six servers is the confirmed count from this incident. The exploited surface was not in the code that shipped — it was in what that code pulled in and ran.

Security teams are getting better at hardening the build side. The runtime side — what actually executes, what it calls, what it writes, what it reaches out to — is where the gap keeps showing up.

For those working on this: what does your current approach look like for controlling what executes at runtime versus what was verified at build time? Are you treating them as the same problem or separate ones?


r/deeplearning • • 21h ago

building my own LLM from 0

0 Upvotes

i've started around a month ago and i've done a little bit here and there, but usually i'm just scraping a little bit specific every now and then.. because I just want this to be my very own thing that i create and not just a fine-tuning, like a lot of other people have said that I should do but no,

i just want to learn while i do this (and i have learned quite a lot) in the future when i will have more data and more valuable structure i will simply use Kaggle to train it in separate steps.

(and yes, i'm using AI to build this as well because frankly i don't really know how to do such a complex thing)


r/deeplearning • • 21h ago

Alternative Approaches to Symbolic Regularization of Neural Training

Thumbnail youtube.com
0 Upvotes

r/deeplearning • • 21h ago

Can a system learn from experience without backprop or Transformers? I built one to find out, and the results confused me

Thumbnail github.com
0 Upvotes