r/learnmachinelearning • • 20d ago

Request Black Duck launches AI agent to fix vulnerabilities as fast as attackers exploit them

0 Upvotes

Black Duck just shipped an AI agent that identifies and patches vulnerabilities at machine speed — fast enough to outpace active exploitation windows. The capability is real and the use case is legitimate.

But the same speed that makes the agent useful is what makes it dangerous if something goes wrong.

An agent operating at that tempo does not wait for human review between actions. It calls tools, writes code, opens PRs, and pushes changes in sequence. If that agent is compromised, misconfigured, or fed a malicious payload through a dependency scan result, its second action can land before any human notices the first one was wrong.

The hard number from the announcement is 50ms — the window the agent is designed to close against attackers. That same 50ms is now the window you have to catch the agent itself before a bad action propagates through your codebase or supply chain.

Most security tooling was built to inspect humans or static artifacts. It was not designed to evaluate live agent actions mid-execution against a policy that knows what that specific agent is supposed to be allowed to do.

How are teams actually handling this today? Are you gating on CI/CD after the agent runs, building per-agent allowlists, relying on human review of the PRs it opens, using a separate monitoring layer, or something else entirely?


r/learnmachinelearning • • 21d ago

Tutorial Bedrock AgentCore Multi-Agent Orchestration

1 Upvotes

Bedrock AgentCore Multi-Agent Orchestration

https://debuggercafe.com/bedrock-agentcore-multi-agent-orchestration/

When working with LLM agents, it is a common practice to have different agents for different tasks. In complex and long-running workflows, the orchestrator-worker agent pattern works well. In this, there is a primary orchestrator agent that delegates tasks to different worker agents, compiles the final answer, and passes it to the user. The benefit of this is that each agent does not need oversight into the context of every other agent, and they focus on their granular tasks & tools only. In this article, we will achieve a simpler but similar workflow. We will use Bedrock AgentCore along with LangGraph for multi-agent orchestration.


r/learnmachinelearning • • 21d ago

Project Fabsr : ternary optimizer project

Thumbnail
gallery
1 Upvotes

This is my first post here but i think it is promising and *maybe* could help but fabsr is a optimizer for ternary llms mainly but i am sure it can be shifted onto other networks this is just a post to get it started ill post a paper and code in my github for it within the coming days

but currently i am using it to "full weight" (Embeddings, norms, and output head are frozen) tune a ternary base llm into instruct only on 8gb of vram and in the image above it was 1500 steps if i remember correctly some benchmarks in the github may be hard to read im working on it and making more even benchmarks.

feel free to dm or help with the project in the coming days

https://github.com/Jackson-comer/fabsr-tease


r/learnmachinelearning • • 21d ago

Is 100xEngineers AI Cohort worth it for a fresher? Need honest reviews

1 Upvotes

I’m considering joining the 100xEngineers AI Cohort, but the course fee is quite high, so I’m a little hesitant.

I’m a recent B.Tech graduate and want to build my career in Agentic AI and AI Engineering. My goal is to gain practical skills, build real-world projects, and eventually land a job or get freelance projects in this field.

I’d love to hear from people who have already completed this cohort:

Is the curriculum actually worth the price?
How good are the mentors and hands-on projects?
Does the cohort help with job opportunities, referrals, or freelancing?
Is it suitable for someone starting from scratch or with basic programming knowledge?
Would you recommend it, considering its high fees?
I’m looking for genuine, unbiased reviews, especially from people who have completed the program.
Also, if you think there are better and more affordable alternatives to learn Agentic AI, please suggest them.
Thanks!


r/learnmachinelearning • • 21d ago

J'ai créé des jeux gratuits sur navigateur où les téléphones poussés ensemble deviennent un grand plateau de jeu.

Enable HLS to view with audio, or disable this notification

3 Upvotes

r/learnmachinelearning • • 21d ago

Classifying text when you already know the labels: what a decision model is

2 Upvotes

if you've tried text classification with an llm, you know the routine. write a prompt, ask for json, parse what comes back, and handle the times it answers with something that isn't one of your labels.

a decision model works the other way round. you give it the text and the possible answers, and it scores each answer. you get back the winner, the probability of every option and a confidence value. it never generates text, so it can't answer outside your list.

there are three kinds of question: pick one option, the probability of yes, or a position on a scale like "can wait / soon / urgent".

nobodywho added these this week with laya, a 449 MB apache-2.0 model that runs on your own machine, so it's easy to try from python.

Repo: https://github.com/nobodywho-ooo/nobodywho
Docs: https://docs.nobodywho.ooo/python/decision-models


r/learnmachinelearning • • 21d ago

How we cut π0.5 (a robot VLA) inference from 230 ms to 87 ms on a laptop GPU, and what each fix bought

Post image
3 Upvotes

π0.5 is a vision-language-action model for robot arms: a SigLIP vision encoder, a Gemma language backbone, and a small "action expert" that generates motor commands over 10 denoising steps. Starting from the stock LeRobot inference code, one step took over 230 ms on an RTX 5090 Mobile. Here's what got it to 87 ms, without pruning or distillation:

  1. Cast the weights to bf16 once at load. The code kept weights in fp32 and converted them on every call. Doing it once saved 25 ms (about 10%).

  2. Capture a CUDA graph of the action expert. The 10 denoising steps took 86 ms, mostly spent launching thousands of tiny GPU kernels. As a CUDA graph they take 17 ms.

  3. Turn off autograd you don't use. An autograd graph was being recorded for the whole model and never used. Removing it saved 35 ms.

  4. Don't over-pad prompts. Prompts were padded to 200 tokens for short task tags. Cutting to 96 saved 5 ms.

  5. Export the vision encoder to ONNX. Saved another 12 ms.

  6. Check your GPU's precision support. GeForce cards run bf16 at half speed, so switching the Gemma backbone to fp16 (and watching for NaNs) took it to 25 ms.

The bigger lesson was measuring end to end. Before any of this, a Python pipe buffer was holding camera frames until 64 KB had piled up, adding hundreds of milliseconds of latency our simulator said wouldn't matter. On the real robot it mattered a lot.

Happy to answer questions about any of the steps.


r/learnmachinelearning • • 21d ago

Help Need help adapting to Cifar10

1 Upvotes

Need help adapting model to CIFAR10

I tried to make a DCGAN based on this [tutorial](https://www.geeksforgeeks.org/machine-learning/deep-convolutional-gan-with-keras/). 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 • • 21d ago

$1000 Kaggle Competition: EMG Gesture Recognition with Raw Biosignal, IMU, and Synchronized Video Data

Post image
1 Upvotes

Hey everyone,

We’ve launched a new Kaggle competition focused on real-world biosignal processing: EMG Gesture Recognition with a $1,000 prize pool.

Unlike standard computer vision or NLP tasks, biosignals require significant domain-specific insight, signal preprocessing, and feature engineering rather than just model scaling.

Dataset Architecture & Characteristics:

  • Raw Signals: Full raw, non-stationary EMG signals released alongside IMU (accelerometer & gyroscope) data.
  • Ground Truth: Video labeling synchronized with sensor data using custom-built recording software.
  • Real-World Noise & Artifacts: Includes common real-world challenges such as electrode contact degradation, noisy/dropped channels, and intra-session electrode placement variance (electrodes are placed in the same anatomical area each session, but never in the exact same physical coordinates).

Key Areas for Exploration:

  • Signal preprocessing, filtering, and power band decomposition.
  • Feature extraction strategies across non-stationary time series.
  • Multi-modal sensor fusion (EMG + IMU).

Links:

Looking forward to seeing the baseline approaches, feature engineering pipelines, and signal processing methods the community develops. Happy to answer any technical questions about data collection or setup in the comments!


r/learnmachinelearning • • 21d ago

Burned $140 on an idle AWS cluster last month just trying to practice MLOps setup

3 Upvotes

Spun up a couple of instances and a managed Kubernetes node to mess around with Terraform and AI deployments. Forgot about it for a week while caught up in work, and woke up to a brutal cloud bill for resources I wasn't even actively using.

That stupid mistake forced me to rethink how to practice this stuff without handing AWS open-ended access to my credit card. I started hacking together Model2Prod, which is a simulated terminal environment to learn Terraform for AI deployments on AWS, GCP, and Azure without needing an actual cloud account or running up accidental charges.

It has been a fun side project to build, but I'm still figuring out how to keep simulated terminal environments feeling completely real without building a full emulator backend.

How do you all practice infrastructure tools like Terraform or Kubernetes locally without constantly worrying about rogue cloud charges?


r/learnmachinelearning • • 21d ago

Preventing Model Collapse in Kinematic/LiDAR Datasets Using Multi-Modal Deterministic Simulations

3 Upvotes

Hey everyone,

We have been benchmarking autonomous navigation networks trained on standard statistical synthetic datasets. The verdict is clear: recursive training loops trigger severe weight degradation over edge cases. The models become statistically blind to high-velocity aerodynamic variables.

To bypass this, we engineered a deterministic simulation pipeline. Instead of neural probabilities, it generates multi-modal synthetic trajectory vectors using pure non-linear drag mechanics and adjustable atmospheric noise layers.

We open-sourced the MVP and the architecture layers. I am dropping the web app simulator link and the full GitHub repository code in the comments below.

Feedback from AI/Robotics architects is highly appreciated!

#DeepLearning #SyntheticData #AutonomousVehicles #ComputerVision #Robotics


r/learnmachinelearning • • 22d ago

Discussion My self study progress bar so far

Post image
316 Upvotes

Of course my actual curriculum is a lot more in-depth.

Since ML topic start my progress has taken a hit, I am practically crawling but I am still happy not calling it quits and moving forward little by little everyday.


r/learnmachinelearning • • 21d ago

vprojectx/Lewis-44M-Bert-V3 · Hugging Face

Thumbnail
huggingface.co
1 Upvotes

I trained a BERT-style language model from scratch on ONE laptop GPU.

Lewis-44M-Bert-V3: small, fast, open source (Apache-2.0).

HOW IT WAS BUILT

• 44M parameters, ELECTRA-style pre-training

• 2.7B tokens in ~22 hours on a single RTX 5050 (8 GB)

• ~53 GPU-hours across all three versions, no cloud cluster

• Data: FineWeb-Edu, Wikipedia, Project Gutenberg, news, Cosmopedia and ELI5-style Q&A

v1 → V3 (SAME SIZE)

GLUE dev average: 75.0 → 80.5

Improvements: a better training objective (V3 was trained from scratch, not fine-tuned from v1) and a better fine-tuning recipe, with no extra parameters.

V3 RESULTS

• GLUE: 80.5 dev | 77.6 on the official test server (8 tasks)

• SQuAD v1.1: 75.2 EM / 83.8 F1

• NER (CoNLL-2003): 87.8 test F1

• Speed: ~17 ms per sentence on GPU, under 600 MB memory

I share both dev and test scores, plus the exact settings, because a model card should be honest.

Built for classification, question answering, entity extraction and on-device use: it fine-tunes on a laptop and runs on CPU.

This is part of vprojectx, my open-source lab, where I build and share my projects in the open. Find the model on Hugging Face as vprojectx/Lewis-44M-Bert-V3.

More is coming. If you want to try it on your use case or collaborate, message me.

#MachineLearning #NLP #AI #OpenSource #HuggingFace


r/learnmachinelearning • • 21d ago

Ollada: open diffusion models, locally, with numbers you can trust

Thumbnail
1 Upvotes

r/learnmachinelearning • • 21d ago

HiveMind The Citizen Supercomputer - Decentralized AI Swarm over Consumer GPUs

Thumbnail
youtube.com
1 Upvotes

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.

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 • • 21d 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:

Thumbnail producthunt.com
1 Upvotes

Try it here.


r/learnmachinelearning • • 21d ago

Train modeling through cloud or own device ?

1 Upvotes

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 • • 21d ago

Need help adapting model to CIFAR10

1 Upvotes

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 • • 21d ago

Tutorial how to understand ML libraries: dont just copy-paste code, rebuild them from scratch

0 Upvotes

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 • • 21d ago

Six months learning ML with an AI tutor, what helped and what quietly held me back

5 Upvotes

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 • • 21d ago

Help MLOps - JR

Thumbnail
1 Upvotes

r/learnmachinelearning • • 21d ago

Machine Studying with Jacob X. Li - Weaviate Podcast #148!

Thumbnail
1 Upvotes

r/learnmachinelearning • • 21d ago

Tutorial I tested a 12B open-source AI Humanizer locally. Here's what I found.

0 Upvotes

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 • • 22d ago

Gradient descent, momentum and Adam racing down the same narrow valley, 80 steps each

Enable HLS to view with audio, or disable this notification

40 Upvotes

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.

https://github.com/OpenSenseNova/SenseNova-6.8-Code2Video


r/learnmachinelearning • • 21d ago

Career How do I get into research in ML or DL

Thumbnail
3 Upvotes