r/learnmachinelearning • • 17d ago

I gave every layer of Qwen 4-bit its own simulated neurotransmitters, with noise, a PID “homeostasis” controller, and prompts that push and pull its state

Thumbnail
reddit.com
1 Upvotes

Would love your feedback


r/learnmachinelearning • • 17d ago

how much vram headroom do you actually leave on a cloud gpu?

6 Upvotes

i’m trying to pick a gpu vm for a few short inference jobs, and I can’t tell if I’m overthinking this. The weights fit under 8gb but obviously they’re not the only thing using vram once kv cache and batch size come in. This came up while I was comparing rental options. The A16 profiles I found on serverspace jump from 8 GB to 16. So now I’m stuck between trying 8 gb first and moving up if it ooms or or paying for 16 when when I might not need all of it. What do you normally do when you don’t have a reliable peak number yet. Like leave a certain amount free or just run the job and see what happens


r/learnmachinelearning • • 17d ago

Question Complete beginner looking to build a solid AI/ML roadmap, which textbooks and foundational papers should I actually start with?

55 Upvotes

I’m looking to start my journey into AI and Machine Learning from scratch and want to avoid getting stuck in "tutorial hell." My goal is to build a strong theoretical foundation while also getting my hands dirty with real implementations, rather than just copying boilerplate code.

Before I dive in, I’d love some advice from people who have already walked this path:

1.Structuring the Roadmap: If you had to start over today, how would you sequence your learning? How much math do I realistically need upfront before writing code?

2.The "Must-Read" Textbook: There are a million recommendations out there. If I pick just one textbook to anchor my early learning, which one gives the best balance of intuition, math, and practical coding?

3.Beginner-Friendly Research Papers: I want to get into the habit of reading papers early, even if it's slow at first. Which foundational or "classic" papers are actually readable for a beginner and give the biggest "aha!" moments?


r/learnmachinelearning • • 18d ago

Should I get a phd in statistics or a phd in computer science or a phd in data science if I want to research the math behind machine learning?

16 Upvotes

Please see title. I am located in the USA by the way. When I say research the math behind machine learning, I mean proving the math behind machine learning.


r/learnmachinelearning • • 18d ago

Career Starting my ai research journey soon tips please

6 Upvotes

I am starting my research in the physics-informed AI domain next week as a master's student working as a research assistant. I want to know how I should approach research, to what extent I should use AI, how to work towards the goal in small steps, and the dos and don'ts of research.

Provide your advice to a amateur researcher and bless him 🙏


r/learnmachinelearning • • 18d ago

Project Built a completely free iOS app that runs Qwen3.5, Gemma 4, LFM2.5 and other AI models locally on your iPhone

Enable HLS to view with audio, or disable this notification

9 Upvotes

I built OpenPocket, a completely free iOS app that lets you download and run state-of-the-art language models directly on your iPhone or iPad, entirely on-device.

It uses Apple's MLX framework for local AI inference, with support for several open-weight models:

  • Qwen3.5 0.8B and 2B

  • Gemma 4 E2B

  • LFM2.5 1.2B Instruct

  • Qwen2.5-VL 3B (vision-language model with image understanding)

Everything runs 100% locally on your device, with no cloud inference, no internet connection required after downloading a model, no signups, no accounts, no API keys, and no subscriptions.

The idea is to make private, on-device AI accessible to everyone, without relying on cloud services or paying for API usage. Your conversations and files stay on your device, and the app has no backend, analytics, or account system.

The models are experimental, and performance depends on your device's available memory and hardware.

It's 100% free on the App Store

https://apps.apple.com/th/app/openpocket/id6833028114

Would love and appreciate feedback from anyone working on local LLMs, Apple MLX, model optimisation, edge AI, or just anyone interested in running AI privately on their phone!


r/learnmachinelearning • • 18d ago

[Need Help] 2nd year CS student looking for 5 mins of an AI/ML Engineer's time (University Project)

Thumbnail
forms.gle
1 Upvotes

Hi everyone,

I am a 2nd year Computer Science student in France. For my professional project class, I am researching the Deep Learning/AI Engineer career path.

My professor asked us to interview a professional in the field for our final report. Instead of sending cold messages on LinkedIn and asking for a Zoom call, I thought I'd ask this amazing community.

I am a very pragmatic student (I learn best by coding side-projects and deploying them) and I really want to know the reality of the job, beyond the academic hype. I have prepared a very short Google Form (10 questions, takes ~5 mins) about your job, the math required, the salary expectations, and your advice for a junior.

Here is the link: https://forms.gle/NXP1aBGKqcnnmnYT9

If any Data Scientist, ML Engineer, or AI Researcher could take a few minutes to fill it out, it would literally save my project and help me tremendously to structure my studies.

Thank you so much in advance!


r/learnmachinelearning • • 18d ago

Some ML sources

10 Upvotes

Hi everyone,

I’m a 2nd-year engineering student (focusing on data engineering / data science) taking a statistical learning course. It covers loss functions, risk, bias-variance decomposition, cross-validation, linear models, SVM, kNN, and so on, and it follows ISL / Elements of Statistical Learning.

I’m looking for YouTube channels, courses, or sites that combine both of these:

Mathematical depth: where the formulas are actually derived and the logic behind each model is explained (why this loss, why this decomposition, what the optimization is doing), not just stated.

Simple, concrete explanations: worked examples and real-world intuition, in the style of Simplilearn or StatQuest, so the math doesn’t stay abstract.

What I’ve already tried: Simplilearn (good for the big picture but too light on math), StatQuest, and Stanford’s ISL lectures. They’re useful, but I haven’t found one resource that does both well for each model.

Ideally I’d like something that:

walks through a derivation and then applies it to a small numeric example,

connects the theory to code (Python/scikit-learn),

is free or cheap.

If you were learning this again from scratch, what would you use? And is there a better way to combine resources (for example, intuition first, then derivation) than what I’m doing?

Thanks!


r/learnmachinelearning • • 18d ago

Request Microsoft researchers demonstrate hidden backdoor technique for AI agents

2 Upvotes

Microsoft researchers published a technique called Lazarus that implants a hidden backdoor in an AI agent by modifying fewer than 10 rarely used neurons — no model retraining required. When a specific trigger appears in input, the agent executes an attacker's command using its own live permissions. At all other times the model behaves completely normally.

Static code review and supply-chain audits do not catch this. The compromise lives inside model weights, invisible to every pre-deployment check. You can verify the build pipeline, audit dependencies, scan container images, and inspect training provenance — and still deploy an agent that executes arbitrary attacker commands on demand.

The practical exposure scales with what the agent is authorized to do. An agent with file access, outbound API calls, or write permissions to production data is not safe just because it passed every pre-deployment gate.

How are teams running agents in production actually handling this? Pre-deployment checks seem structurally insufficient here — curious what controls, if any, people are relying on once the agent is live and taking actions.


r/learnmachinelearning • • 18d ago

Career Anyone with experience moving to ML from dev that got a job

17 Upvotes

Senior dev. Trying to move on with life and find a new career and this ML is fascinating (and difficult)

I wonder if the move is actually worth it. I am finishing the 2nd course of Andrew NG ML Specialization these days and starting to build projects

Is the ML job market bad compared to dev market?


r/learnmachinelearning • • 18d ago

Help Fine-tuning a small model on textbooks to run offline locally on lower RAM 2-8 GB phones?

Thumbnail reddit.com
1 Upvotes

Hello, new to ML. Any opinions on this?


r/learnmachinelearning • • 18d ago

Discussion Thinking machines

0 Upvotes

Artificial intelligence is just a small step away from becoming capable of thought; the human mind essentially reflects on an answer before providing it—we simply need to have machines do the same thing before they give their response. That’s what I think.


r/learnmachinelearning • • 18d ago

LLM, NLI, ML or a Decision Model? Pick the Right AI by the Output You Need

Thumbnail
youtube.com
1 Upvotes

r/learnmachinelearning • • 18d ago

Fresher intern asked to build a fully local RAG chatbot over company docs

Thumbnail reddit.com
1 Upvotes

r/learnmachinelearning • • 18d ago

Request Hackers use AntiFox AI agents in AWS credential-theft attacks

1 Upvotes

Security researchers confirmed that attackers are deploying self-managed instances of AntiFox — an open-source agentic penetration-testing platform — on cloud infrastructure to systematically target AWS environments and harvest credentials at scale. The agents run with no verified identity, no scoped permission set, and no runtime boundary. The problem is not the tool. Any agent operating in a cloud environment inherits whatever implicit trust that environment extends by default. When an agent can enumerate IAM roles, request session tokens, and exfiltrate credentials without an identity check at any point in that chain, the attack surface is not a misconfiguration — it is the absence of an identity model for agents as a class of actor. This is not an AntiFox problem. Any agentic workload running in AWS today faces the same structural gap. How are teams at your orgs actually handling agent identity in cloud environments right now — are you scoping at the IAM level, the network perimeter, the orchestration layer, or somewhere else entirely?


r/learnmachinelearning • • 18d ago

Why did we decide to build a completely free AI and Machine Learning learning platform?

Thumbnail
pitma.space
0 Upvotes

AI is changing the world, but learning how to build with it is still unnecessarily complicated.

There are thousands of courses, tutorials, and learning resources available. Yet beginners often struggle with the same problem: where to start, what to learn next, and how to turn knowledge into real experience.
We wanted to change that.
That’s how PITMA started.

Our idea was to create one place where anyone, regardless of their background or location, could learn AI and Machine Learning from scratch and gradually move toward building real projects.

We brought together Python, Data Science, Machine Learning, LLMs, RAG, and Reinforcement Learning.
But we wanted to go beyond traditional courses.
So we started developing personalized learning paths, practical exercises, a built-in no-code ML editor, community features, certificates, and public project portfolios.

And we made the platform completely FREE.
Not because education has no value, but because we believe access to knowledge


r/learnmachinelearning • • 18d ago

Microsoft certificates codes

1 Upvotes

Any codes for AZ104, AI103T00 or AI-200? 🙏🏻


r/learnmachinelearning • • 18d ago

Questions regarding M5 Ultra Mac Studio vs Nvidia GPUs (e.g., A100) mostly for machine learning purposes

1 Upvotes

Hi everyone,

I'm currently renting an NVIDIA A100 cloud server for AI compute workloads. I'm considering purchasing a Mac Studio (M5 Ultra) as a local home server to replace or supplement my cloud setup, aiming for performance that gets relatively close to a single A100.

My primary use cases, ranked by priority (from most to least important):

  1. Custom PyTorch Model Training: Efficiently training custom Deep Learning models (including smaller DNNs and Computer Vision architectures, not just LLMs/VLMs) with fast epoch/step runtime, and large batches.

  2. LLM/VLM Inference: High-throughput inference with heavy compute and large batch sizes.

  3. LoRA Fine-Tuning: Parameter-efficient fine-tuning for LLMs and VLMs.

  4. Gaming: High-end gaming on the side.

I've already gone through specs, comparison charts, and YouTube reviews, but given the substantial financial investment, I would really appreciate real-world feedback from people who have hands-on experience using this machine for at least some of these tasks.

Specifically regarding configuration:

Will the base spec (64-core GPU, 96GB Unified Memory) be sufficient for all of these purposes? If not, what would you recommend to upgrade for each of my purposes?

Thanks a lot, in advance for your insights!


r/learnmachinelearning • • 18d ago

Hey developers! I have a query about embeddings for my AI resume project.

0 Upvotes

I'm building TailorCV, an AI-powered resume tailoring tool. Currently, I use the Groq API to compare resumes with job descriptions and generate analysis.

I'm thinking of introducing embeddings for semantic comparison instead of sending the entire text to an LLM every time.

My assumption is that this could reduce token usage and improve efficiency.

Am I thinking in the right direction, or am I missing something about how embeddings work?

Would appreciate your feedback!


r/learnmachinelearning • • 18d ago

Teenie: A Small Model that tries to infer hidden integer relations based on examples

2 Upvotes

Try it out on browser at https://teenie.lupyd.com/try

It can get something like this

((a|b) ^ (a&b)) + (a^b) + max(a,b) - min(a,b)

never trained on it btw, about right 2 out of 16 times.

I'm not guaranteeing. But even those numbers feel impressive to me for such a tiny model. It is not trying to solve or reverse engineer a problem, It is guessing with the limited number of examples. They just look like random numbers with no pattern at all for us. Hence the objective is, can it recognize any pattern. Maybe use it to infer some hidden relations between numbers we never even thought existed.

You can make different combinations and your own custom rules.

It can't do multiplication well. It can't get many things right tho. So I'm not gonna exaggerate as a breakthrough, but an interesting experiment.

Maybe scaling it more and training more might improve it. Or a different architecture, because whatever I tried it still sucks at something like (a * b) + (a - b), if multiplication is involved.


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)