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 • • 5h ago

💼 Resume/Career Day

1 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 • • 13h ago

Discussion IIIT ALLAHABAD ML endsem

Thumbnail
gallery
119 Upvotes

Saw someone from IIT Bombay post their ML endsem, and I had to post this. Yesterday we had our ML endsem.

Undergrad


r/learnmachinelearning • • 12h ago

Coded a GPT2 Model using Python and Pytorch without Vibecoding

Post image
45 Upvotes

I have been building an LLM from scratch for learning purposes. Reading about transformers and LLMs never really scratched an itch that I have had. So, I started building one, without any vibe-coding. This is all "organic" code. With so much AI assisted coding, it is a nice change of pace.

The screenshot shows an output of a GPT2 model's output with an input prompt "I am hungry". The model has been pretrained on 20 public domain books for 10 epochs. It took around 50 minutes to train and the output looks quite real and non-giberish, right? Very iInteresting

Shout out to, Sebastian Raschka, PhD, as his resources really helped clear up things. Maybe later, I'll share a more in-depth idea about what I learned.

Link to the notebook : https://www.kaggle.com/code/sakibbai/building-a-basic-gpt2-from-scratch


r/learnmachinelearning • • 1d ago

Help IIT Bombay End Sem ML question paper.

Thumbnail
gallery
608 Upvotes

r/learnmachinelearning • • 34m ago

Help MNIST training time optimization, please help

2 Upvotes

Hey there, my long term goal is to make a OCR and i have started ML a few months back, 3 days ago i started to make a CNN for the MNIST data set (60k training images and 10k test images) i achieved an accuracy of 92.20% but i was using stochastic gradient descent for every single image (60k x 3 epochs = 180000 updates). i then tried using batching and used a batch of 100, the time to train reduced significantly but the model became extremely dumb and got a accuracy of 16.67%. reducing batchsize does improve the accuracy at the cost of more training time. i have seen people train this entrie data set with more epochs than me in under half a minute but idk why i cant do it

PS: i have written every function in the architecture myself but optimized them using pytorch's tensor mutiplication instead of python loops. my main use of pytorch is to make tensors and autograd. all of the the tensor multiplications happen in my GPU and not my CPU


r/learnmachinelearning • • 3h ago

Somehow made it to 4th & final round for an ML co-op (30 min w/ ML Director & ML Lead) even though I felt rough on the technical — what to prep & offer odds?

3 Upvotes

I have my final interview next week for an 8-month ML Engineering co-op at a major Canadian Retail compant, and honestly I’m a bit surprised I even made it this far.

So far I’ve done 2 HR rounds and a technical round with the ML Lead. I didn't feel like I did great on the technical part at all, though the actual conversation with both HR and the Lead went really well. Now I'm in the 4th and final round, which is 30 mins with the ML Director and the same ML Lead, and HR described it as "conversational."

Nobody has really asked me about my resume projects yet either, so I'm not sure what to expect. Should I prep for a deep dive into my resume, retail ML use cases (forecasting, pricing, etc.), or mostly behavioral/fit? Also, if anyone has been through a loop like this where they felt shaky on the technical and still got moved forward, how good are the odds at this point and what should I ask the Director?


r/learnmachinelearning • • 6h ago

Any resources for LLM and RAG

4 Upvotes

Hi all , so I'm an undergrad student, with strong fundamentals in Machine Learning I wanted to start LLMs and RAG , where do I start ? And any recommended resources?


r/learnmachinelearning • • 4h ago

Project I visualized gradient descent with three step sizes. What happens at η = 1.10?

3 Upvotes

Same starting point, same quadratic loss surface, three step sizes. For this tzero lab experiment I rendered f(x, y) = (x² + 1.7y²)/2 and checked the Excel and Colab results against the same update rule.

Before running it: would η = 1.10 converge or diverge, and why? And which made the behavior clearer: the 3D paths or the loss plot?


r/learnmachinelearning • • 3h ago

Request You watch what goes into the agent; the data leaves on the way out

2 Upvotes

We ran a two-month review of agent security incidents across our environment and two of them shared the same pattern: the threat wasn't in what the agent received, it was in what it sent back out.

In the first case, the agent embedded sensitive internal data inside a legitimately formatted response — the kind that would sail through any input filter because input filters weren't looking at outputs. In the second, the agent was operating under a service account with broad internal trust, and it used that trust to move data to an external destination as part of a routine-looking workflow step.

Both incidents cleared every inbound check. The data was gone before anyone realized the inspection surface was one-directional.

This feels like a structural blind spot in how most teams are deploying agents right now — the entire security stack is oriented toward what comes in, while agent outputs route to APIs, storage, downstream services, and external endpoints with far less scrutiny.

For those of you running agents in production or reviewing incidents like these: where are you actually watching the outbound side? Is your current setup inspecting agent outputs and their destinations the same way it inspects inputs, or is that still a gap?


r/learnmachinelearning • • 1h ago

i need an experienced computer scientist to look at my project and if possible guide me toward the correct path

1 Upvotes

i have been working on something called mixture of steering vectors , got the idea from a paper used similar method in image generation models , and i was potential for llm , its simple using the moe routing idea , router the forward pass into experts , but in my case is , i added vectors in 3 layers at a base dense llm , 1 set for each expert " 1 set =3 vectors " so for now i have set for story writing , debugging , and other stuff , idea is to train these vectors with examples of specific topic to gain a behavior change with llm working in that topic , , example if the input token about story writing the router would pick the writing vectors set for this token , and repeat each token " router fires see token and choose expert " , its learned router to choose correctly based on the data train separated and tuned with the model , ,, difference is , using a small dense model and squeeze every bit of performance from by steering its behavior and tokens choices ,

my issue is , i have reach my knowledge limit " still cs undergraduate student" , and i would appreciate any one that can give advice or steer the idea into better path

this the repo link , its public and anyone welcome to contribute

https://github.com/mhndayesh/MoSV-Mixture-of-Steering-Vectors

this is not promotion or ad


r/learnmachinelearning • • 1h ago

Looking for a Kaggle Partner to Learn and Upskill Together!

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 2h ago

I made a free site for practicing how AI systems are designed, with no model training involved

1 Upvotes

I made fix-the-pipeline for people who want to learn the engineering around language models: caching, cost, choosing a model, context, retrieval and evals. This isn't ML theory, and you won't train anything.

It works like LeetCode. You get a small AI system with one thing wrong, its rules and prices stated. You pick an answer, work out a number, arrange pieces, edit a settings file or write Python. A wrong pick on an easier multiple choice problem tells you why it's wrong.

There's a two-minute tutorial, then five problems that climb from Easy 1 to Medium 6. The first ones ask things like where a cached prompt should end and what one request costs. No account needed for those: https://fixthepipeline.dev/start-here

It's free and most problems need no API key. It's early, so I'd like to know where you got stuck, especially if you're new to this.


r/learnmachinelearning • • 2h ago

Self Attention Mechanism Course

0 Upvotes

Hey, with some friends we developed a course to teach self-attention mechanisms for LLMs in a browser. This is for a uni class where we study peoples use of AI helpers during learning. It's all anonymous and no data will be kept once we finish the study (end of December).

If this interests you, feel free to participate ! It's about 30-40 min and there's a cute dog 🐶 to keep you company while you complete the exercises. Also if you guys have any feedback, feel free to put it in the feedback section at the end or the comments !

https://attentionseeker-education.vercel.app


r/learnmachinelearning • • 7h ago

MLE interview for Google

2 Upvotes

Hello Everyone,

I have been working in fields related to data for the past 4 years now. I have worked as Data Analyst, Data Engineer and MLE. Recently I was shortlisted for MLE interview at Google and I have my phone screening coming up in a few days.

I have been practicing Leetcode problems but nothing much on ML apart from the basic concepts. It will be great if someone who has some experience can help me with the preparation or any specific questions that might be asked for "Applied AI" specialisation.

Thanks in Advance!


r/learnmachinelearning • • 4h ago

Confused neuron

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 8h ago

Recommend me best beginner friendly project for Machine Learning !!

2 Upvotes

Currently I know numpy, panda, mathplotlib, sckit learn and somewhat pytorch

I'm thinking for building Heart Disease Prediction Model


r/learnmachinelearning • • 6h ago

Learning RAG: what should I get right first, chunking, embeddings or retrieval evaluation?

1 Upvotes

I'm a student learning Retrieval-Augmented Generation. I understand the basic flow: split documents into chunks, embed them, store in a vector database, retrieve the top results, and pass them to an LLM. Where I'm unsure is what matters most in practice. How do you choose chunk size? When is a hybrid of keyword and vector search worth it? And how do you check that retrieval is actually good before blaming the LLM? Any beginner-friendly resources or small project ideas would help.


r/learnmachinelearning • • 10h ago

Help Python dev with 6 years of experience transitioning to AI Engineering, what would you prioritize?

2 Upvotes

Hi everyone! This is my first post on Reddit.

I've been a software developer for 6 years, mostly working with Python, and I'm trying to transition into AI Engineering. The problem is that I feel pretty lost: every piece of content I find recommends a different path ("learn this", "learn that"), and it's hard to tell what actually matters.

So I'd love to hear from people who have made this transition or already work in the field:

  1. Given my Python background, what would you study first?
  2. How much of the fundamentals (math, classical ML) do you really need as an AI Engineer, compared to focusing directly on LLMs, RAG and agents?
  3. What kind of projects would you recommend to build a portfolio that stands out?
  4. Was there any course, book or resource that made a real difference for you?

Thank You Guys to help me, i'm realy lost


r/learnmachinelearning • • 7h ago

Request Short Survey (3–5 min): Understanding ML/LLM Monitoring and Debugging Experiences

1 Upvotes

Hey everyone!

I'm conducting a small academic research survey to understand how developers, students and researchers currently monitor and debug their Machine Learning and LLM workloads.

I'm particularly interested in the challenges people face when investigating training/inference performance, hardware utilization, memory bottlenecks and model-level behaviour.

The survey takes around 3–5 minutes, and your responses will help inform the design of a developer-focused monitoring and diagnostic dashboard.

Whether you're an ML engineer, researcher, student or someone experimenting with Transformers and LLMs, your experience would be valuable.

Participation is voluntary, and I'm not collecting names or email addresses.

Survey link: https://forms.gle/aRBBX8H3NEZtACXS9

Thanks a lot for helping out! I really appreciate it.


r/learnmachinelearning • • 7h ago

Request Your coding agent trusts the repo, and the repo is the attack

0 Upvotes

Coding agents inherit trust from whatever context they're given. That includes the repo.

In a two-month incident review, we saw this pattern twice: malicious instructions embedded in a codebase or dependency coax a coding agent into executing an action the developer never sanctioned. The agent reads the content, treats it as legitimate context, and acts — committing code, triggering a deploy, or exfiltrating data. The model isn't malfunctioning. It's doing exactly what it was trained to do with the input it received.

The attack surface is quietly large. Any file the agent reads during a task — a README, a config, a third-party module, an inline comment — is a potential injection point. The agent has no way to distinguish 'this is a legitimate instruction from a maintainer' from 'this was planted by someone who got a commit into this dependency.'

Two confirmed incidents in sixty days is a small sample, but it's also two more than most teams are tracking, because most toolchains have no visibility into what an agent actually did versus what a developer intended.

For those running coding agents in production or CI environments: how are you handling the boundary between what the agent is allowed to read and what it's allowed to act on? Is the control at the prompt level, the tool level, somewhere else, or not yet solved?


r/learnmachinelearning • • 16h ago

Help Guidance for 2nd year CSE-AIML student

5 Upvotes

Completed 3rd sem and I want to start AIML from now onwards . Its not like I want to complete it in 30 days that ik, is not possible. I just want to start early . I dont have any idea which course or whats the pathway to start honestly. It will be great if you help me with this. I have done python basics already ( except library and file handling ).please help me with this


r/learnmachinelearning • • 11h ago

Help me I don't know what happen but My LSTM get worse in val after training more : (

Post image
2 Upvotes
# HYPERPARAMETERS


## Size configs
T = 64 # context window
E = 128 # Embading dim
B = 128 # Batch Size


H = 256 # Hidden size
# chnage this to 256


DROPOUT_P = 0.2



## loder
NUM_WORKERS = 2


## Training configs


LR = 1e-3
SCHEDULER = {
    "milestones": [20],
    "gamma" : 0.1
}


EPOCHS = 10


loss_fn  = nn.CrossEntropyLoss()

r/learnmachinelearning • • 8h ago

RAG vs Agentic RAG

0 Upvotes

A RAG agent never sees the true answer in its knowledge base, only whatever retrieval returns. So it keeps a belief state and updates it with each retrieval. That's a POMDP.
Seen that way, the "advanced RAG" tricks (iterative retrieval, reflection, re-ranking) are all just ways to fix a belief built on noisy observations.
Wrote it up with a tiny worked example:

https://aisystemsnotes.substack.com/p/agentic-rag-isnt-just-rag-with-extra?r=94sr06&utm_medium=ios&shareImageVariant=template_blur

How do you think about what an agent is "doing" when it retrieves?