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

18 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

💼 Resume/Career Day

2 Upvotes

Welcome to Resume/Career Friday! This weekly thread is dedicated to all things related to job searching, career development, and professional growth.

You can participate by:

  • Sharing your resume for feedback (consider anonymizing personal information)
  • Asking for advice on job applications or interview preparation
  • Discussing career paths and transitions
  • Seeking recommendations for skill development
  • Sharing industry insights or job opportunities

Having dedicated threads helps organize career-related discussions in one place while giving everyone a chance to receive feedback and advice from peers.

Whether you're just starting your career journey, looking to make a change, or hoping to advance in your current field, post your questions and contributions in the comments


r/learnmachinelearning • • 4h ago

Some ML exam problems for a class I sat in

Thumbnail
gallery
113 Upvotes

Continuing the dump going on in the sub. These are the exam problems for ML year 3 kids take in my department. I sat for this class as a grad student. twas fun.


r/learnmachinelearning • • 18h ago

Discussion IIT Patna ML midsem paper

Thumbnail
gallery
137 Upvotes

Saw some clgs sharing their ML qn papers so here is iitp's . Avg was 15ish/60 on this paper. So our prof decided to give an easier paper for endsem. Rate or roast this question paper


r/learnmachinelearning • • 2h ago

Project I built a free AI curriculum with quizzes and spaced review

2 Upvotes

Open Academy is an open-source engine for creating and studying courses. You can give your AI your notes or a textbook chapter and ask it to build a course in your AI chat app of choice using the MCP. You can then study in your browser or in your AI chat.

I had been using AI to learn new topics for a while but it felt very unstructured. I wanted lessons I could work through, quizzes to check what I’d understood, and reviews that bring topics back over time.

A couple of weeks ago I shared an early version of Open Academy in r/MathAcademy. I’ve made some improvements since then and thought I’d share it here.

AI Academy is the first curriculum I built with it, it covers:

  • Maths for ML: linear algebra, calculus, probability, and statistics
  • Machine learning: regression, classification, gradient descent, and model evaluation
  • Deep learning: neural networks, backpropagation, CNNs, and generative models
  • Transformers and LLMs: attention, pretraining, fine-tuning, RLHF, and evaluation
  • LLM inference: KV caching, quantization, speculative decoding, and model serving
  • Reinforcement learning: value functions, Q-learning, policy gradients, and PPO

If you think some topics are missing you can just extend the course through the MCP.

It’s free and open source, and you can try it out without logging in.

Let me know if you find it useful!

Try the first lesson
Full syllabus
GitHub


r/learnmachinelearning • • 2h ago

Tutorial I made a free 10-video path from tokenization to a tiny GPT-style model

2 Upvotes

I teach ML and wanted a more concrete answer to “how does a chatbot work?” than just calling an API. Here is the path I put together:

  1. Start with a working local chatbot preview so students see the destination. This preview uses pretrained open weights; it is NOT a model I trained from scratch.
  2. Turn raw text into tokens and IDs. See how tokenization choices affect what the model can represent.
  3. Build the transformer pieces: embeddings, causal masking, self-attention, and next-token logits.
  4. Train a tiny autoregressive language model from random initialization. It produces modest character-level output, but makes the loss, training loop, and sampling tangible.
  5. Connect that small exercise to the practical realities of training and improving larger models.

The free playlist is here: https://www.youtube.com/playlist?list=PLNDTRoZ-IiFs

I created the series. I would especially value feedback on which transition is hardest for beginners: tokenization to IDs, attention to logits, or loss to generation. I can expand the most confusing part in a follow-up explanation here.


r/learnmachinelearning • • 35m ago

Project I tried to prevent catastrophic forgetting in neural networks, here's what went wrong (I need suggestions)

Post image
1 Upvotes

r/learnmachinelearning • • 39m ago

what career field to choose data analyst or Ai engineering for 2027 and coming years?

1 Upvotes

hello everyone, i'm 24 now and got messed up about what to choose for my career. i have graduated with a bachelors degree in mathematics and it's been 2 years gap . what should i go for as a newbie in this field , should i choose data analytics or ai engineering as i don't have any knowledge about both. what courses , resources, projects should i go for , i know experienced guys like you would probably help


r/learnmachinelearning • • 10h ago

Resume feedback: 3rd-year diploma student, AI/ML projects and open source

Post image
6 Upvotes

Hi all, I'm a 3rd-year Computer Science diploma student in India. I'm looking for part-time, paid internships or small gigs in AI engineering (LLMs and agents) and ML/data science. My resume is attached with personal details redacted. I'd really appreciate honest feedback and don't want sugarcoating.

A bit of context so you can judge it fairly:

Internship: I got it through my college, where it was set up like a subject. It was purely learning-focused. We were assigned weekly tasks and had a meeting every weekend to go over updates on them. The resume bullets (YOLO fine-tuning, the used-car price model) come from those weekly tasks. I know that's different from a production internship, and I'm not sure how best to present it without overselling or underselling.

Projects: I've built three:

• Kwest: a LangGraph agent that automates the Kaggle competition loop.

• A deepfake audio detector: EfficientNet-B0 on Mel-spectrograms, deployed with FastAPI and Streamlit.

• A UFC fight predictor: built around leakage-free, chronological validation.

Open source: I have 6+ merged PRs in total. Some are small docs and test fixes in smaller repos, so I left those off the resume and listed only the more substantial ones (including scikit-learn), plus one PR still under review.

What I'd love feedback on:

  1. If I start applying to internships now (full-time or any type), will I be able to get one with this resume?
  2. Should I change any wording, or add or remove any section?
  3. Right now, could I realistically land a part-time role or paid gigs?
  4. Any other advice would be really helpful.

Thanks in advance


r/learnmachinelearning • • 16h ago

ML paper in tier 3 college

Thumbnail
gallery
18 Upvotes

r/learnmachinelearning • • 7h ago

Let every Transformer layer reach states at all depths (Paper + Video explainer)

Post image
3 Upvotes

In a standard Transformer, each layer only reads the KV cache from its own depth. A shallow layer can't use what deeper layers already computed for earlier tokens. Similarly, when deep layer need to reach shallow ones, the information will need to pass through the residual stream, which has a limited bandwidth.

Our recent work, WhiteMatter: All-to-All Cross-Layer Connections via KV Source Mixing, lets every layer read from every depth. Each layer's keys and values are a learned mix of states from all layers. Trained on the same number of tokens, it matches a vanilla model with 50% more layers.

The catch: a token's shallow layers now wait on the deep layers of earlier tokens, so training & prefill can't process all tokens at once. Our solution, cyclic iteration, matches token-by-token quality in 4 parallel passes. The Jacobi method use in prior works needs 53.

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

Video: https://www.youtube.com/watch?v=NCjJzBGdgTU


r/learnmachinelearning • • 10h ago

I probed every layer of Whisper-small and found emotion, age and sex in different layers, so I made one model that transcribes and reads the voice in one pass

5 Upvotes

I've mostly worked on speech-to-text. I wondered how much Whisper "knows" about a voice besides the words. The decoder only sees the last encoder layer, so I wanted to check whether the other layers hold anything useful.

They do. Different things live in different layers.

What I did

  1. Got the data. I used two acted emotion datasets, CREMA-D and RAVDESS, about 8,800 English clips. I split them by speaker, so the test speakers were never seen in training. This matters a lot. If you split randomly, the model learns the actors' voices and the scores look much better than they really are.
  2. Pulled out every layer. I ran each clip through the Whisper-small encoder once and saved all 13 hidden states. Each clip gives about 1500 frames per layer. I averaged them over time and also took the standard deviation, so each clip became one vector per layer. I only used frames with real audio, not Whisper's 30 second padding.
  3. Probed every layer. For each task (sex, age, emotion, and so on) I trained a simple linear classifier on each of the 13 layers and compared the scores. I also ran the same test on a Whisper with random weights as a baseline. That showed sex is so easy that even random weights get 99%, so I can't claim Whisper "learned" it.What I found:- Pitch, loudness and speaking rate were strongest in layers 1-2.- Sex was readable almost everywhere.- Emotion peaked in the middle, at layer 8.- Arousal (energy) was a bit higher, at layer 9.- The last layer, the one the decoder uses, was not the best for any voice cue.
  4. Added small heads. I put one logistic regression head on the best layer for each task. Whisper stays frozen and untouched. All 5 heads together are about 160 KB.
  5. Calibrated them. I used temperature scaling on a separate set of held-out speakers, so a confidence of 90% means about 90% in practice.
  6. Ran it in one pass. I run the encoder once, read the heads from the middle layers, and give the same encoder output to the decoder for the transcript. You get the words and the voice cues together.

Results on unseen speakers (1,704 clips)

- Sex (layer 5): 99.8% (chance 50%)

- Emotion, 6 classes (layer 8): 74.3% (chance 17%)

- Valence, negative/neutral/positive (layer 8): 84.4% (chance 33%)

- Arousal, high/low (layer 9): 83.1% (chance 50%)

- Age group, 3 bands (layer 10): 55.0% (chance 33%)

- Transcript WER: 4.7%

Example output

"Don't forget a jacket!"

Female voice (very likely); age group 20-34 (likely); sounds angry (very likely, 86%);

negative feeling, high energy; high pitch for a female voice, loud volume, normal pace.

Where it fails

- It's trained only on acted speech. Real conversations are much less dramatic, so expect worse results on normal speech. I haven't measured how much worse yet.

- Age is weak. 55% across three bands.

- It mixes up sad, fearful and disgust. In one test it called a disgust clip "sad" with 93% confidence. Calibrated doesn't mean always right.

- It's English only, and non-commercial, because of the RAVDESS license.

Things I tried that didn't work well

At first I fed all these outputs into a small LLM (Qwen 1.5B and 3B) to write a nice paragraph about the audio. It looked cool, but when I gave it wrong labels on purpose, it just repeated the wrong labels about 60% of the time. It was mostly rewording, not adding any understanding. So I dropped it and kept a simple rule-based summary instead.

What I think it could be used for

- Labelling speech datasets for expressive TTS. Datasets like SpeechCraft used many separate models for this; here it's one pass.

- Feedback for speaking practice: pace, loudness, how flat or energetic you sound.

- Tone tags on captions for deaf and hard-of-hearing viewers.

Model, code and full results: https://huggingface.co/Noobbbbb/whisper-small-voice-cues

Please verify the data on unbiased dataset as well before you use for your own use case. It was just like a case study to me.


r/learnmachinelearning • • 17h ago

Question Is machine learning THAT math heavy? Or am I just too naive? (Question related to recent ML test papers)

15 Upvotes

I wanted to learn machine learning cuz I found the idea of it interesting. My initial thoughts regarding machine learning was "why do the numbers make this output" and so I started learning through YT and Coursera.

I learnt how to use scikit learn, the various models, data cleaning, EDA etc... but there's been a few posts about Machine Learning papers from IIT or IIIT etc. and when I look at them, I feel like I'm very behind or just dumb straight up.

If I seriously wanted to pursue learning machine learning, what should be the ideal way? Or are the test papers displayed in those post "over exaggerated"?


r/learnmachinelearning • • 3h ago

Hey everyone! Remember me? The one who was tired of building house price prediction models and yet another chatbot? 😂

1 Upvotes

A while ago, I asked for ideas on what to build next, and one piece of advice really stuck with me:

"Stop looking for random project ideas. Start solving problems you actually face."

So, I took that advice and found my problem right in my inbox!

Managing emails was taking too much time: figuring out what's important, tracking deadlines, extracting tasks, and keeping up with interviews and follow-ups.

That's why I built RADAR – AI Email Assistant 🚀

RADAR helps you:

Classify emails into 10 categories.

Detect and prioritize important emails.

Extract tasks, deadlines, and events.

Summarize emails and highlight what needs your attention.

I'd really love to hear your feedback!

🔗 GitHub: https://github.com/radwahamada1/RADAR-AI-email-assistant

And once again, thanks to everyone who shared advice on my previous post. This project is partly because of you! ❤️


r/learnmachinelearning • • 3h ago

transformers - Hugging Face's Python framework that defines and runs many pretrained ML models https://www.reddit.com/r/the_ImmerSecGuy/submit?url=https://github.com/huggingface/transformers

Thumbnail
github.com
1 Upvotes

What it is: Transformers is Hugging Face's Python library that defines state-of-the-art pretrained models for text, vision, audio and multimodal tasks, for both inference and training.

How it works:

  • Each model is defined once, in PyTorch, and that definition is reused for inference and training.
  • Pipelines wrap preprocessing, the model, and postprocessing for a task in one class.
  • transformers serve starts a local server compatible with the OpenAI SDK, meant for evaluation and moderate load.
  • Models are loaded from the Hugging Face Hub by name.

Background: Pretrained models are learned weights plus code that tells the computer how to run them. When you download one, you trust both. Treating a model like a dependency means checking its publisher, reading its model card, and pinning versions, the same discipline you'd apply to any package.

Getting started: In a lab or VM, run uv pip install "transformers[torch]", then follow the README quick start, which creates a text-generation pipeline with Qwen/Qwen3-0.6B.

Limitations / open questions: The README describes the project's own design and claims, and I haven't tested them. Models on the Hub vary in quality and license, so check each model card. The README positions serving for evaluation and moderate load, not large production.

Has anyone built a model-vetting step into their pipeline? What did you check first? https://github.com/huggingface/transformers


r/learnmachinelearning • • 4h ago

Request DoorDash breached by attackers using AI, user data accessed

0 Upvotes

DoorDash confirmed a breach where attackers used AI tooling to access user data. The attackers moved through systems in ways that bypassed traditional perimeter controls — the AI component let them automate reconnaissance and exfiltration steps that would have been noisy or slow if done manually.

What makes this pattern dangerous is not the breach itself but what it exposes about how sensitive data sits in live systems. Once an attacker has access to a service account or API credential, user PII — names, addresses, partial payment data — is often queryable in plaintext, routable to arbitrary destinations, and gone before any alert fires. The data exists in a form that can be moved, and nothing in the request path is evaluating whether that move should be allowed.

This is not a DoorDash-specific architecture failure. Most systems storing user data at scale tokenize at rest but leave the data exposed in transit between internal services. An attacker operating inside that perimeter can query and exfiltrate freely.

How are teams at your orgs actually handling this — specifically the gap between 'data is encrypted at rest' and 'data is queryable by anything with a valid credential at runtime'? Curious what controls people have found that actually work in practice rather than just on a compliance checklist.


r/learnmachinelearning • • 19h ago

if you had to start again from scratch what would you do to learn ml

14 Upvotes

r/learnmachinelearning • • 14h ago

Request Is there a LeetCode for agent engineering? Where do you prove you can build production AI systems?

5 Upvotes

I'm a backend engineer in payments (Go, Kafka, AWS). I already build agentic tooling at work and want to move into agent/AI engineering roles.

LeetCode and HackerRank prove algorithm skills. I'm looking for the equivalent for agents: somewhere that shows I can build systems that hold up in production (evals, reliability, cost control, tool/MCP design, security), not just a demo that works once. I'm a backend engineer in payments (Go, Kafka, AWS). I already build agentic tooling at work and want to move into agent/AI engineering roles.

LeetCode and HackerRank prove algorithm skills. I'm looking for the equivalent for agents: somewhere that shows I can build systems that hold up in production (evals, reliability, cost control, tool/MCP design, security), not just a demo that works once.


r/learnmachinelearning • • 11h ago

Help Looking for Ideas for a Big Data & AI Engineering Final-Year Project in Agriculture

2 Upvotes

Hello everyone!

I'm currently in my final year of an Engineering degree in Big Data and Artificial Intelligence, and I'm looking for an interesting and meaningful project idea related to agriculture.

I'm particularly interested in combining AI, Machine Learning, Big Data, and potentially IoT to solve real-world agricultural problems.

Some areas I'm considering:

  • Smart agriculture and precision farming.
  • Crop disease detection using computer vision.
  • Predicting crop yields using historical and environmental data.
  • Irrigation optimization and water consumption prediction.
  • Soil quality analysis and crop recommendation systems.
  • Agricultural market price forecasting.
  • AI-powered decision support systems for farmers.

However, I'm open to exploring other ideas, especially projects that have real-world applications and could potentially evolve into an actual product or startup.

My questions:

  1. For those working in agriculture, AgTech, AI, or related fields, what problems do you think are worth solving?
  2. Are there any interesting datasets, research papers, or existing projects I should look into?
  3. What would make an AI/Big Data project genuinely useful to farmers rather than just another academic prototype?
  4. If you were doing this project, what would you build?

I'm based in Morocco, so solutions addressing challenges in agriculture, particularly in regions facing water scarcity, could be especially interesting.

I'd really appreciate your insights, experiences, and suggestions. Thank you!


r/learnmachinelearning • • 8h ago

Project BRAIN DSA: scegli tra 267 agenti AI, rispondendo sul tuo stesso dispositivo (Android e computer)

Post image
0 Upvotes

r/learnmachinelearning • • 8h ago

Interactive Neural Network Playground in Pygame & pure NumPy — live activation graph, 10 architectures, and GIF interpolation

1 Upvotes

r/learnmachinelearning • • 13h ago

Looking for 2 teammates: Zindi Fon speech-recognition challenge (ends 13 Dec, $5,000 prize)

2 Upvotes

We're entering the BENIN Fongbe Tonal ASR Challenge on Zindi: transcribe spoken Fon (a tonal language from Benin) with correct tone marks. The model must run offline on 1 CPU thread and be under 1 GB.

Team so far: a lead from Benin (handles organisation, data and submissions) and an ML member who has trained a GPT-style model from scratch.

We need 2 people who:

  • have fine-tuned a speech model (Whisper or wav2vec2), or have strong PyTorch/Hugging Face experience
  • have GPU access (Colab or Kaggle is fine)
  • can give 2 to 3 hours a day until 12 Dec and reply within a few hours
  • bonus: you read Fon or another tonal West African language

Prize split equally. We're realistic about the pace: if you can't commit, please don't apply, and that's completely fine.

DM me one ML project you've done and your Zindi username.


r/learnmachinelearning • • 16h ago

Which one should I learn, LangChain or LangGraph, according to the industry standards? I want to learn only one.

3 Upvotes

r/learnmachinelearning • • 10h ago

Day 1

0 Upvotes

Today real I realised late so I have done only some topics guys actually topic are 

1). Supervised learning 

2). UnSupervised learning  

3). Reinforcement learning 

4). Deep learning 

5). Neural network series by 3 blue 1 brown 

(5th topic only completed only one chapter )

And also suggest me some more topics and tag the resources so I can learn and become a trillionaire