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

8 Upvotes

https://discord.gg/3qm9UCpXqz

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 2d ago

Project 🚀 Project Showcase Day

5 Upvotes

Welcome to Project Showcase Day! This is a weekly thread where community members can share and discuss personal projects of any size or complexity.

Whether you've built a small script, a web application, a game, or anything in between, we encourage you to:

  • Share what you've created
  • Explain the technologies/concepts used
  • Discuss challenges you faced and how you overcame them
  • Ask for specific feedback or suggestions

Projects at all stages are welcome - from works in progress to completed builds. This is a supportive space to celebrate your work and learn from each other.

Share your creations in the comments below!


r/learnmachinelearning 12h ago

Neetcode 150 for ML Interviews > ml-150.com

Thumbnail
gallery
165 Upvotes

I've been prepping a lot for ML interviews these past months, and was surprised there isn't a comprehensive resource covering all the essential concepts needed for ML roles. Every other field seems to have one - Leetcode for SWEs, the Green Book for quants, Wall Street 400 for bankers.

So I wrote ML 150. It's a list of the 150 most important ML interview questions to master, distilled from 5,000+ real interview stories at FAANG + other frontier labs. Topics include:

  • ML Foundations (Loss Functions, Bias-Variance, Regularization, Optimizers, Eval Metrics)
  • Classical Supervised Models (Linear & Logistic Regression, kNN, SVM, Decision Trees)
  • Deep Learning Theory (Backprop, Initialization, Normalization, Training Dynamics, Probes)
  • Sequence & Generative Models (Transformers, Diffusion Models, VAEs)
  • LLM internals

It's 100% human-written, where I try to share how I understand each ML concept, starting from very basic intuitions, then slowly building up to each result. Lots of examples + analogies of course. I hope this will be helpful for anyone studying ML or seeking out ML roles!

ML 150 is still very much a work in progress, so I deeply appreciate any thoughts, feedback, or comments on what I should write about next! Thank you all :)

Gavin


r/learnmachinelearning 13h ago

I trained a 67M-param LaTeX OCR model that runs on a laptop CPU — and built a new style-aware dataset to train it. Weights, data, and training code all open (MIT).

Thumbnail
gallery
32 Upvotes

Hey everyone! I've been working on a little side project I want to share: latex-ocr, a standalone formula OCR model — you feed it an image of a math formula, it spits out the LaTeX source.

The main hook: it's only 67M parameters, so it runs comfortably on a laptop CPU. No GPU, no 300M-parameter monster to load. It's a CoCa-style model (contrastive captioner adapted for OCR), and despite the small size it beats the 107M UniMER-tiny baseline and gets pretty close to the 325M one on plain formulas.

The part I'm actually most proud of is the dataset. Real papers don't just use plain symbols — you see \mathbb{R}, \mathcal{F}, \mathfrak{g} everywhere, and existing OCR datasets basically ignore font styles, so models trained on them can't read (or hallucinate) those macros. So I rebuilt ~1.3M formulas with a MathJax → SVG → PDF → PNG pipeline and injected font-style macros with semantic heuristics (number sets → \mathbb, vectors → \mathbf, differentials → \mathrm). On that styled test set it clearly outperforms all the baselines — fair warning though, those baselines are zero-shot on styled data, so take that comparison with a grain of salt. The plain-split numbers are the like-for-like ones.

Everything is open: model weights and dataset on Hugging Face, training recipes included if you want to reproduce or fine-tune it yourself, MIT license. There's also a FastAPI server and a Gradio web UI, so you can drag-and-drop an image and see the LaTeX with a rendered preview.

Repo: https://github.com/PadishahIII/latex-ocr Model: https://huggingface.co/PadishahIIIXXX/latex-ocr Dataset: https://huggingface.co/datasets/PadishahIIIXXX/latex-ocr-dataset

Happy to answer questions about the training setup, the data pipeline, or anything else. Would love feedback — especially if you try it on your own gnarly formulas and it breaks, that's genuinely useful.


r/learnmachinelearning 8h ago

Am I just an idiot

10 Upvotes

Okay so Im 36 so i havent been in school in a while, but its so overwhelming to learn machine learning. Concepts like gradient boosting, regularization, etc just require so much focus that I end up thinking im too dumb to waste time in this field..


r/learnmachinelearning 5h ago

Title: Looking for good resources to learn machine learning

3 Upvotes

Hello all,

I have been studying programming for one year already, and lately, I have got more and more interested in machine learning.

I have created several projects, for example, pathfinding bots and classifiers, and now I want to find some materials which could explain what is happening **under the hood** in frameworks like scikit-learn.

I want to learn how those algorithms work and what the math behind them is rather than learn how to use those functions from a framework.

All sorts of materials are welcome – books, courses, slides, PDFs or anything else.


r/learnmachinelearning 6h ago

Discussion 1 year into AI/ML engineering — If you were in my position, what would you do to become genuinely excellent at AI?

3 Upvotes

I have around 1 year of industry experience as an AI/ML engineer, and I want to seriously level up over the next 1–2 years.
I’m not looking to become someone who just knows how to use APIs, build basic RAG applications, or glue together existing models. I want to develop the kind of depth where I can actually understand what I’m doing, build things from scratch when necessary, read and implement papers, and eventually be capable of working at a strong senior/research-engineering level.
The problem is that there are so many things to learn — ML, deep learning, mathematics, LLMs, systems, distributed training/inference, research, DSA, software engineering, etc. — and I don’t want to spend the next couple of years consuming random courses without actually becoming significantly better.
So I’d really like to hear from people who are already working at a strong senior/research level in AI:
If you were starting again with ~1 year of experience, what would you learn and in what order?
What topics would you go extremely deep into, and what would you only learn practically?
Which courses/books/resources genuinely made you much better?
How much mathematics did you actually learn, and which parts turned out to matter?
How would you balance DSA/interview preparation vs AI/ML depth vs software engineering?
What kinds of projects would actually make you a substantially better engineer rather than just look good on a resume?
How would you approach implementing research papers?
Are there particular papers or repositories you think every serious AI engineer should work through?
How would you approach contributing to open source if your goal is to become a better engineer/researcher?
What skills do you think aspiring AI engineers massively underestimate?
And most importantly: what would you NOT spend time learning?
I’m specifically interested in hearing from people who have already gone through this transition — Senior AI Engineers, Research Engineers, ML Engineers, researchers, etc.
If you could go back to having ~1 year of experience and had 12–24 months to become dramatically better, what would you do?
I’m looking for honest answers, including things you tried that turned out to be a waste of time.
Thanks!


r/learnmachinelearning 34m ago

Question Is Linux good for ML Model Training and ML Model Inference ?

Upvotes

Is driver support for RTX GPU good ? What about libraries ? I mostly have work in the vision domain and audio domain. Mostly libraries needed will be ultralytics (for YOLO), huggingface, ollama, vLLM

If possible please do tell me which distro too

Last question is Linux lightweight. Like Windows is super heavy right now so a big pain that is so if possible do tell


r/learnmachinelearning 1h ago

Thoughts on ODSC AI Engineering Accelerator

Thumbnail
odsc.ai
Upvotes

Hi all,

I'm considering this AI Engineering course. To give you context, I have been working as data analyst at a medtech company for quite awhile with my degree in Math and Stats from nearly a decade ago. I'm starting to feel like they are using AI in everything at my job and it's either sink or swim if I don't integrate AI in all my workflows and expand my role by the end of this year. My role is becoming more obsolete and my manager would like me to get more involved in data engineering or our AI team to create cutting edge products. I'm familiar generally with machine learning concepts, at my job I use Claude but not to the level that's expected or ever deployed an AI application.
I realize this course has a hefty tag. I do know myself in that I can start to teach myself something but I have a tendency to not be consistent and I need a little structure or accountability.


r/learnmachinelearning 8h ago

Looking for people interested in helping build a small agent-focused LLM project

3 Upvotes

I’ve been working on a project called Ion, mostly by myself, and I’m getting to the point where doing the datasets, evals, training experiments, tooling, and agent infrastructure alone is getting kinda insane 😭
The main focus right now is agent/tool-use behavior, especially failure recovery. I’ve been building curated JSONL “gold” traces that include things like:
tool calls failing
retries that also fail
deciding when to recover vs abort
Git/filesystem/permission errors
reasoning around tool results
keeping the final answer consistent with what actually happened
I’m also experimenting with multi-agent workflows where separate models can generate data, criticize it, defend it, benchmark checkpoints, etc.
I’m not looking for employees or paid work. Mostly looking for 1–3 people who genuinely enjoy this stuff and want to collaborate/open-source/build together.
Especially interested in people who know or want to work on:
synthetic dataset generation + curation
LLM fine-tuning / LoRA
evals and benchmarks
agents / tool calling / MCP
training infrastructure
local models
You absolutely do not have to be an expert. I’d rather work with someone curious who actually builds things than someone who just knows all the terminology.
If this sounds interesting, comment or DM me and I can show the current datasets/project direction.
Bonus: I currently have AI bots whose literal jobs are “Dataset Maker,” “Hater,” and “Defender,” so development has already become a tiny dysfunctional company


r/learnmachinelearning 3h ago

AIML GUIDE PLS

Thumbnail
0 Upvotes

r/learnmachinelearning 18h ago

Project An LLM interview end to end tool

15 Upvotes

Hi everyone! I've spent the last few months building an Al/LLM interview prep product and it's finally ready.

I started it out of frustration. Preparing for Al/LLM interviews meant either grinding through long video courses or bouncing between scattered resources, and neither actually got me interview-ready or confident to say.

So I built a product I wanted myself, designed to get anyone interview-ready in 30 days:

1) Gamified interactive quest cards with story/focus modes, the relevant Python code on the same card, deep dives into how each concept came to be, interview questions & answers related to the concept. You also get tested in each card to pass it.

2) In-IDE coding where it helps, quick recall, an Al tutor, and spaced repetition.

3) 30-minute Al voice mock interviews that grill you like a real interviewer would.

4) Daily boss challenges that grill you on the cards you actually struggled on.

5) Tailored text based interviews for various levels of jobs in the AI domain.

5) An end-to-end 5 part RAG capstone project, with real interview questions at each stage (retrieval, evaluation, deployment) that interviewers actually test candidates on in 2026.

The idea is simple: learn the concept within 15-20 mins, understand it properly, practise explaining it, then get tested on it.

It covers everything from tokenization and attention through to RAG, agents, evaluation and deployment, structured as a 30-day path.

The Foundations section is open for everyone: Skillumen


r/learnmachinelearning 4h ago

AIML GUIDE PLS

Thumbnail
0 Upvotes

r/learnmachinelearning 8h ago

Help Working on an unusual NLP task with almost no literature

2 Upvotes

Third-year PhD student, NLP, mostly LLM-based reasoning. My PI gave me a task I'd never seen framed anywhere. Given a collection of a private organization's HR policy documents (100-500 PDFs), find all pairs of clauses that contradict each other. Honestly, I wasn't excited at first, but the more I dug, the weirder it got. There's a mountain of work on NLI-style contradiction classification, but that assumes someone gives you the sentence pair. Here, the pair is the problem. With about 1-2k clauses, you're looking at millions of candidate pairs. So brute-force pairwise LLM calls are out, and whole-document prompting fails for the usual lost-in-the-middle reasons. The closest work I found generates synthetic contradictions in synthetic corpora to test detectors. I borrowed the evaluation idea by injecting contradictions into corpora. I also used a university HR handbook and one dataset with existing external annotations, contractNLI (made for the NLI task by Stanford). I used this one as well because it has real contradictions. But this one is quite different. In this dataset, the task formulation is like hypothesis versus clause, whereas in the first two datasets, I do clause-to-clause comparison. So I built a two-stage pipeline. First, retrieval with a HyDE-style approach where the query is a hypothetical, contradicting version of each clause. Then, recall-based candidate retrieval (LLM), followed by precision-based verification with an LLM, where each candidate pair is re-read within its source documents. The contributions: I used contextual sentences guided by Anthropic, which helped retrieval, and showed that a document’s surrounding context helped precision. Agentic verification (tools, multi-step) actually underperformed a single prompt. As a case study, I ran the pipeline on a public government policy corpus. It found a few genuine contradictions. I have a few questions. Am I missing a community? I can't believe nobody works on this. I've looked at legal NLP (ContractNLI, etc.), requirements engineering conflict detection, and RAG-conflict work. They're all adjacent, but none does discovery over a real multi-document policy corpus. Is there a literature I don't know the name of? My PI is leaning toward a lower-tier conference or journal. Is this the kind of paper that has a chance at a first-tier NLP venue, or is my PI just being realistic? If you were strengthening this in one month, what would you add? I already have NLI, direct-prompting, and agentic baselines. Happy to share more details in comments. Mostly, I want to know whether this problem is as understudied as it looks from where I'm sitting, or whether I formulated the task the wrong way.


r/learnmachinelearning 5h ago

Codex for machine learning

1 Upvotes

Do you guys use codex for your ml work I find it insane from time series forecasting to placing top 98 percent on numerai it seem al problems are easily solvable. It does insane ensemble residual modells find good parameters and implements everything correctly


r/learnmachinelearning 5h ago

Discussion Capability improvement ≠ safe recovery

0 Upvotes

We recently studied a failure mode in self-evolving LLM agents:

A modification can improve capability and still be difficult or impossible to safely undo later.

Across 600 unseen self-evolution tasks, we found 197 capability-improving mutations that failed recoverability verification.

Two bottlenecks stood out:

  1. State grounding — knowing exactly what prior state must be restored.

  2. Recovery-language expressivity — having the runtime operations needed to express the correct recovery.

This motivated EvoUndo, where persistent self-modifications are evaluated not only for forward improvement, but also for whether the previous state can be recovered across counterfactual states.

I’m one of the authors.

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


r/learnmachinelearning 5h ago

Is it a problem that AI reviews our AI generated code?

0 Upvotes

Most of our backend is agent written at this point, maybe 70%, and the only consistent review it gets before a human skims it is coderabbit, which catches real things but is still a model reading a model. Our pentest is 5 months out and I keep thinking about the fact that nothing with actual understanding has read most of this codebase.

The part I can't reason my way out of: if the generator and the reviewer share the same blind spots, the review confirms the code instead of checking it. A human reviewer disagrees with you in ways a model trained on the same corpus might not.

For people running security sensitive stuff, do you treat AI review as a real control or just noise reduction before the human? And has anyone actually caught the same-blind-spot problem in the wild?


r/learnmachinelearning 10h ago

Help need urgent help for ner deberta training

2 Upvotes

hi,
i am trying to train a deberta model for NER detection

this is my first time doing it so i would love any guidance on it.

my current pipeline looks like this,

dapt + lora for pretrianing, hpo with optuna (which consists both the stages of training data), and then a 2 stage finetuning which helps in generalization and then target data.

i am trying to reach a really good score for f1 on my use case (which i want to keep private for now)

i have few questions as well
1) do i need a two stage hpo as well cuase of the 2 stage finetuning
2) is it better if the hpo training set is a subset of the actual training set?

if you think anything can be improved and made better, or you think the pipeline is outright wrong, please mention your reasonings and thoughts :)

ps: lora was used cause of gpu budget constraints


r/learnmachinelearning 12h ago

I built MLForge to make starting Python ML projects less repetitive

3 Upvotes

I've been working on a reusable starter structure for Python machine learning projects.

I noticed that I was repeatedly doing the same initial work whenever starting a new project:

  • Loading and preprocessing data
  • Data profiling and EDA
  • Feature engineering
  • Trying different ML algorithms
  • Cross-validation and hyperparameter tuning
  • Model evaluation and visualization
  • Saving and loading trained models

So I put these workflows together into MLForge, a structured Python ML starter kit.

The main goal was to make the project structure reusable while keeping the code easy to understand and modify. I didn't want it to be a black box where someone just runs a script and gets a prediction.

It currently includes classification and regression workflows, notebooks/templates, sample datasets, model evaluation utilities, and a project report template.

One of the more challenging parts was deciding how much to abstract. Too little abstraction makes the kit repetitive, while too much makes it difficult for beginners to understand what's actually happening.

I'm interested in feedback from other builders:

When you start a new Python ML project, what do you usually end up rebuilding from scratch?


r/learnmachinelearning 7h ago

Welcome to r/MLSystemsDesign

0 Upvotes

Welcome to r/MLSystemsDesign

This community is for practical discussions on designing and scaling production ML and AI systems.

Topics can include:

  • ML training and inference platforms
  • Search, ranking, and recommendation
  • Feature stores and data pipelines
  • LLM serving and GenAI systems
  • Agentic AI platforms
  • Evaluation, observability, and experimentation
  • ML system design interview problems
  • Real production tradeoffs and lessons learned

The goal is simple: go beyond model theory and discuss how ML systems actually work in production.

If you’re joining early, introduce yourself and share one ML system topic you’d like to go deeper on.


r/learnmachinelearning 8h ago

Career Need help regarding my anomaly detection experience

0 Upvotes

So recently I have been really interested in anomaly detection across ioT networks, industrial equipments , healthcare and etc, I have read and reproduced some Q1 journals papers , built some projects using self supervised and federated learning techniques which I am now planing to extend as well ,

I am working under my university professor on some research papers as well however he recently suggested that I should do some sort of practical work in this domain (like working as a researcher etc for an organization or company in this field), I have gone through LinkedIn and stuff, found some companies too but I am honestly not sure what should I do, how should I apply as they don't have any current openings whether I should build some more projects, learn something else and then apply, do some more research etc

I really need guidance on how should I proceed further?

Thank you


r/learnmachinelearning 9h ago

What next

0 Upvotes

I just started learning about transformers after completing a project where I used LSTM, RNN, XGBOOST and Garch to predict stock prices. It was moreover the comparison of the models performance. I am now into the transformer part and I learnt the self attention with the help of Andrej's Lets built GPT video. Currently, I am trying to build a decoder only transformer from scratch and replace the Karpathy's approaches like position embedding table to RoPE. I am a rising junior in NJ from a small college. I am worried if I am on right path as the deadline to apply for the internships for summer 2027 is approaching. Please help me out !


r/learnmachinelearning 1d ago

Project A 3D robot arm which evolved to reach targets using a genetic algorithm and a mlp neural network

Enable HLS to view with audio, or disable this notification

92 Upvotes

i have evolved a population of 3D robot arms which had the goal to reach a target.

It's vibecoded with chatgpt and Codex.

My first attempts weren't successful until codex 5.6 sol high did an optimization of the input then it was very quick to evolve to reach the target.

My next step is to try to evolve a 3D Walker where for now I'm unsuccessful.


r/learnmachinelearning 9h ago

Complete beginner — I want to build an app for my college. Where should I start?

Thumbnail
1 Upvotes

r/learnmachinelearning 10h ago

What role does the learning rate usually play?

1 Upvotes

I am studying machine learning and don't understand: what role does the learning rate usually play? And also, what can early stopping be used for?