r/learnmachinelearning • • Nov 07 '25

Want to share your learning journey, but don't want to spam Reddit? Join us on #share-your-progress on our Official /r/LML Discord

15 Upvotes

https://discord.gg/3qm9UCpXqz (Discord is currently closed)

Just created a new channel #share-your-journey for more casual, day-to-day update. Share what you have learned lately, what you have been working on, and just general chit-chat.


r/learnmachinelearning • • 1d ago

Question 🧠 ELI5 Wednesday

1 Upvotes

Welcome to ELI5 (Explain Like I'm 5) Wednesday! This weekly thread is dedicated to breaking down complex technical concepts into simple, understandable explanations.

You can participate in two ways:

  • Request an explanation: Ask about a technical concept you'd like to understand better
  • Provide an explanation: Share your knowledge by explaining a concept in accessible terms

When explaining concepts, try to use analogies, simple language, and avoid unnecessary jargon. The goal is clarity, not oversimplification.

When asking questions, feel free to specify your current level of understanding to get a more tailored explanation.

What would you like explained today? Post in the comments below!


r/learnmachinelearning • • 20h ago

FREE: Combined 6 free university courses on LLMs into one study path for software engineers

178 Upvotes

Berkeley's agent MOOCs, CMU's ML in Production, MIT's efficient DL course and Stanford CS336 are all free and great, but scattered. I put them into one path for devs with no ML background: 101 chapters, guides to all 77 lectures, 5 capstones, and Python examples that run without an API key.

Every chapter links back to the original lecture.

Site: https://acailic.github.io/ai-engineer-path/

Repo: https://github.com/acailic/ai-engineer-path

A free, self-contained course distilled from six open university courses:

  1. UC Berkeley β€” LLM Agents MOOC (Fall 2024)
  2. UC Berkeley β€” Advanced LLM Agents MOOC (Spring 2025)
  3. UC Berkeley β€” Agentic AI MOOC (Fall 2025)
  4. Carnegie Mellon β€” Machine Learning in Production (Christian KΓ€stner's course 17-645 and book)
  5. MIT β€” 6.5940 TinyML and Efficient Deep Learning Computing (Fall 2024)
  6. Stanford β€” CS336 Language Modeling from Scratch (Spring 2026)

If something's wrong, tell me or open issue.


r/learnmachinelearning • • 6h ago

LLM Explained

4 Upvotes

r/learnmachinelearning • • 37m ago

Project Building BubblSpace, a small language model from scratch, in the open.

Thumbnail
bubblspace.com
1 Upvotes

Training a 1B MoE model on single H100 with all stages for a budget of $1000

I wanted to share about this project. Model was trained on 1 H100 ( cheaper pcie version) along with a single A10 to run evals continuously on the new checkpoints. Model is trained on around 40 billion tokens. on same token budget BubblSpace is ahead of Olmo2 1b on Winogrande. Most phases will be done by tonight

objective

  • Run full pre training cycle (Phase1 Base model -->Phase 2 Agentic+Coding--> Phase 2.5a Mid training--> Phase 2.5b Context length extension --> Phase 3 SFT (Current) --> Phase 4 RL.
  • Write custom evals.
  • build data pipeline.
  • Perform small experiments ( like WSP) on new checkpoints.
  • Be confident before starting a DP/EP/TP run on bigger model.
  • Build a model which has better understanding of relationships ( Models that bind)

All the code , data , wandb runs & checkpoints are open and available of github/hf / wandb. (All the links are on project page https://www.bubblspace.com/) Since we use a single H100 we don't need DP.

Learning

  • Even on a single H100 profiling helped. Data loading optimizations help in a big way to reduce training time.
  • Importance of cool down / anneal phase- This was not very obvious to me however cooldown phase has a very big impact on small models.
  • Evals, evals & evals - It is very hard to understand how model is actually performing. Setting up a full pipeline right up front really helps.
  • Skills like calculation appear late- Olmo2 1b strained 4T tokens . Calculation skills appear late in training between 160b- 4T runs.

Next Project :A bigger model using parallelism with deeper profiling


r/learnmachinelearning • • 1h ago

Does reducing reasoning tokens actually make LLMs better? (Meta vs. UkisAI Swift)

1 Upvotes

I've been reading Meta's recent work on "overthinking" in reasoning models and UkisAI's technical report on their Swift models. I noticed that these approaches often conflate two different failure modes.

  • Overthinking: The model reaches the correct answer but keeps doubting itself and eventually changes it.
  • Looping: The model keeps repeating the same reasoning until it runs out of tokens.

Meta tried applying a decoding-time penalty to certain hesitation tokens (like "wait" and "but"). UkisAI tried a similar idea, but built a custom token list and also baked the behavior into the weights via LoRA.

The interesting part is the trade-off. Swift generated 24-51% fewer thinking tokens, but its math accuracy dropped (AIME fell from 98.7 to 94.0). Swift 1.5 recovered some of it through GSPO RL and distillation (AIME 96.0), but didn't fully get back to the base model.

This got me thinking: how do we actually know the model is reasoning better, rather than just generating less text?

A few things I'd like to understand better from the community:

  • Would the results look different with greedy decoding or lower temperatures? (UkisAI tested at temp 1.0, but looping is usually worst at low temps).
  • Can we definitively measure whether a model is looping less, rather than just producing shorter answers?
  • Could penalizing certain tokens inadvertently suppress useful verification steps?

I'm wondering whether token reduction alone is sufficient evidence to claim that reasoning has improved.

Curious to hear what others think, especially anyone who has experimented with inference-time optimization.

Papers:


r/learnmachinelearning • • 1h ago

The 86400x error that passes every dimensional check

1 Upvotes

I want to describe a bug class that bites people writing their first simulation, because the numbers stay plausible the whole way. You write an SIR model, declare the infection rate as 0.3 per day and step the integrator with t measured in days. Then one afternoon you switch the rate to 0.3 per second, or a helper returns seconds while the parameters assume days. The dimensions still match, 1/time against 1/time, so a dimension check passes and the curve just comes out wrong by a factor of 86,400. Nothing throws. You tune the parameters until the curve looks right again, and now the fit is meaningless.

That gap is what I built axiomize for. It is a modeling layer that takes a model declaration, keeps a versioned Model IR, and validates it before any numbers are produced. Units are mandatory on every parameter and variable, so a declaration looks like this: beta with unit 1/day, S and I in persons, N in persons, t in days. The check runs on canonical unit scales rather than dimension exponents alone, so 1/day against 1/s is refused instead of being accepted as both being inverse time.

The failure is loud by design. Simulation routes through the same validation as axiomize model --action validate, and a mismatch raises ModelDimensionMismatch carrying the failing checks rather than returning an array of numbers. There is also an audit for the quiet version of this problem: unit_declaration_audit reports every symbol that would silently default to dimensionless, which is usually where an unlabeled constant hides.

The part that mattered for my own work is what leaves the tool. Models export to canonical JSON, SBML Level 3, CellML 2.0, Modelica and a SHA-256 bundle, and values with units round-trip bit-exactly, which is asserted in the test suite rather than promised in prose. A run ledger keeps the provenance, so a stored result can be checked before someone reuses it. For coursework or a paper, that is the difference between shipping a notebook and shipping something a reviewer can rerun.

Install is pip install axiomize, or npm install -g axiomize if you want the Node entry point. The CLI has axiomize capabilities, axiomize solve, axiomize fit, and 16 actions under axiomize model, including plan, validate, simulate, numerical-verify and export.

What it does not do: it does not make a bad model good, it makes a bad model fail loudly. Numerical verification compares against closed-form theory and separates numerical error from stochastic variability before claiming convergence, but if your equations are wrong the tool will happily verify the wrong model consistently. Bayesian sampling needs the full extra with PyMC and JAX, and FEM needs FEniCS; both are reported as unavailable rather than silently swapped for something else.

One honest limit: dimensional and scale checking catches unit errors, not physics errors. A model with correct meters and seconds can still be the wrong model, and the worked examples in the repo use illustrative parameter values, not literature-backed ones. The checking is a floor, not a validation of your science.

MIT, 1.15.0 on both PyPI and npm: https://github.com/Furox-Art/axiomize


r/learnmachinelearning • • 8h ago

Request Critical Juniper Session Smart Conductor Flaw Exploited in Attacks

3 Upvotes

CVE-2026-103406 in Juniper's Session Smart Conductor allows remote attackers to execute arbitrary commands as root with no authentication required. CISA has confirmed active exploitation in the wild.

What makes this category of vulnerability different from a typical endpoint compromise: Session Smart Conductor sits at the traffic-routing layer. Root access there means an attacker controls flows across the entire network, not just the node they landed on. The blast radius is structural, not incidental.

Patching cadence rarely matches exploitation speed on CISA's KEV list. The gap between public disclosure and patch deployment is measured in days to weeks. Active exploitation means that gap is already being used.

For those running critical routing infrastructure: what does your actual containment posture look like when a core conductor process is compromised before a patch is available? Not asking about patching β€” asking about what limits propagation in the window before you can patch. Curious what practitioners are actually doing here, not what the frameworks say to do.


r/learnmachinelearning • • 3h ago

AI Engineer Interview Series | Part 01/10

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 3h ago

Looking for the Long Range Arena (LRA) Pathfinder dataset

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 14h ago

Question What AI Projects Should I Showcase in My CV in 2026?

8 Upvotes

I have 5 years of Python development experience and am targeting Senior AI Engineer roles.

I have experience with Python, FastAPI, LLMs, RAG and AI automation.

What 3–4 projects and technologies would make my CV stand out in today's AI engineering job market?

Looking for suggestions based on actual industry hiring trends, not basic tutorial projects.

Thanks!


r/learnmachinelearning • • 9h ago

Request How are AI generated videos of Jensen Huang made?

3 Upvotes

I remember back when GAN/VAE was first introduced there was a huge enthusiasm in learning about the mathematical model responsible for generating those images.

Now we can apparently generate all these videos yet I've not seen the same enthusiasm. Perhaps the tech is too difficult to be described by math model?

Can someone who is knowledgeable share both the practice and theory as to how Jensen Huang memes are made?


r/learnmachinelearning • • 3h ago

Up to what extent I should understand(differentiate) gradient descent, Adam and AdamW?

1 Upvotes

I will have a ml engineer interview on next Monday and I am trying to write a post about gradient descent, Adam and AdamW. But, now I feel lost.


r/learnmachinelearning • • 15h ago

How much of the algorithms do you write down from zero?

4 Upvotes

Do you write down SVM, neural networks and backpropagation, logistic regression, decision trees etc. from ground up using just numpy or do you think this is not a good use of time?


r/learnmachinelearning • • 8h ago

Adding vLLM and Modal Support to gpt-oss-chat

Thumbnail
debuggercafe.com
1 Upvotes

Up until now, the gpt-oss-chat backend was primarily powered by llama.cpp. Although this works well for local setup, there were major limitations when trying to tap into the benefits of other high performance inference engines, like vLLM or Modal endpoints. This is exactly what the latest update brings to gpt-oss-chat. We are adding vLLM and Modal endpoint support to gpt-oss-chat, which are OpenAI-compatible, complete with tool use and streaming.


r/learnmachinelearning • • 1d ago

Discussion Mentoring a few experienced engineers in Python, ML from first principles, until August 2027.

32 Upvotes

I've a research background from MIT and ICL. I'm not a full-time mentor. I teach because I love it, and because teaching keeps teaching me back. Explaining a topic makes me see it from angles I'd missed, and mentees often ask questions I'd never thought to ask myself. Teaching is also how I sharpen my own ideas. I like pushing the people I work with right up to the edge of what they can do, because that's where real understanding happens.

Why now

I'm writing two papers right now, one in mathematics and one in computer science. I'm also working with scientists and researchers in oncology while I learn that field properly. Around August 2027 I plan to move on to building my own startup, and that's when I expect to stop mentoring. Until then I have some time, and I'd like to spend part of it mentoring.

Who this is for

There's no shortage of ML or Python material online. If anything there's too much. It's easy to spend months jumping between courses, threads and videos without ever seeing what actually matters or how the pieces fit together. If that sounds familiar, this is for you.

I mainly work with people who have industry experience, for two reasons. The first is discipline: working professionals tend to show up and do the work. The second is that you've seen enough to tell real value from noise. You'll know quickly whether this is worth your time, and you're free to stay or walk away.

What we'd work on

Mostly Python in depth, the maths behind ML (linear algebra, probability, calculus) and ML itself. The focus is always on why things work, not just how to use them. The path depends on where you are now and where you want to go.

On the "mentor" label

Over roughly two years of mentoring, people have kindly called me an outstanding, even rare, mentor. But I feel I am kinda bad at it, though I try to improve every now and then. I'm not saying that to sell anything. It's simply the standard I try to meet every session. You can judge for yourself:

If you're interested

Comment or DM me with a short note: your background, what you're working toward and where you feel stuck. I can only take a few people because the research comes first, so I'll reply to everyone but may not be able to take everyone on.

Thanks for reading, and good luck with whatever you're learning.


r/learnmachinelearning • • 17h ago

Help CNN Architecture and Hyperparameter Recommendations for Google Quick, Draw! (20 Classes)

3 Upvotes

I'm training a CNN on the Google Quick, Draw! dataset with 20 classes, approximately 2,000 samples per class (40,000 images total), resized to 28Γ—28 grayscale images.

I'm aiming for around 90–93% test accuracy, but I'm struggling to find a suitable architecture. I've tried different numbers of convolutional layers, filters, fully connected layers, and neurons, but training takes quite a long time on my laptop, and the accuracy sometimes plateaus or even decreases after a few epochs.

I'd appreciate some practical recommendations regarding:

What is the minimum reasonable number of convolutional layers?

How many filters should I use in each convolutional layer (e.g., 16, 32, 64)?

How many fully connected layers should I have, and how many neurons in each?

Would max pooling after each convolutional layer be beneficial?

What optimizer, learning rate, batch size, and number of epochs would you recommend?

Any tips to achieve 90–93% accuracy without making the model unnecessarily large or computationally expensive?

I'm training on a laptop without a dedicated GPU, so computational efficiency is important.

If anyone has experience training CNNs on Quick, Draw!, I'd really appreciate suggestions for a good starting architecture and hyperparameters.

Thanks!


r/learnmachinelearning • • 11h ago

Request FIFA Says It Has Been Victim of a Cyberattack Accessing 'Personal and Business Information'

0 Upvotes

FIFA disclosed it was the victim of a cyberattack that accessed personal and business information. The organization has not stated the volume or nature of records affected. For a global governing body that holds contracts, payment data, and identity records for millions of people across dozens of jurisdictions, that silence signals the exposure is wide.

The breach pattern here is not unusual. The attacker gains access, reaches a data store, and exits with real records. The organization discovers this after the fact. Affected individuals and counterparties absorb the consequences with no warning and no recourse at the moment it happened.

What makes this scale of exposure particularly damaging is not just that someone got in. It is what was sitting in those stores in a form that was immediately useful once retrieved. Payment data, identity records, and contract details for a global operation covering dozens of jurisdictions represent an enormous surface area of live, actionable information.

For those working on data infrastructure at organizations with similar scale and jurisdictional spread: how are you thinking about the gap between stopping an attacker from reaching your data stores versus controlling what they actually walk away with if they do?


r/learnmachinelearning • • 17h ago

Suggest some courses for ds and ml

3 Upvotes

I'm looking for some high-quality, affordable or free courses that can not only strengthen my resume but also help me develop a deeper understanding of the subject.

I'm a first-year CSE student with a basic foundation in Python. I'm familiar with libraries such as NumPy, Pandas, Matplotlib, Seaborn, and Scikit-learn.

I also have a basic understanding of Data Science (I've studied from Data Science from Scratch by Joel Grus) and various Machine Learning algorithms, including Decision Trees, Random Forests, Gradient Descent, XGBoost, HistGradientBoosting, AdaBoost, CatBoost, and SVM.

I'm particularly interested in Data Science and Machine Learning and would love recommendations for courses that focus on building strong fundamentals, developing practical skills, and gaining a deeper understanding of the underlying concepts.

Book recommendations, useful learning resources, project ideas, or any other suggestions are also very welcome!

Thanks in advance!


r/learnmachinelearning • • 17h ago

ML challenges in credit scoring, collections, and fraud detection?

2 Upvotes

I’m preparing for an ML Engineer interview at a Moroccan consumer finance company. For people who’ve worked on credit scoring, collections, or fraud detection, what were the toughest real-world problems you faced with data, model performance, or deployment? Short practical lessons would be really helpful.


r/learnmachinelearning • • 13h ago

help with ideas on how to improve small coding model i am building

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 1d ago

Discussion Why a real-time multimodal assistant should not sample every signal at the same rate

27 Upvotes

In the LingSante-Live architecture thread, Ant Ling separates three observation rhythms: movement needs frequent updates, video-based physiological estimates need stable windows, and device readings can arrive as events. That is a useful systems distinction. Sending every frame through the same reasoning path can waste compute, while sparse sampling can miss a change in activity.

I would evaluate an adaptive sampler by task rather than with one global interval: missed movement events, stability of a physiological estimate as the window changes, and the time from a device event to updated guidance. The thread explains the design choice; it does not publish those measurements or validate the physiological estimates. Which signal would you let trigger a new foreground response, and which would you leave for the background?


r/learnmachinelearning • • 13h ago

Project I’m building a free, interactive AI & ML book that runs on any Vulkan GPU (no CUDA or ROCm needed β€” tested on a Steam Deck) β€” looking for feedback!

Thumbnail billyblackburn.github.io
1 Upvotes

Hey everyone!

I noticed that almost every hands-on ML/deep learning guide assumes you have a modern NVIDIA CUDA GPU, a supported ROCm card, or a cloud GPU subscription. I wanted to learn (and teach) how AI actually works from the ground up on the hardware I already own β€” my Steam Deck β€” so I started putting together an interactive, follow-along book bundled with a pure-Vulkan GPU toolkit (vkdata).

You can read the first 6 chapters right in your browser/phone (no install required):

What’s in the book so far:

  • Part 0 Β· Foundations (Building Blocks of Neural Networks):

    • The Perceptron: All 5 basic single-neuron logic gates (AND, OR, NOT, NAND, NOR), watching a single straight line learn, running a smooth GPU neuron, and hitting the XOR wall.
    • Multi-Layer Perceptrons (MLPs): Solving XOR by wiring 3 perceptrons together, proving why activation functions (GELU/ReLU) are mandatory, visualizing 1 Neuron (60%) β†’ 4-Neuron Diamond MLP (100%) β†’ Deep MLP Circle (100%), and connecting 3 β†’ 17 β†’ 1,185 parameters up to 8B in Llama 3.
  • Part I Β· End-to-End Projects (Classical ML vs. Deep Learning on the exact same split):

    • California Housing (Regression): Feature discovery & Classical ML ($69.6k raw baseline β†’ $52.7k GPU KNN) vs. a Residual MLP ($48.2k RMSE, RΒ² = 0.828).
    • Fashion-MNIST (Images): Classical CV (PCA "Eigen-Clothes" + hand-crafted Sobel/HOG edges β†’ 86.45%) vs. a 2D CNN trained directly on raw pixels in 46s on a Steam Deck APU (87.85%, boosting Shirt by +11.5 points).

The repo also has deeper chapters on writing Vulkan GPU kernels in Python, UMAP/manifold learning, and training a tiny Llama-style Transformer.

I’d love your honest feedback on:

  1. Clarity for beginners: Do the Foundations chapters (Perceptron β†’ MLP β†’ LLM parameters) make sense without feeling too hand-wavy or too math-heavy?
  2. Reading experience: How does the mobile/web version look and flow?
  3. What should come next? Would you rather see a Foundations chapter on Backpropagation & Gradient Descent, or another end-to-end Classical ML vs. Deep Learning project (like imbalanced classification / churn)?

Thanks for taking a look β€” any critique or suggestions are super welcome!


r/learnmachinelearning • • 14h ago

Can u help me pls with AI tensors

Thumbnail reddit.com
0 Upvotes