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 • • 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 • • 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

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

Alternative Approaches to Symbolic Regularization of Neural Training

Thumbnail youtube.com
0 Upvotes

r/deeplearning • • 3h ago

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

Thumbnail youtu.be
3 Upvotes

r/deeplearning • • 21h ago

Looking for Real-World ANN (Artificial Neural Network) Project Ideas

0 Upvotes

Hey everyone!

I'm currently learning Artificial Neural Networks (ANN) as part of my Machine Learning journey, and I'm looking for some good project ideas.

I don't want to build the usual beginner projects like handwritten digit recognition or basic house price prediction.

I'm more interested in real-world, industry-level projects that solve actual problems and could potentially be used in companies.

A few things I'm looking for:

  • Projects using ANN / MLP.
  • Practical business or industry applications.
  • Intermediate to advanced difficulty.
  • Projects where I can work with real-world datasets.
  • Something that can be developed into a complete application.

I'm open to domains like finance, healthcare, automation, cybersecurity, business applications, etc.

I'd appreciate any project suggestions, GitHub repositories, datasets, or examples of how companies use ANN in real-world applications.

Thanks!


r/deeplearning • • 16h ago

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

Thumbnail reddit.com
1 Upvotes

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 • • 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