r/learnmachinelearning • u/OpenSourceRulesz • 29d ago
r/learnmachinelearning • u/OrganizationTop9026 • 29d ago
HiveMind The Citizen Supercomputer - Decentralized AI Swarm over Consumer GPUs
Do you remember SETI@Home : Imagine a decentralized MoE AI Swarm over Consumer GPUs - Let's build together HiveMind@Home. It is free ... 0 dollars and open source.
Project HiveMind is an open-source distributed training and inference framework (think SETI@home / Folding@home meets Petals and DiLoCo) designed to aggregate idle consumer gaming GPUs (8 GB–12 GB VRAM) and local NVMe storage into a community-owned Sparse Mixture-of-Experts (MoE) cluster.
https://hivemind-at-home-ruche-cfhmhmvv5a-uc.a.run.app/
Instead of requiring datacenter InfiniBand, each node trains specialized 4-bit NF4 QLoRA domain experts asynchronously using DiLoCo from deepMind (500x lower bandwidth cf https://deepmind.google/blog/decoupled-diloco/), merges them into a unified Branch-Train-Mix (BTM) Sparse MoE, and serves the resulting model back to the community via P2P Speculative Decoding. Contributors earn verifiable Proof-of-Useful-Work (PoUW) credits ($HIVE) when their GPU/disk is idle and spend them when they need frontier-class MoE inference.
- GitHub Repository: https://github.com/xaviercallens/HiveMind
To join https://hivemind-openrouter-1003063861791.us-central1.run.app/join#train
To join witou installation and play a scientific game:
https://xaviercallens.github.io/HiveMindatHome.github.io/webgpu.html
Join us to learn and build the new generation of AI
r/learnmachinelearning • u/Afraid-Wishbone-6921 • 29d ago
Last year Made a Full Stack project "DUKANMATE" , for the local shopkeepers, deployed on Product Hunt and got some good responses!!!For those who want to explore it:
producthunt.comTry it here.
r/learnmachinelearning • u/Ai_Tech_ML • 29d ago
Train modeling through cloud or own device ?
Hello guys I am a learner too and I am asking do you guys train models using own device cpu/gpu or cloud like Google collab?
Actually I am going to buy a laptop so asking with you guys ☺️
You can suggest laptops too !
I am wondering should I get laptop with a graphic card (rtx) or not 🤔
Thank you !
r/learnmachinelearning • u/kingabzpro • 29d ago
Tutorial I tested a 12B open-source AI Humanizer locally. Here's what I found.
I recently experimented with Humanizer, an open-source 12B model designed to rewrite AI-generated text to sound more human.
I ran it locally using llama.cpp with CUDA and tested the outputs against popular AI detectors.
The results were mixed. One GPTZero test dropped from 100% AI detection to 49%, but other tests showed little improvement. I couldn't consistently reproduce the success rates reported by the model's developers.
I put together a step-by-step tutorial covering the local setup, Python code, testing process, and results.
Full tutorial: https://www.kdnuggets.com/can-this-open-source-model-beat-ai-detectors-lets-test-it-locally
I'm curious whether anyone else has experimented with models specifically trained for text humanization. Do you think these models actually improve writing quality, or are they mostly optimizing for AI detectors?
r/learnmachinelearning • u/assorted-meat-stew • 29d ago
Need help adapting model to CIFAR10
I tried to make a DCGAN based on this tutorial. The thing is that the tutorial is designed for fashion mnist data which has different image size to tf.keras.datasets.cifar10.load_data(). Which lead to the error:
ValueError: cannot reshape array of size 480000 into shape (28,28,1)
when arrive at
x_train_dcgan = x_train.reshape(
-1, 28, 28, 1
) * 2. - 1.How do I adapt the model to CIFAR 10?
r/learnmachinelearning • u/DeepRatAI • 29d ago
Tutorial how to understand ML libraries: dont just copy-paste code, rebuild them from scratch
HI :B, a week ago i posted the free i course i made here, and i never expected that many people to commento, share it or fork it. So THX you so much for being so supportive, it makes me want to keep doing this... But enough of the sappy shit for now lol.
Ive been reading this sub (and others like it) and saw a bunch of post of people struggling with libraries and asking "how do i learn to code" wich i always want to answer with "just code" xD. Buuut a lot of ppl learn with AI now and its easy to just "copy-paste" everything before youve actually studied it or practice it... im going off track :B
Any way, that gave me the idea for an "addemdum" to the original course. The idea is that you take a library, build a tiny version of it in plain Python, and check it against the real thing. Like 5000 checks total, and github reruns all that on every push, and you find wird shit while doing it, i got 85% accuracy on literal coin flips at one point, and my tokenizer straight up disagreed with HF on like a quarter of unicode :B
Its lives in the same repo as the course but in a different branch so it doesnt mess with main. Planning to keep adding more addendums like this in the future (but first i gotta get my shit together so i can actually do this whit some "consistency" lol) . Also i couldnt think of a better name for these "expansions" than "addendum". in spanish id use "anexo" but that translates to "attachment" too so idk, i suck at naming things xD.
Here the branch :B : https://github.com/BlueRingsLabs/no-shortcuts/tree/addendum1/learning-ml-libraries-by-rebuilding-them
The parts are :
A. Introduction | B. A method for learning any library | C. NumPy | D. pandas | E. scikit-learn | F. PyTorch | G. sentence-transformers | H. From copying to writing | I. FAQ and cheat sheet
AAAH, and almost forgot, i also did a more "tech" writeup kinda like an intro to this in coderlegion. u dont need an account to read it or anything, maybe its useful too: POST
Hope its useful to someone here. You can aske me whatever (i usually take a while to reply :B) and if you find something broken or have any thoughts on "my method", lmk .
r/learnmachinelearning • u/Prudent_Leading_6729 • 29d ago
Six months learning ML with an AI tutor, what helped and what quietly held me back
I leaned heavily on an AI assistant to learn ML and I want to be honest about both sides. It was incredible for unblocking me at midnight, explaining an error, rephrasing a concept five different ways until one landed. What held me back was how easy it was to feel like I understood something because the explanation was clear, then freeze when I had to do it alone. The clarity was borrowed, not mine. What fixed it was forcing myself to rederive things and code from a blank file before asking. Use it as a tutor that answers questions, not as the thing that does the thinking. The struggle is the part that sticks.
r/learnmachinelearning • u/CShorten • 29d ago
Machine Studying with Jacob X. Li - Weaviate Podcast #148!
r/learnmachinelearning • u/Fit-Ant2238 • Oct 28 '26
Gradient descent, momentum and Adam racing down the same narrow valley, 80 steps each
The loss is f(x, y) = 0.01x² + y², so the valley curves 100 times more sharply across than along. All three start at (-4.6, 2.0) and get 80 steps.
Gradient descent (lr 0.9) overshoots the steep direction on every step, so it zigzags across the valley while creeping along it, and ends at a loss of 0.0116. Momentum (lr 0.12, beta 0.9) builds up speed along the valley and gets further, but swings wide on the way there (0.0032). Adam (lr 0.25) scales each direction by its own gradient size, so it cuts across, overshoots the minimum once and settles lowest (0.0006).
I wanted the textbook picture with real numbers behind it, so I simulated the 80 steps myself first. Then I had SenseNova 6.8 Code2Video animate it from the update rules and check its results against my numbers before rendering. Nothing is placed by hand.
r/learnmachinelearning • u/engineeringiguess • 29d ago
Career How do I get into research in ML or DL
reddit.comr/learnmachinelearning • u/Afraid-Wishbone-6921 • 29d ago
Made an Extension for Claude, GPT and GEMINI to maintain the user privacy.
r/learnmachinelearning • u/beyond-the-joystick • 29d ago
Project I built an interactive OpenCV playground to visualize camera geometry — looking for technical feedback
r/learnmachinelearning • u/Longjumping_Golf9903 • 29d ago
Project First time fine-tuning: my LoRA made a 2B model worse, and the mistakes taught me more than the wins
I’m not an ML engineer. I build a small desktop app that runs Gemma 4 E2B offline, and I wanted to teach it a few things it’s bad at. So I tried LoRA with MLX on my MacBook. Writing down what happened in case it helps someone else starting out.
What I did right (by luck): before training I wrote a 23-question “sealed” exam that never goes into the training data. Same prompt, temperature 0, graded by hand. Without it I’d have fooled myself. The same model scored 7/10 on the trick questions in Ollama at temp 0.4 and 3/10 in MLX at temp 0, so numbers from different setups mean nothing.
Baseline: 6/23.
Run 1: 328 hand-written examples, lr 5e-5, 16 layers, 75 steps. Score dropped to 4/23. It started answering “2 + 2 × 2 = 4” (it was right before), and it used my “I don’t know, I’m offline” template on a simple riddle. It copied the shape of my answers instead of learning anything new.
Run 2: lower lr (1e-5), 8 layers, fewer template answers, and “replay”: I added the base model’s own answers to 117 normal questions so it wouldn’t forget. Score went back to 6/23. No forgetting, but no gain either.
What I took from it:
- A few hundred examples change how a small model answers, not what it knows.
- Template answers leak into everything.
- Replay is a simple fix for forgetting.
- Always keep a test set the model never sees.
If you’ve fine-tuned a model this small: did you manage to add knowledge, or only style? What would you change in my setup?
r/learnmachinelearning • u/Longjumping_Golf9903 • 29d ago
Help First time fine-tuning: my LoRA made a 2B model worse, and the mistakes taught me more than the wins
I'm not an ML engineer. I build a small desktop app that runs Gemma 4 E2B offline, and I wanted to teach it a few things it's bad at. So I tried LoRA with MLX on my MacBook. Writing down what happened in case it helps someone else starting out.
What I did right (by luck): before training I wrote a 23-question "sealed" exam that never goes into the training data. Same prompt, temperature 0, graded by hand. Without it I'd have fooled myself. The same model scored 7/10 on the trick questions in Ollama at temp 0.4 and 3/10 in MLX at temp 0, so numbers from different setups mean nothing.
Baseline: 6/23.
Run 1: 328 hand-written examples, lr 5e-5, 16 layers, 75 steps. Score dropped to 4/23. It started answering "2 + 2 × 2 = 4" (it was right before), and it used my "I don't know, I'm offline" template on a simple riddle. It copied the shape of my answers instead of learning anything new.
Run 2: lower lr (1e-5), 8 layers, fewer template answers, and "replay": I added the base model's own answers to 117 normal questions so it wouldn't forget. Score went back to 6/23. No forgetting, but no gain either.
What I took from it:
- A few hundred examples change how a small model answers, not what it knows.
- Template answers leak into everything.
- Replay is a simple fix for forgetting.
- Always keep a test set the model never sees.
If you've fine-tuned a model this small: did you manage to add knowledge, or only style? What would you change in my setup?
r/learnmachinelearning • u/Melodic_Doughnut3376 • 29d ago
looking for cs.LG endorsement on arxiv
reddit.comr/learnmachinelearning • u/High_Solo • 29d ago
My ML experiments left around 60 GB of Python environments on my PC, so I made a Windows app that finds them and cleans up safely
If you play with ML or local models on Windows, you probably have a few Python environments you've forgotten about. Tutorials and one-click installers often make their own venv or conda env, each with its own copy of torch and the CUDA libraries, and those run to several GB each.
Mine added up fast. When I pointed Venv Discover at my own PC, it found 55 Python environments and installs taking around 60 GB, 45 GB of that in 13 conda envs. Two of them were the same 9.3 GB PyTorch env, one just a copy of the other.
What it does:
- **Finds** venv and conda envs anywhere on your drives (plus mamba, pixi, Poetry, pipenv, uv, pipx, Hatch, PDM and Rye) and your Python installs, with size, last used and installed packages.
- **Searches** across all of them, like "which env has torch?".
- **Cleans up safely:** anything up to 1 GB goes to a 14-day bin you can restore from. The big torch envs are too large for the bin, so it asks clearly before deleting them for good. It never touches project folders or your Python installs.
- **Also** cleans the pip, uv, Poetry and pipenv caches.
It's Windows only, MIT, and built and tested by GitHub Actions from the public source, with SHA-256 sums. It isn't code-signed yet, so SmartScreen will warn you, or you can run it from source.
AI helped me build this app.
https://github.com/pullitall/Venv_discover
I'm curious how many GB it finds on yours.
r/learnmachinelearning • u/No_Respect1371 • Oct 28 '26
3rd yr cs student uncertain on the market requirement for ai interns
Hi everyone, I'm a 3rd-year (5th sem) CS student in India aiming for an AI/LLM internship.
My problem: I can build small projects, but I get stuck when moving to production-grade ones. I switch between LLM fine-tuning (LoRA/QLoRA) and RAG systems, and end up with nothing finished to show. When I get stuck, I lean on AI tools to solve it, so I'm not sure I'm really learning the hard parts.
Background: Hugging Face, FastAPI, Transformers, basic RAG. No polished project yet.
My questions:
What does "production-grade" mean for an intern-level project? (evaluation, Docker, logging, deployment?)
What skills are companies hiring interns for right now in LLM/AI?
Can you share example repos or projects that would impress you?
Startups, product companies, or research labs: where should I apply first?
How do I stop starting new things and actually finish one?
Happy to share my resume for feedback.
r/learnmachinelearning • u/ahmed26gad • Oct 28 '26
Natural Evolution of the Flappy Bird - Free Cloud Optimization
Watch the evolution of a bird that starts with no rules and a random brain. Evolution teaches it to fly the whole course without a single crash.
Watch it learn, then try it yourself free.
r/learnmachinelearning • u/New-Negotiation-2536 • 29d ago
Help I'm 13 and fine-tuning a decision model for JevBench — has anyone evaluated calibration on the public-231 set?
(PS: English isn’t my first language so I used AI to help frame this — but the work and ideas are fully mine. I know my ML.)
Been working on a LoRA fine-tune targeting the JevBench leaderboard. Using soft-target KL training — the idea being that matching probability distributions should help calibration more than hard labels would.
Model is still training. One thing I’m thinking about: on questions with 4+ choices where one answer is genuinely rare, soft-target models can still collapse toward the majority — the teacher’s distribution gets diluted across the batch.
Has anyone found a way to preserve calibration on low-frequency answer choices specifically? Or is this just noise at small model scale?
r/learnmachinelearning • u/Pleasant_Squash9953 • 29d ago
Our study tested whether reliability scores can help clinical AI know when to defer to clinicians.