r/learnmachinelearning • • Nov 04 '26

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 • • Nov 04 '26

[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 • • Nov 04 '26

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 • • Nov 04 '26

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 • • Nov 04 '26

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 • • Nov 04 '26

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 • • Nov 04 '26

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 • • Nov 04 '26

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 • • Nov 04 '26

Tutorial Deepseek V4.1 Flash Visualized Like a Book

Thumbnail
statsig.substack.com
1 Upvotes

Helps to understand kv cache compression!


r/learnmachinelearning • • Nov 03 '26

Question How Difficult Is It to Become an AI Engineer from Scratch?

72 Upvotes

I’m starting from scratch and interested in working in AI engineering. How difficult is it to prepare for a job in this field? What learning path and projects would you recommend for a beginner? If you have any guides or resources to share, I’d really appreciate it.


r/learnmachinelearning • • Nov 04 '26

How recommendation systems learn user preferences: from collaborative filtering to multi-interest models

Thumbnail
reddit.com
1 Upvotes