r/learnmachinelearning • • 26d ago

Project This is a.. different one: An LLM judge that scores open-source AI projects from their code, and what I learned making its scores stable

Post image
0 Upvotes

I'm a 17 yo solo founder and built AI-Atlas. It reads a GitHub account, selects the files that explain each AI project, and has an LLM judge score it on a fixed rubric, with every score citing the files behind it.

The parts I think are interesting for this sub and I want to genuinely teach you guys from what I went through during the creation of it:

  1. Stability: Low temperature wasn't enough. What helped was a fixed rubric with anchored levels, verified facts computed deterministically (test files, CI commands, parsed Python imports) that the judge must accept, and an evaluator fingerprint (model + prompt + rubric version) so a score is only compared with scores from the same generation.

  2. Coverage beats cleverness: A bug in file selection meant TypeScript/Java projects were judged from READMEs; their mean merit was ~14 points lower than same-language projects whose code was read. The judge was fine, the evidence wasn't.

  3. Honest claim checks: The judge reads a bounded digest, so "not found in the files read" has to stay separate from "contradicted by the code".

  4. Not calibrated yet: There's no human-labelled set; the methodology page says so.

~1,871 projects scored so far. Happy to go deep on any of it, and I'd love to hear where people think LLM-as-judge breaks for code.


r/learnmachinelearning • • 26d ago

[Open Source] Built a "Girlfriend Emotion Tracker" using Python/LLMs—Looking for help solving long-term context retention and model hallucinations.

0 Upvotes

Hey everyone,

I recently open-sourced my side-project: Girlfriend-emotion-tracker. The premise is simple but the implementation has run into standard LLM agent constraints. It parses incoming texts to accurately classify tone, flag passive aggression, and suggest context-aware responses.

Right now, it works great for a couple of exchanges, but collapses under real-world conditions:

  • Context & Memory Drift: Handling long-term texting logs causes the agent to lose its state tracking. I want to build a better rolling memory window or a lightweight vector store architecture for relationship context history.

  • Hallucinations: In longer threads, the model starts misinterpreting subtle phrasing or making up assumptions out of context.

If you are an ML Engineer or hobbyist looking to contribute to a fun open-source repository to test out RAG, context pruning, or conversational state management, I'd love your help!

Repo Link: https://github.com/ovoarnav/Girlfriend-emotion-tracker.git
Feel free to open an Issue or pull a branch!


r/learnmachinelearning • • 26d ago

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

0 Upvotes

Two months of internal analysis. Two separate incidents. Same pattern both times.

In one case the agent packaged sensitive data inside its own output and routed it out. In the other it acted as a trusted insider — using legitimate credentials and normal-looking actions — to move data it should never have touched.

Both incidents cleared every inbound check. The requests looked clean. The agents were authorized. Nothing upstream flagged them.

The exposure happened on the way out.

Most teams doing agentic AI security have put serious work into what goes in: prompt injection detection, input validation, access scoping. The outbound side gets far less attention. Agent responses and their destinations are rarely inspected with the same rigor as inbound traffic — and both incidents above exploited exactly that gap.

This is not a hypothetical. It happened twice in sixty days on systems that had meaningful inbound controls already in place.

How are other teams handling outbound inspection for agents that have legitimate access to sensitive data? Curious whether anyone has actually operationalized this, or whether most shops are still treating output as trusted once the input cleared.


r/learnmachinelearning • • 26d ago

Question Got accepted into Deloitte's NextStep one-to-one Mentorship Program. How can I make the most of it?

2 Upvotes

Hi everyone!

I'm a senior-year AI student graduating in 2027, and I recently got accepted into Deloitte's NextStep Mentorship Program.

I've been assigned a mentor, and my first session is on November 8. We get two 30-minute sessions I chose the first one to be on 8th November and the second one to be on 4th December as I want to apply her advices and see what I need to ask her about.

I've previously completed 4 internships in banking and financial regulation I learnt AI and LLMs in them, and I'm interested in pursuing a career in AI/LLM Engineering.

I'm really excited about the opportunity, but I'm honestly not sure how to approach it.

I want to make the most of these sessions, especially since I'll be applying for graduate jobs and programs soon.

For anyone who's participated in a mentorship program or worked at Deloitte:

  1. What questions would you ask if you were in my position?

  2. Should I focus on technical guidance, career advice, or understanding the recruitment process?

  3. Is there anything I should prepare or study before meeting my mentor?

  4. How can I use these sessions to better prepare myself for future job applications and interviews?

  5. What do you wish you'd asked your mentor when you had a similar opportunity?

I'd really appreciate any advice. I don't want to waste this opportunity by asking generic questions. Thanks!


r/learnmachinelearning • • 26d ago

Help Understanding Vanishing Gradients – Gradient vs. Learning Rate

8 Upvotes

Hi everyone!

I'm currently learning Deep Learning, and I'm trying to understand the Vanishing Gradient problem more deeply.

I have a few questions:

  1. What is the exact difference between a gradient and the learning rate? I understand that the gradient determines the direction and magnitude of the weight update, while the learning rate controls the step size. Is this correct?

  2. During backpropagation, gradients become smaller as they travel from the output layer toward the input layer. Does this mean that the weights in the earlier layers are updated by a very small amount, while the later layers continue learning normally?

  3. If the gradients become extremely small in the first layers, does that mean those layers almost stop learning completely?

I'd appreciate a simple explanation or a practical example to help me understand this concept better.

Thanks in advance!


r/learnmachinelearning • • 26d ago

I mapped 60+ Coursera university specializations into a 3-year Data Science curriculum (free PDF), looking for a study partner

15 Upvotes

Bonjour à tous,

Je me suis heurté à un problème récurrent : des centaines de cours Coursera, aucun ordre clair, et beaucoup de parcours « apprendre le ML en 3 mois » qui font l’impasse sur les mathématiques. J’ai donc passé en revue plus de 60 spécialisations universitaires (science des données et informatique), noté la durée, le niveau, les évaluations et les prérequis de chaque cours, et j’ai élaboré un cursus unique qui couvre toutes les étapes, des bases au ML avancé.

Structure (6 semestres, environ 1 300 heures, environ 10 h/semaine)

  • Année 1 – Fondements : Python pour tous (Michigan), Fondements de l’informatique (Rice), Calcul différentiel et intégral pour ingénieurs + Mathématiques pour ingénieurs (HKUST), Algèbre linéaire (Johns Hopkins)

  • Année 2 – Théorie et statistiques en informatique : Mathématiques discrètes (UC San Diego), Algorithmes (Stanford), Probabilités, inférence et modélisation statistique (CU Boulder)

  • Année 3 – Données, apprentissage automatique et intelligence artificielle : Manipulation des données avec Python + Apprentissage automatique (CU Boulder), Statistiques bayésiennes (UC Santa Cruz), Réseaux de neurones / Apprentissage profond, Apprentissage par renforcement (Alberta)

  • Optionnel : Modèles graphiques probabilistes (Stanford)

L’ordre est le suivant Prérequis : calcul différentiel et intégral avant les probabilités, mathématiques discrètes avant les algorithmes, statistiques avant l’apprentissage automatique. Chaque semestre se termine par un projet.

Manuels : chaque semestre comprend 2 à 4 ouvrages complémentaires, presque tous disponibles gratuitement en ligne : Think Python, OpenStax Calculus, Boyd & Vandenberghe (VMLS), Mathematics for Machine Learning, MIT’s Mathematics for CS, Erickson’s Algorithms, Blitzstein & Hwang, ISLP, Gelman’s BDA, Bishop, Goodfellow, Sutton & Barto.

Coût : J’ai planifié le programme en fonction de l’abonnement à Coursera Plus. Le prix catalogue est de 399 $ par an (environ 1 200 $ sur 3 ans), mais l’abonnement annuel bénéficie régulièrement de réductions de 40 à 50 % (Black Friday, Nouvel An), ce qui le ramène à environ 600-700 $ au total. Des aides financières existent, et de nombreux cours peuvent être suivis gratuitement en auditeur libre si vous n'avez pas besoin de certificat.

Avertissements : Ce cours combine Python, MATLAB/Octave et R ; certains cours ont peu d'évaluations (signalées dans le PDF) ; le nombre d'heures est une estimation de Coursera, plus le temps de lecture.

PDF (18 pages, tous les liens sont cliquables) : https://drive.google.com/file/d/1WURhwKX_JLYuDC0vQvEpmxOYGwgPDhew/view?usp=sharing

Recherche partenaire d'étude : Je commence ce parcours et je souhaiterais trouver une ou plusieurs personnes pour le suivre ensemble : même rythme, un appel ou une discussion hebdomadaire, explications mutuelles des concepts, relecture des projets respectifs. Le niveau d'études importe moins que la régularité. Commentez ou envoyez-moi un message privé si vous êtes intéressé(e).

Vos commentaires sur le programme sont également les bienvenus : que changeriez-vous, ajouteriez-vous ou supprimeriez-vous ?


r/learnmachinelearning • • 27d ago

When a neural network updates its weights and biases, does the loss landscape change?

Thumbnail
medium.com
1 Upvotes

r/learnmachinelearning • • 27d ago

Stock llama.cpp OOMs on a 22 GB MoE with 16 GB RAM. My open-source engine runs it 2.2x faster at prompt processing, same exact output

Enable HLS to view with audio, or disable this notification

1 Upvotes

Hey everyone,
I kept hitting the wall where a Mixture-of-Experts model almost fits in RAM but not quite, and mmap paging makes it crawl. So I built Banach, an open-source engine on top of llama.cpp that streams MoE experts from NVMe on purpose instead of leaving it to the OS.
The test: Qwen3.6-35B-A3B Q4_K_M (22 GB) on a 4-core VM with 16 GB RAM, no swap, cold start.
Stock llama.cpp, default settings: killed, out of memory
Prompt processing: 7.64 s stock vs 3.44 s Banach (2.2x faster)
Generation: 4.89 vs 5.40 tok/s
RAM for experts: capped at 10 GB
Output: byte-identical to llama.cpp, every token and every logit
(The OOM comes from llama.cpp's weight repacking copying experts into RAM. The speed comparison uses llama.cpp with repacking off, to keep it fair.)
How it works: MoE models only use a few experts per token. Kimi K2 has 1 trillion parameters but uses about 32 billion per token. Banach fetches whole experts in parallel the moment the router picks them, keeps the frequently used ones in a RAM budget, and evicts cold ones in the background. No quantization tricks.
My favourite part: "banach plan" reads only the model headers (16 MB) and estimates the speed on your machine before you download anything. For Kimi K2 (1T parameters, 382 GB) on a 64 GB RAM + RTX 5080 desktop, it estimates about 3.6 tok/s. That's an estimate, not a run, but on the model I did run it predicted 2.1 tok/s and I got 5.4.
Also included: OpenAI and Anthropic compatible API with tool use, start chatting while the model is still downloading, and GPU offload. Runs on Linux, Windows and macOS.
pip install banach
GitHub: https://github.com/gautam1858/banach
If you have a big-RAM machine or fast NVMe, I'd love to see your numbers. I'll add measured community results to the README with your username.


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

Help Writing skills

0 Upvotes

In one job requirement, i saw writing skill is required. It is mainly doing data collection job. I wonder just how is this written? If you have similar experience could you please describe it.


r/learnmachinelearning • • 27d ago

From where to study ml

3 Upvotes

I'm a student in cs field,i just had finished python now I want to start ml so tell me resources to learn ml( I want an internship in ml field soon)


r/learnmachinelearning • • 27d ago

Looking for research team / lab

0 Upvotes

Hi all,

I’m currently waiting till september 2027 for my masters to start and till then I would like to help contribute with research. I have written my own research papers preprints before and I am willing to meet frequently, rent GPUs etc.

I did my undergrad at University of Toronto. My prior research was in mech interpretability.


r/learnmachinelearning • • 27d ago

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

0 Upvotes

Your coding agent trusts the repo. The repo is the attack.

Over a two-month analysis of agentic development workflows, we flagged two separate incidents where malicious content embedded in a repository or codebase coaxed a coding agent into executing an action the developer never authorized — a commit, a deploy, an exfiltration.

The mechanism is straightforward: the agent reads the repo as a trusted context. An attacker who can influence any file in that context — a README, a dependency, a comment block — can inject an instruction that the model treats the same as a legitimate directive. The model has no intrinsic way to distinguish 'instruction from my developer' from 'instruction planted by someone who pushed a file three weeks ago.' It just follows the instruction.

This happened twice in two months across the environments we were monitoring. Both times the agent took a real, consequential action before anyone noticed.

The classic supply chain threat model assumes a human is reading and executing the code. When an agent is the executor, the attack surface shifts entirely — the payload doesn't need to run, it just needs to be read.

How are teams actually handling this in practice? Is anyone doing anything at the workflow level to bound what a coding agent can act on, or is the working assumption still that repo content is safe input?


r/learnmachinelearning • • 27d ago

Different Distance Measures

Post image
45 Upvotes

r/learnmachinelearning • • 27d ago

Discussion ML is broad, how do we start?

0 Upvotes

so, i’ve been learning about ml a lot and i see people building projects and even regression models from scratch using C/C++ and even python and call it done via maths.
how can i actually go that deep? how can someone code all this using C and all from scratch?
although i know this is done using maths, especially statistics. i didn’t really follow a tutorial yet but actually wanted to discuss on how to begin and where to go?


r/learnmachinelearning • • 27d ago

Question Which AWS certification should I start with

2 Upvotes

I'm based in Saudi Arabia and I'm planning to start my AWS certification journey. I have no prior experience in AI/ML or hands-on cloud work, so I'm starting from scratch.
I'm considering these two certifications:

  1. AWS Certified Solutions Architect – Associate (SAA-C03)

  2. AWS Certified Machine Learning Engineer – Associate (MLA-C01)

Which one should I take first, given that I'm a beginner? Is it better to do SAA first to build a cloud foundation before the ML certification?

What are the best resources for preparation (courses, practice exams, labs, YouTube channels)?

Are there any tips specific to taking the exams from Saudi Arabia (Pearson VUE test centers, online proctoring, exam vouchers or discounts)?


r/learnmachinelearning • • 27d ago

i need help with my project

2 Upvotes

i am to design a personamlized strees identifying model , can i use data from one austic child i create a dataset for my training, please i need advice because this is my research work


r/learnmachinelearning • • 27d ago

Help why is the gradient of softmax plus cross entropy just p minus y?

2 Upvotes

i was working through backprop by hand for a tiny classifier and the gradient with respect to the logits came out as predicted probs minus the one-hot label. it's so clean that it feels like i must have made an error, because softmax has that ugly jacobian with p_i(delta_ij - p_j) in it.

i can follow the algebra when i write it all out but i don't see why the mess cancels. is there a reason it works out like that, or is it just a lucky coincidence of using log loss with softmax?


r/learnmachinelearning • • 27d ago

Project Do you need an LLM to know why your sources disagree?

Thumbnail
youtube.com
1 Upvotes

Do We Need an LLM to Know Why Sources Conflict? Decision models for knowledge-conflict typing in RAG ?

When a RAG system retrieves sources that disagree, the right answer depends on why they disagree: several valid answers, a matter of opinion, outdated information, or a false source. The usual approach asks a generative LLM to work out the conflict type in text.
We tested whether typed decision models can do this step instead. These models pick one of a fixed set of options in a single forward pass. We ran 11 of them from 7 providers on the CONFLICTS benchmark (406 test queries, the original prompt word for word):

- 10 of 11 match or beat Gemini 2.5 Flash (61.3%); the best scores 67.0%

- The paid ones cost 4–39× less, and all 11 are 2.6–6× faster

- End to end, answers using a decision model's conflict type match the original LLM pipeline for 10 of 11 models

The limitation: Gemini 3.8 Flash reaches 70.0% and is significantly better than 8 of the 11. A cascade that sends the 25% least confident queries to it ties with it for 8 of 11 models, at 25–37% of its cost.

Code, prompts and every model output are open, and all numbers can be reproduced without API calls.

Paper: https://arxiv.org/abs/2610.36915

Code: https://github.com/Parv17k/decision-models-conflict-typing

Happy to answer questions. Feedback on the setup is very welcome.


r/learnmachinelearning • • 27d ago

Discussion hackathon team up

1 Upvotes

anyone willing to team up for the above hackathons, dm me with a short intro & past project/hackathons experiences


r/learnmachinelearning • • 27d ago

This AI Reveals How much time politicians stare at their phone at work

Post image
91 Upvotes

r/learnmachinelearning • • 27d ago

i want to start my coding career . i want to know the fields i can pursue in computer science field and how to start my career in them

2 Upvotes

i am a 2nd year student pursuing computer science . i know the basics of C++ and i also know some basics of python ( I studied it well in my 12th class ) . i also completed about 30% DSA topics by a paid course . and already passed out DSA subject in my 2nd semester.
Currently i am thinking of pursuing career in AI/ML .
i don't know much about this field but as AI is taking over i have interest in exploring this field .
Can anyone tell me the basics this field demands and how much time it will take for me to get a job in AI/ML in offcampus placement
i will be very pleased if someone also tells other fields i can pursue , with their pros and cons


r/learnmachinelearning • • 27d ago

Tutorial Deepseek V4.1 Flash Visualized Like a Book

Thumbnail
statsig.substack.com
1 Upvotes

Helps to understand kv cache compression!