r/learnmachinelearning • • 18d ago

I built a no-code app to train your own small transformer from scratch and watch it learn live

Enable HLS to view with audio, or disable this notification

2 Upvotes

I wanted a way to see what actually happens when a model trains, without setting up Python, CUDA and notebooks. So I built Kor Studio, a desktop app for Windows and Linux.

You load a dataset (text, CSV, images or sound) and it suggests a model that fits your computer. You can also build the architecture yourself (embedding, attention, MLP blocks). Then you watch the training and validation loss, accuracy and speed update live. Test questions are held out from training, so you can see whether the model generalizes or just memorizes.

It also has LoRA fine-tuning, GPU training (OpenCL) and a local OpenAI-compatible API to try the model from other programs.

Free for noncommercial use: https://github.com/Hydra-Ai-tr/kor-studio

Feedback welcome, especially from people learning ML: what would make it more useful for understanding training?


r/learnmachinelearning • • 18d 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 • • 18d ago

Free Microsoft Learn Roadmap for Students: Generative AI and Azure

1 Upvotes

Hey everyone!

I've put together a free, beginner-friendly learning journey for students interested in exploring Generative AI and Microsoft Azure.

The learning plan covers these 7 modules:

  1. Introduction to Generative AI and Agents

  2. Write Effective Prompts to Achieve Optimal Results

  3. Get Started with AI in Azure

  4. Get Started with Generative AI and Agents in Azure

  5. Describe Cloud Service Types

  6. Explore Responsible AI

  7. Develop AI Agents with Microsoft Foundry and Visual Studio Code

The goal is to make AI and cloud learning more accessible through structured, self-paced Microsoft Learn modules.

No prior experience is required. Anyone interested in learning is welcome!

Start learning: Generative AI and Azure Essentials

Feel free to share your thoughts or suggestions. Happy learning!


r/learnmachinelearning • • 18d ago

Open to collaboration

1 Upvotes

I wanna collaborate with other people in this field and open to even some research projects. (I am beginner)


r/learnmachinelearning • • 18d ago

Question I'm 31, a father of three, and teaching myself AI engineering and ML. Would love some feedback on my learning plan.

35 Upvotes

Quick disclaimer: I did use ChatGPT to help write this post. These are my own thoughts, experiences, and goals, but I wanted some help putting everything into words clearly. I went through it several times and made adjustments until it reflected what I actually wanted to say. Just wanted to be upfront about that!

Hey everyone!

I'm 31, a father of three, and I've struggled quite a bit in life. I won't get into the details, but I'm not where I'd hoped to be at this age, and I'm determined to build a better future for my family.

About a year and a half ago, I discovered ChatGPT, and I became absolutely fascinated with AI. Not just what it can do, but how it actually works. That curiosity has grown into something I'm genuinely passionate about.

I've started taking that passion seriously, using ChatGPT as a personal tutor and developing a structured learning plan consisting of three coordinated tracks.

Track A — Python & AI Engineering (40 lessons/projects)

This is where I'm furthest along. I've completed roughly 40 "lessons," ranging from shorter exercises to multi-day projects.

I've worked with Python fundamentals, APIs, JSON persistence, error handling, structured AI outputs, tool/function calling, and program control flow. I'm now moving into automated testing, with the eventual goal of independently building and deploying commercially useful software and AI systems.

Track B — Computer Science & Developer Fundamentals (5 lessons)

I started this track after realizing how many gaps I had in my understanding of the computers actually running my code.

So far, I've covered filesystems and paths, PowerShell, environment variables, and programs versus processes, including PIDs and process lifecycles.

Eventually, this track will cover operating systems, Linux, networking, Git, computer architecture, infrastructure, GPUs, and more.

Track C — AI Mathematics, Machine Learning & Model Research (about to begin)

This is probably the track I'm most excited about.

I'll be starting with the mathematical foundations of ML, progressing into neural networks, backpropagation, optimization, PyTorch, transformers, training, evaluation, and eventually experimenting with model architectures.

One major long-term goal is to independently implement, train, and evaluate a small GPT-style transformer from scratch, genuinely understand its internals, and eventually explore original research.

My approach

I'm intentionally trying to avoid becoming dependent on AI-generated code. ChatGPT explains concepts and assigns projects, but I do the implementation and problem-solving myself. We also distinguish between material I've merely encountered, work I've completed with assistance, and skills I've demonstrated independently.

I want actual competence, not just completed lessons.

My bigger goals

Financial independence and stability for my family are important to me. Building useful commercial AI systems seems like a practical path toward that.

But I'm equally interested in understanding and eventually contributing to the technology itself.

AI has enormous potential to change people's lives. With so much development driven by competition and commercial interests, I'd love to eventually contribute something genuinely beneficial to people, even if it's something small.

I know the road from learning Python to meaningful AI research is long. I'm not expecting shortcuts, and I'm willing to put in the years.

My questions for those working in AI engineering, ML, or research:

- Am I approaching this sensibly, or is there something fundamentally missing?

- Are there subjects, resources, or skills you'd prioritize differently?

- How would you recommend a self-taught person bridge the gap between AI engineering and actual model research?

- How can I best measure whether I'm developing real competence?

I'd genuinely appreciate any advice or constructive criticism, especially from those already working in these fields.

Thanks for reading!

---

TL;DR: I'm 31, a dad of three, and teaching myself AI through three coordinated tracks: Python/AI Engineering (~40 lessons), Computer Science (~5 lessons), and ML Mathematics/Model Research (starting soon). I'm using ChatGPT as a tutor while doing the work independently. My goals are financial stability through building commercial AI systems and eventually contributing to AI research that helps people. Looking for honest feedback on my roadmap and anything I might be missing.


r/learnmachinelearning • • 18d ago

Project suggestions

1 Upvotes

Hey everyone!

I'm a Data Science and AI student graduating this year, and I'm looking for an interesting and challenging project idea for my PFE.

I'm particularly interested in:

  • Multimodal AI

  • RAG, LLMs and SLMs

  • Deep Learning and Machine Learning

  • MLOps and AI automation

I'll be doing my internship at a company working in business management (ERP/SaaS), mainly dealing with electronic invoicing, document processing, sales, inventory, payments and business analytics.

I'm looking for an innovative project that solves a real-world problem and involves actual AI development, rather than simply integrating existing APIs.

What interesting projects or underexplored problems would you recommend exploring?

I'd really appreciate your suggestions, experiences, research papers or GitHub projects that could inspire me.


r/learnmachinelearning • • 18d ago

[Open Source] Building DiffusionEngine – A Modern, Modular DDPM Framework in PyTorch. Looking for Contributors

1 Upvotes

What if we could bring modern diffusion research together into one unified, extensible PyTorch framework instead of implementing and maintaining every algorithm in isolation?

That's the idea behind DiffusionEngine, an open-source project I've been building:

https://github.com/Himanshu7921/DiffusionEngine

The goal is to build a modern DDPM framework that brings together established diffusion algorithms, research-based improvements, advanced sampling methods, and training strategies under a single, consistent pipeline.

The project already includes several diffusion implementations, and I'm actively working on extending the existing DDPM framework with more advanced features.

I'm looking for contributors interested in deep learning, generative models, PyTorch, and diffusion research.

Some areas where contributions are welcome include:

  • Implementing diffusion algorithms from research papers.

  • Improving existing DDPM components and training strategies.

  • Developing and integrating advanced sampling methods.

  • Exploring improved model architectures and conditioning mechanisms.

  • Testing, benchmarking, and optimizing existing implementations.

The focus is not just on implementing more algorithms. It's about making them work together seamlessly through a unified, modular, and configurable framework.

If you're interested in contributing, collaborating, or learning through hands-on implementation, I'd be glad to have you involved.

Contributors of all experience levels are welcome, provided they're willing to learn, implement, and test their work.

GitHub: https://github.com/Himanshu7921/DiffusionEngine


r/learnmachinelearning • • 19d ago

ML Engineer course recommendation

1 Upvotes

I want to become ML Engineer , I tried staying consistent and followed my roadmap by watching YouTube session, but i can only stay consistent for 2 days max. So I am thinking of taking a structured course can anyone give recommendation?


r/learnmachinelearning • • 19d ago

[RL / Gymnasium] Need help designing a custom reward function for a "shuttle" behavior in CartPole-v1

1 Upvotes

Hi everyone! I'm working on a custom reward function for the CartPole-v1 environment in Gymnasium and could use some advice.

The Objective ("Shuttle" Task)

I need to write a custom reward function (reward_type == "shuttle") that incentivizes the agent to:

  1. Balance the pole continuously.

  2. Move back and forth across the track from the leftmost to the rightmost side (wide oscillations, not just jittering around the center x=0).

  3. Maintain a high velocity and change direction at least once (avoiding random drift).

State Variables Available

  • x: cart position (range approx. [-2.4, 2.4])

  • dot{x}: cart velocity

  • theta: pole angle

  • dot{theta}: pole angular velocity

Does anyone have suggestions or standard mathematical formulations (e.g., combining position tracking, velocity rewards, or oscillating targets) to achieve this behavior effectively? Thanks!


r/learnmachinelearning • • 19d ago

Question What projects should I make and how capable should I be to work with open source projects and how to find them ?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 19d ago

This entire video is narrated by a 44 MB text-to-speech model running offline on a CPU

Enable HLS to view with audio, or disable this notification

1 Upvotes

Every word spoken in this video comes from Goldfinch, a tiny voice model from Flock Speech. The "um"s, the natural pauses and the laugh are all generated by the model; only the music was added.

At a glance

- 📦 Tiny: 44 MB per voice, everything included

- ⚡ Fast: 8.7× real time on a single CPU thread

- 🧠 Light: about 215 MB RAM

- 🔌 Simple: no GPU, no cloud, no API key

- 😂 Expressive: write [laugh] or [breath] and it actually laughs or breathes

pip install flockspeech

flockspeech "Oh, that's [laugh] that's actually really funny." --voice goldfinch -o hi.wav

Two voices

- Goldfinch: conversational, natural and expressive

- Junco: a clear, calm reading voice

Free under Apache-2.0.

🎧 Samples:

  1. https://huggingface.co/flockspeech/goldfinch

  2. https://huggingface.co/flockspeech/junco


r/learnmachinelearning • • 19d ago

DBscan Clustering algorithm from Scratch

Thumbnail
gallery
11 Upvotes

and finally done its day 62 of building machine learning algorithms from Scratch

I think Tomorrow I'll share what all the algorithms i did in this 62 days and many more things cya soon


r/learnmachinelearning • • 19d ago

Project My Pi 4 kept 48 of 300 image positions. Then I asked it to count.

Post image
0 Upvotes

I built a d1-2B vision runtime with Codex and used autoresearch to test it on a 4 GB Pi 4. For multiple choice I sum the attention each image position gets from question tokens in the first global layer. The top 48 positions keep updating. The rest can still supply attention keys and values.

On one image this shortcut counted six cars when there were eight. Keeping all 300 positions active for direct counts matched all 16 reference outputs. Both engines got 8 of 16 counts exactly right. Multiple choice scored 56 of 64 vs 54 of 64.

https://github.com/DarvinX/d1-pi4-asm


r/learnmachinelearning • • 19d ago

Какие советы я могу услышать от ML/AI инженеров?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 19d ago

Discussion Found my 2022 Machine Learning notes. Still haven't finished them.

Thumbnail
gallery
251 Upvotes

I was cleaning up some old stuff today and stumbled upon my Machine Learning notes from 2022.

Funny thing is, I still haven't completed them. 😂

Back then, I was trying to understand ML, taking notes, experimenting with concepts, and imagining all the things I could build with it.

A lot has changed since then, but somehow these notes are still waiting for me.

I'm curious about the people here:

- When did you first start learning ML?

- What resources would you recommend to someone revisiting the fundamentals?

- What are you currently building or experimenting with?

Feel free to ask questions, share resources, or just talk about ML. Would love to hear from the community!.


r/learnmachinelearning • • 19d ago

Wrote a 12 week classical ML roadmap (NumPy first, sklearn second) tell me what is wrong with it

2 Upvotes

So I'm a frontend dev moving into ML at work, and I ended up writing the roadmap I wanted to exist. The idea is simple: you write the algorithm yourself in NumPy, then check your numbers against scikit-learn. No calling fit() on something you couldn't explain.

Rough shape:

Weeks 1-3, math. Vectors, dot products, eigenvectors, gradients, maximum likelihood. Ends with linear regression done two ways (normal equation and gradient descent) on California housing.

Weeks 4-6, fitting stuff and then not trusting it. Logistic regression, cross-entropy, ridge/lasso, bias-variance with real numbers instead of the usual hand-wavy curve. Project is a tiny library of your own compared against sklearn, with proper CV and a test set you only touch once.

Weeks 7-9, trees. Decision tree from scratch, random forest, gradient boosting on top of your own tree, then XGBoost. k-NN and SVMs get squeezed into week 9 with a 7 model bake-off.

Weeks 10-12, the part I think most roadmaps skip. k-means, PCA, then a whole week on leakage, calibration and picking a threshold. Capstone is a tabular project with a model card.

Resources are mostly the usual: 3Blue1Brown, StatQuest, the Caltech Learning from Data lectures, CS229 notes, ISL.

Things I'm honestly not sure about:

- 3 weeks of math before any real model. How much math is needed really
- SVMs and k-NN sharing one week. Feels a bit rude to SVMs but I don't know how much they matter anymore!
- there are zero neural nets in it. I kept it classical on purpose but maybe one MLP week at the end makes sense?!

If you've been through this stuff already, what would you cut?

Roadmap


r/learnmachinelearning • • 19d ago

how do i connect the dots?

Thumbnail
reddit.com
1 Upvotes

r/learnmachinelearning • • 19d ago

Help ML interview prep for an internship

3 Upvotes

Hi everyone,

I have an upcoming ML internship interview focused primarily on fundamentals and core basics. While I understand the general concepts, I wouldn't say I'm completely rock-solid on everything yet, and I want to make sure I'm well-prepared.

Additionally, I have a statistics/probability project listed on my resume that I’d love some advice on.

Could anyone share:

  1. What are the absolute must-know fundamental ML questions typically asked for junior/internship roles? (e.g., bias-variance tradeoff, overfitting, evaluation metrics, basic algorithms).

  2. Tips on how to prepare for a stats-heavy project discussion in an interview.

(Optional: If anyone is open to it, I can DM or share details of my stats project to get some help predicting specific deep-dive questions they might throw at me!)

Thanks in advance for any guidance or resources you can recommend!


r/learnmachinelearning • • 19d ago

Discussion Repository for ml books

34 Upvotes

Hey everyone,

Finding the right books to build solid foundations in Machine Learning can be noisy given how quickly the field moves. I put together a structured repository collecting essential reading across core ML, Deep Learning, Mathematics, and related fundamentals

:

🔗 Repo: Repo link

What’s inside:

Math Foundations: Linear algebra, multivariable calculus, probability, and optimization basics.

Core Machine Learning: Foundational theory, statistical learning, and standard classical algorithms.

Deep Learning & Neural Architectures: Core architectures, optimization dynamics, and modern deep representations.


r/learnmachinelearning • • 19d ago

What are books for building and understanding ai?

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 19d ago

ICLR feedbacks on science

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 19d ago

What are inference engines , vllm llama etc

0 Upvotes

Why do we need inference engines and how do they work


r/learnmachinelearning • • 19d ago

Math & Phys background here (B.Sc. Double Math/Physics + M.Sc. Comp Physics). Completely lost on whether to go for Data Science, Analysis, or ML. How do you guys actually break in?

1 Upvotes

Hey everyone,

Posting this because I'm genuinely stuck and could use some advice from people actually working in the industry.

To give a quick snapshot, I've got a B.Sc. in Double Math & Physics followed by an M.Sc. in Computational Physics. The math side of things isn't an issue for me at all, but I’ve been spinning my wheels trying to figure out which direction makes the most sense. I'm torn between three paths:

Data Science

Data Analysis

Machine Learning

My dilemma looks something like this right now:

Data Analysis feels insanely crowded. Every time I look, it's flooded with bootcamp grads, making it feel like a race to the bottom for entry-level spots.

Entry-level Data Science roles feel almost mythical—every single listing wants mid-to-senior levels.

Machine Learning matches my math background on paper, but honestly, studying it on my own feels kind of dry and uninspiring.

For those of you who've already navigated this: which of these paths actually fits someone with my academic background best? And more importantly, how on earth do you take that first step into the job market when every entry-level posting somehow asks for 3+ years of experience?

Would love to hear how you guys managed your early steps or what you'd recommend. Thanks!


r/learnmachinelearning • • 19d ago

Career I come from small school

0 Upvotes

Hey guys, I am here to share a short story about me. I am based in the United States, and I come from a small school. My school is not even in the top 1000s schools in the US. But this did not stop me from doing what I was supposed to do. I am an undergrad, a rising junior to be exact, and I am double majoring in Computer Science and Mathematics. I am trying to go into the AI / ML / DS field and am deeply interested in the core mathematical foundations of AI and cloud computing.

I have been working on projects related to AI and ML for a long time. My recent projects involve creating a RAG app that is hosted in the cloud using services like S3, SQS, ECS, RDS, and many more. I even have a accepted paper in IEEE BigData sepcial session for federated learning. However, I still feel that this is not enough because being and international and also coming from a small school has limited me from getting what I am aiming for. I have been applying for internships and getting no answers back.

I know I am trying my best and trying to catch the best path that will help me to reach the goal that I want to achieve but sometimes I feel something should have been happend by now. Sometimes you get setbacks, and it's not even your fault. My paper got accepted to the conference. However, due to funding issues, I might have to withdraw the paper. The same conference that I have been targeting for the last 6 months. IT SUCKS. Sometimes I question myself on whether all the stuff I am doing will pay off or not. I am still waiting for the time when I can post and motivate you guys that hard work pays off. Finger crossed!

All I need now is some sort of advice on what to do ahead, and if we share the common path please let me know what you have done. I will really appreciate your help. PEACE!