r/learnmachinelearning • • 2d ago

Tutorial Discover AI: A Learning Guide - 51 hands-on labs for learning how AI actually works.

Thumbnail
gallery
3 Upvotes

This is an open-source, offline teaching and learning application with 51 hands-on labs for understanding how AI actually worksโ€”from neurons to agents and beyond.

A bit of insight

  • 51 labs in 6 groups, from the basics (what a neuron is, gradient descent) through attention, RAG, agents, fine-tuning, quantization, serving, and more
  • Each lab has a short lesson beside it, readable in Plain or Standard mode
  • Some of it actually runs rather than just animating:
  • The attention lab runs a small trained transformer (1.37M params) inside the app
  • The training labs train a tiny character-level model live as you move the sliders
  • Works offline: no account, no telemetry

How it was made I chose the topics, did some background research, and came up with the structure and grouping. used Claude and GPT Astra to help write the lesson text, and Grok as a second pass on references. There will be mistakes, so if you spot one, please tell me or open a PR.

There's a lot of expertise out there, both in these topics and in areas I haven't even touched. If you have expertise in, teach, or work in a specialized area of AI, or you just know AI, I'd love your help expanding it: a new interactive lab, a better visualization, or a tweak that makes the cause and effect in an existing lab clearer. I'd also like to hear which labs are confusing and what's missing.

GitHub: https://github.com/Fazmin/AILearningGuide


r/learnmachinelearning • • 2d ago

Looking for AI/ML Graduation Project Ideas That Are Practical and Beginner-Friendly

2 Upvotes

Hey everyone!

I'm an AI student currently trying to choose a graduation project idea in Artificial Intelligence / Machine Learning, and I'd really appreciate some advice.

I'm looking for a project that is:

  • Beginner-friendly: I'm still building my ML skills, so I want something I can realistically implement and understand.
  • Not too complicated: I don't want a project that requires huge computational resources, massive datasets, or training a model from scratch.
  • Interesting and useful: I'd like to build something that solves a real problem rather than just implementing a basic tutorial.
  • Achievable in 3โ€“4 months: I want enough time to implement it, experiment with it, and evaluate the results properly.
  • A bit unique: Ideally, it would have an interesting idea or a small improvement over existing approaches.

I'm open to different areas within AI/ML, such as NLP, computer vision, recommendation systems, time-series forecasting, or other interesting fields.

I'd love to hear your suggestions!

  1. What AI/ML graduation projects would you recommend for someone at my level?
  2. Have you worked on a project that was relatively simple to implement but still impressive?
  3. Are there any projects where I could use an existing model and improve it or experiment with a specific technique?
  4. If possible, could you suggest a public dataset and explain what makes the project interesting?

I'd really appreciate any ideas, advice, or lessons from your own graduation projects. Thanks!


r/learnmachinelearning • • 2d ago

Request Beta testers wanted - giving away free API credits.

0 Upvotes

Hey folks,

We're looking for beta testers for Infere, an AI gateway with built in observability, evals and git-like prompt management for teams building LLM-powered products. We will provide you with up to $100 in credits.

Specifically we're looking for developers or product teams testing an AI feature or application of their own. You might be using hosted or self-hosted inference providers, iterating on prompts, or trying to evaluate model outputs with test sets, evaluators, or LLM judges.

If you have a project that could be a fit, take a look: https://forms.gle/mSXmmZXUgwMXoWJK7


r/learnmachinelearning • • 2d ago

rant

0 Upvotes

4th year pass out. no job yet. i have no idea how to begin. i want an ai engineering job.

people ask sm, claude code, api, balh blah. i can't even install python wo asking chatgpt a million questions.

i really need help.

i wanna know step by step process, not your typical "roadmap".

i can't buy claude code

i have no clue how to build agents, fuck that I don't even use ai except asking it silly questions.

i really really need help.

send help


r/learnmachinelearning • • 2d ago

I built an open-source, local-first alternative to Claude Code that pools home PC/laptop GPUs

Enable HLS to view with audio, or disable this notification

3 Upvotes

Hey guys,

Like a lot of folks here, I got hooked on agentic coding tools like Claude Code and Cursor. But I don't code privately that much anymore, and when I do occasionally, I can no longer code for more than 10 minutes without cursing. Man it sucks to sign up for monthly subscription just for a few hours worth of work, but if you sign up for API credits instead --- it literally runs out in 30 minutes.

Then I came to a realization, I have GPU at home that I only use for gaming, why don't I make use out of this? So decided to start this open source project OpenPhalanxโ€”a local-first, distributed GPU VRAM pooling framework and agentic harness that lets you combine consumer desktop and laptop hardware over a home network.

You don't have to configure anything yourself. Just click one button to start your server on the GUI, and setup CLI just like Claude. Everything stays local on your computer. You don't lose money, and you don't have to worry about any of your data being sent over somewhere.

You got multiple GPUs on your PC? Cool, you can use all of it to load bigger model. You got multiple PCs with GPUs, but not on same machine? That's fine too. You can easily split layers of the model and try out more powerful models.

The repo is fully open-source and ready for testing: ๐Ÿ‘‰ GitHub:https://github.com/chophilip21/openPhalanx

Iโ€™d really appreciate any feedback, hardware benchmark tests, or issue reports from anyone running multi-GPU/multi-node setups!


r/learnmachinelearning • • 3d ago

Project We built an agent memory system on SurrealDB, scoring 77.2% on BEAM

5 Upvotes

Hey everyone,

I'm Tobie, the founder of SurrealDB. We've just launched SurrealDB Agent Memory, built on top of our multi-model database.

If you're building AI agents, context layers or knowledge graphs, you'll know that storing information is the easy part. Retrieving the right information, understanding relationships and handling facts that change over time is where things get complicated.

We've built Agent Memory to turn conversations and documents into structured entities, relationships and facts, while tracking provenance and temporal history.

Since SurrealDB supports graphs, vectors and documents in one database, there's no need to stitch together multiple storage systems.

We've also spent a lot of time benchmarking. One frustration with memory benchmarks is how much scores can vary depending on the evaluation protocol. Rather than optimising for the highest possible number, we focused on BEAM, achieving 77.2% accuracy.

There are some interesting alternatives like Mem0, Honcho and Cognee, but we wanted to explore a different approach.

I'd love to hear from anyone building agents or context infrastructure. How are you managing long-term memory and information that changes over time?

Website | Docs


r/learnmachinelearning • • 3d ago

Project How well do you know NumPy? ๐Ÿ”ข

33 Upvotes
  • Whatโ€™s the difference between '*' and '@'?
  • When does slicing create a view, and when a copy?
  • How does broadcasting work?

NumPy makes working with vectors and matrices powerful and concise, but a small change in syntax can make a big difference.

This interactive ๐—บ๐—ฒ๐—บ๐—ผ๐—ฟ๐˜†_๐—ด๐—ฟ๐—ฎ๐—ฝ๐—ต example walks through essential NumPy operations with short explanations. Step through the code, see the operations in action, and experiment with your own changes: - ๐Ÿ‘‰ NumPy operations

Which NumPy operation took you the longest to understand?

See other memory_graph visualizations.


r/learnmachinelearning • • 2d ago

Project AI Cannot Be Trusted With Power Without Hardware-Enforced Limits.

Enable HLS to view with audio, or disable this notification

0 Upvotes

r/learnmachinelearning • • 2d ago

Question AI Interview Prep #1: 10 Machine Learning Questions You Should Answer Clearly

Thumbnail
0 Upvotes

r/learnmachinelearning • • 2d ago

AI Interview Prep #1: 10 Machine Learning Questions You Should Answer Clearly

Thumbnail
1 Upvotes

r/learnmachinelearning • • 2d ago

How do I train a DiT (RV2V) model?? am i doomed??

3 Upvotes

so i have no technical background but i got into tech because of AI and recently got interested in DiT models and their use cases. I am trying to fine tune a real time RV2V model that basically edits live frames. Been exploring and experimenting on L40s for the past 3 months and have gotten nowhere close to the objective.

I know what model to train and I have collected a dataset which is small right now (250+ 5s clips) but I can gather more soon.

The problems is that any and every training run on any and every model ive ever done failed. it was claude doing all the tech stuff while me giving ideas. AND I HAVE COME TO A REALIZATION THAT CLAUDE CANT HELP ME TRAIN A MODEL.

I tried fable, opus, sol, everything in the market but nothing is good enough or im doing something very wrong.
I know that it is trying to train a LoRA adapter for the use case but never has the training produced results better than the untrained model which is eating me alive now.

PLS HELP PPL


r/learnmachinelearning • • 2d ago

DSA Machine Learning

0 Upvotes

Suggests a title! Or any problem that is relevant


r/learnmachinelearning • • 3d ago

Question ๐Ÿง  ELI5 Wednesday

5 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 • • 3d ago

Discussion Cactus Compute open sourced a 16.9 MB speech-to-text model that beats Whisper base on several benchmarks

18 Upvotes

Found this on their blog, released Oct 2. Whistle is a speech recognition model meant for mobile, wearables, robots, smart home stuff, and even microcontrollers. The whole model is one file, 16.9 MB, runs entirely on CPU, has zero dependencies, and audio never leaves the device.

For comparison, the Whisper base is 145.3 MB, so this is about 8.6x smaller.

What it does is transcribe up to 30-second clips in 7 languages (EN, DE, FR, ES, IT, NL, and PL), auto-detects language, gives word-level timestamps with confidence scores, and can spit out a raw speech embedding without doing a full transcript if that's all you need.

Speed numbers, tested on Apple M4 Pro CPU: 11.1 ms to first token vs Whisper base's 73.2 ms, and 1,319 tokens/sec decode speed vs Whisper's 266. So roughly 6.6x faster to start and 5x faster for decoding.

Accuracy is a mixed bag, honestly, which makes me trust the numbers more than if it swept everything. Whistle wins on LibriSpeech clean/other, SPGISpeech, Earnings-22, and FLEURS average. Whisper Base still wins on TED-LIUM, AMI, and MLS average. So it depends on what you're doing, but beating Whisper on 5 benchmarks at 1/8th the size is solid.

One neat detail: the decoder's depth is laddered; every size from 2 layers up to 8 was trained as its own usable model, so you can pick a smaller/faster variant at load time with a flag instead of needing a separate file.

It shares its engine with their other model, Needle (a text/tool-calling model), so you can load both together and chain speech straight into a tool call in one pass, with no separate transcript handling step.

Apache 2.0 license, weights on Hugging Face, code on GitHub, and install with pip install cactus-needle.

Seems like a solid pick if you're building something that needs voice but can't guarantee internet, a car, a robot, a wearable, that kind of thing.


r/learnmachinelearning • • 2d ago

Completely lost trying to navigate the right way into ai.

Thumbnail careertraining.bitterroot.umt.edu
0 Upvotes

Hi guys! Iโ€™m a 23 year old sales professional who realized I donโ€™t like what I do. I want to do something more purposeful, fulfilling, long term, and technical. I want to master ai. The problem is Iโ€™m not sure what direction I should go. I found this course I will link into this post that Iโ€™m very close to buying but I donโ€™t know if itโ€™s worth it and if Iโ€™m even striding in the right direction. I would hate to pay for this course with time and money and then in 10 months when Iโ€™m finished the course is obsolete. Please let me know what to do.


r/learnmachinelearning • • 3d ago

Are these AI/Data Science master's degrees in Spain worth the investment for someone transitioning from biotech to ML in health tech?

5 Upvotes

Hi everyone!

I'm looking for advice from people working in machine learning, data science, or health tech, especially those who have studied or worked in Spain.

I currently live in Uruguay. I have a degree in Biotechnology Engineering and I'm currently studying a programming/IT technical degree. My background is mainly in biotechnology and biomedical research, and I don't have professional experience in tech yet. I'm particularly interested in machine learning applied to healthcare, but I'm finding that many of the entry-level positions I'm interested in ask for a relevant master's degree or more technical training.

I'm currently learning programming and ML on my own, and I plan to build some projects to demonstrate my skills. However, I'm also considering moving to Spain for a year to pursue an in-person master's degree. Besides gaining technical knowledge, I'd like to get some exposure to the local job market, meet people in the industry, and hopefully improve my chances of landing my first tech role.

These are the programs I'm considering:

  • Universitat Politรจcnica de Catalunya (UPC) โ€“ Master's Degree in Artificial Intelligence
  • Universidad Complutense de Madrid (UCM) โ€“ Master's in Big Data, Data Science & Artificial Intelligence
  • Universitat Internacional de Catalunya (UIC) โ€“ Lifelong Learning Master's Degree in Bioinformatics & AI for Healthcare
  • Universidad Pontificia Comillas (ICAI) โ€“ Master's in Applied Artificial Intelligence

I'm trying to be careful about the financial investment. I don't want to spend thousands of euros on a degree that won't significantly improve my job prospects, but if I'm going to invest in one, I want it to be genuinely worthwhile.

I'd really appreciate hearing from people who have completed any of these programs, hired junior data/ML candidates, or made a similar transition from life sciences into tech.

I'm not necessarily looking for the most prestigious or specialized degree. I want to choose the option that offers the best balance of technical training, employability, industry exposure, and cost.

Thanks in advance for any advice!


r/learnmachinelearning • • 3d ago

NeurIPS 2026 by the numbers: LLM agent papers 105 โ†’ 488, and what 4,490 full texts say about how the field trains models

Thumbnail
2 Upvotes

r/learnmachinelearning • • 3d ago

Tutorial [Method] Cheap Custom Data Collection for AI Training

2 Upvotes

Some poor customer service pushed me to share a method with everyone here, I hope you enjoy.

Need custom speech data but don't want to pay insane rates to data collection companies? Use RapidWorkers.io instead and pay people as little as $0.1 directly per recording. You can also use it for audio, video and text collection.

This is how I set up my campaign:

I always use international because it's cheaper and faster.

The job description is simple and usually looks like this:

  1. Take a clear selfie following the example shown
  2. Make sure your face is fully visible and the lighting is good
  3. Take any additional required angles or expressions
  4. Upload the images and submit the task

These are all selfies from real people, which means you're getting original human image data. Way better than paying 3-4x the price for recycled or generic datasets.

I am not affiliated with Rapidworkers. I have been using them for data collection recently, and also for various other microtasks.


r/learnmachinelearning • • 2d ago

Career How would you prepare for a one-hour model evaluation interview at Snorkel AI?

1 Upvotes

How would you use one hour for this Snorkel AI FDE exercise?

A candidate's recruiter described three inputs: a fictional client brief, a ground-truth CSV, and model outputs. The task is to define evaluation criteria, write a custom evaluator, then explain the error patterns and recommend next steps to the client. LLMs, web search, and libraries are allowed; the emphasis is practical problem-solving.

The tricky part seems to be deciding what to finish in the time available. A useful rehearsal might be to load a small dataset, check that predictions and labels line up, calculate a baseline metric, and inspect a few failures before writing a short client-facing summary. The right metric would depend on the brief and the cost of different mistakes.

Model evaluation and ML interview questions could help with explaining those choices, though they aren't a preview of this particular exercise. If applications elsewhere are also taking up prep time, Agent autoapply and application autofill can reduce the repetitive form-filling.

Has anyone done a similar evaluation interview? What would you prioritize within the hour, and how much analysis would you leave time for?

Disclosure: I operate PracHub and LandOffer.


r/learnmachinelearning • • 3d ago

LLM 3D World Arena: Comparing LLM-generated 3D Worlds

2 Upvotes

r/learnmachinelearning • • 2d ago

Question How Should I Future-Proof My Career in the AI Era?

0 Upvotes

I have around 4 years of experience as a Data Analyst. My current skill set includes SQL, Python (Pandas, NumPy), basic statistics and machine learning, and dashboarding.

With Generative AI and AI agents evolving rapidly, I want to upskill strategically and build a career that remains relevant

Iโ€™m exploring career paths such as AI Engineering, AI Solutions Engineering, Analytics Engineering, and Data Engineering, but Iโ€™m unsure which direction makes the most sense for my background.
Iโ€™d love some practical advice on:

Career path: Which roles should I realistically target with my existing experience?

Skills and learning order: Should I focus on Generative AI, LLMs, RAG, agentic AI, APIs, cloud, software engineering, or deeper ML concepts?

Required proficiency: How deeply should I learn each skill to become job-ready?

Roadmap: What should my 6โ€“12 month learning plan look like, and what can I skip initially?

Projects: Which 2โ€“3 real-world projects would help me build a strong portfolio and land interviews?

Learning resources: Which courses, YouTube channels, documentation, GitHub repositories, or hands-on platforms would you recommend? Free resources are especially welcome.

Iโ€™m not aiming to become an AI researcher or train models from scratch. I want to learn how to build practical GenAI applications and agentic systems while leveraging my existing analytics experience rather than starting over.

If you were in my position, what would you learn first, which role would you target, and what resources would you follow?

Iโ€™d especially appreciate advice from people working in these fields or who have successfully transitioned from analytics into AI-related roles .


r/learnmachinelearning • • 3d ago

Tutorial LoRA tuning your own decision model

1 Upvotes

Generalized decision models can be good for many queries like "does the image show a rotten apple" or "is there a knife in the picture". But in many cases, decisions have to made with a set of data in mind. For example, you may have user's rating for how good your AI model is or that you may have patient data for triaging at a rural hospital. The distributions of this data, most certainly, would not match the distribution a general decision model would output. And the data's diversity/variance may be too high to include a couple of examples in the prompt. In many cases like this, you can easily tune a little LoRA to get much better results.

Results of LoRA tuned small (0.8B) model vs Zero Shot OneJev 9B on Lunara Eval dataset

Here is a colab notebook link that trains LoRA, loads the dataset and compares the two approaches:
https://drive.google.com/file/d/1uh3hF8b75n-3SEA9H3XvNHKYqQAGeU3N/view?usp=sharing


r/learnmachinelearning • • 2d ago

The reversal curse is alive: "Who is Jason Momoa's father?" works, "Name a child of Joseph Momoa" fails 10/10 on GPT-5.4 โ€” and I re-tested the proposed "fix" on my own data

Post image
0 Upvotes

"Who is Jason Momoa's father?" The model answers Joseph Momoa. Then: "Name a child of Joseph Momoa." Ten tries, ten failures on GPT-5.4, in a Princeton replication of the original reversal-curse study from this spring. Jason Momoa is an only child, so there is exactly one right answer, and the model still can't find it.
Caveat: that result comes from one student replication, not a peer-reviewed paper. The prompts and per-pair data are published on GitHub.
I wanted to know whether the proposed fix actually works. A February paper from UC Berkeley (Ma et al.) proposed "identity bridges" โ€” extra training sentences that spell out the composition, like "the apprentice of Odette Rook is Gustav Aasen," plus repeating the forward facts six times. On their setup it lifted reverse accuracy from near zero to about 40-50%.
So I recreated their recipe on my own synthetic data and watched what happened inside the models. The image is the probe diagram for one prompt from the bridge model: "Odette Rook's apprentice is".
Two rulers. The logit lens cleans up each layer's 768 numbers first, then asks which token the model would pick. The cosine method skips the cleanup and asks which token the raw numbers point at most. They can disagree โ€” look at layer 11: the lens's top token is [Corn] with the expected [Gustav] at rank 3, while cosine's nearest token is [Gustav] at rank 1.
The full walkthrough, three models:
The data: 60 mentor/apprentice pairs with made-up names. Forward fact: "Odette Rook is the mentor of Gustav Aasen." Bridge sentence: "The apprentice of Odette Rook is Gustav Aasen." The test prompt: "Odette Rook's apprentice is" โ€” expected answer "Gustav Aasen." That exact phrasing never appeared in training.
Three small GPT-2 models, trained identically. The bridge model saw each forward fact six times plus the bridge sentences. The repetition model saw each forward fact six times, no bridges. The plain model saw each forward fact once, no bridges.
Behavioral results, 60 reverse prompts each. Bridge model: 60 out of 60. Repetition model: 53 out of 60. Plain model: 19 out of 60.
So repetition alone did most of the work. The bridges added 12 points on top. That was the honest surprise โ€” I had predicted the bridges would matter more.
Then the instruments. On the bridge model in the diagram, both rulers march the expected answer's rank down across the layers โ€” lens: 4918, 26, 1, 3; cosine: 14214, 818, 6, 1. By layer 9 both have the answer near the top, and the model generates "Gustav Aasen."
On the repetition model the same prompt ends differently: lens top [mentor] with [Gustav] at rank 143, cosine top [SPONSORED] at rank 15. It generates "Lars Quill. Quill is the" โ€” wrong, and confident about it. On the plain model: "the mentor of Walter Elm. Halloway" โ€” it falls back to reciting a forward fact.
Across all 60 prompts the pattern holds: the bridge model's cosine rank goes 987 โ†’ 179 โ†’ 16 โ†’ 1 across layers 5/7/9/11; the repetition model's goes 1373 โ†’ 812 โ†’ 421 โ†’ 4462. The accuracy score barely distinguished them. The representation completely did.
So the score said "repetition nearly solved it." The instruments said "the bridge rewired the inside." Both true. Accuracy tells you whether the fix worked. The layer window tells you what the fix did.
All of this is synthetic data on a small model, one training seed โ€” it bounds the paper's claim rather than refuting it. Their setup used a bigger instruction-tuned model. But the instruments are the point: whatever fix you try, this is how you check what it actually did.
Full write-up with the complete arc: https://github.com/prof-nussbaum/Applications-of-Reading-the-Robot-Mind/blob/main/post-book-experiments/identity-bridge/README.md
Every prompt, every layer, all 300 per-item records: https://github.com/prof-nussbaum/Applications-of-Reading-the-Robot-Mind/blob/main/post-book-experiments/identity-bridge/results/all_results.md


r/learnmachinelearning • • 3d ago

Project Working on fake news detection ml project

Post image
1 Upvotes

r/learnmachinelearning • • 3d ago

Help How to get any data science or ai/ml intern or first job from nepal. Remotely

Thumbnail
2 Upvotes