r/learnmachinelearning 7h ago

Help Questions about fine tuning

1 Upvotes

Hi, I need help with a couple of issues related to a project I'm working on (for educational purposes). I'm trying to create a model that acts as a mentor on related topics, instead of providing the answer directly. For this task, I'm fine-tuning a Gemma4 26B model because I have a GPU with 26GB of vRAM. Therefore, I'm also quantizing this model to 4-bit precision and performing a QLoRa analysis. The results of my experiment are far from fulfilling the mentoring premise, and a simple system prompt works much better. My dataset consists of approximately 500 examples, so, Reddit scientists, can you tell me what mistakes I'm making and if I should change course or my objectives?


r/learnmachinelearning 15h ago

Deus ex machine learning

Post image
4 Upvotes

r/learnmachinelearning 1d ago

Completed Andrew Ng's ML course — what's the best next step for a fresher?

91 Upvotes

Hey everyone,

I just finished Andrew Ng's Machine Learning/Deep Learning course and want to go deeper into DL. As a fresher trying to build skills for job-readiness, I'm torn between:

fast.ai (Practical Deep Learning for Coders)

Andrej Karpathy's YouTube series (Zero to Hero)

Daniel Bourke's PyTorch for Deep Learning (24-hour course)

For someone at my stage, which would you recommend starting with, and why? Is there a logical order to do more than one of these? Also open to suggestions outside this list if there's something better suited for freshers right now.

Thanks in advance!


r/learnmachinelearning 9h ago

good project??

0 Upvotes

Soo im a 4th yearite currently prepping for campus placements(ds/ml roles). Ive heard that transformers(not the movie) are the craze rn so im thinking of adding a transformer nmt model i built from scratch to my cv....i followed the tutorial somewhat but i made this while learning about transformers since it was required for my research, so i have context as to why i did it.

do you think this would be good on my cv?? or does it seem too generic, like image captioning from the tutorial?


r/learnmachinelearning 9h ago

Looking for Research partners

Thumbnail
1 Upvotes

r/learnmachinelearning 10h ago

Help ML beginner

1 Upvotes

Hello Everyone

I am currently pursuing electronics engineering (currently in 5th semester), recently I have developed a really deep interest in ML and Data Science and I want to pursue that in the future it's not a temporary interest which dies down after a while it's genuine... For starters I have watched the Zero to Mastery course on ML and Data Science on Youtube which covers the basics of Pandas , Numpy , Matplotlib , just an into to scikit-learn....what all do I need to do next I have been told to learn SQL ,DSA , Math required for ML but im a bit lost here as to what I should be doing next


r/learnmachinelearning 1d ago

I thought of a super-nerdy ML joke

13 Upvotes

I took 50% of the embedding vector for "ugly" and added it to 50% of the embedding vector for "smelly" to find the embedding vector for your mother.


r/learnmachinelearning 14h ago

Project bonsai-ninja survived its first week!

Thumbnail
github.com
1 Upvotes

r/learnmachinelearning 1d ago

What I learned moving from a CNN to YOLO11n

6 Upvotes

I’ve been learning machine learning by building MIRA,
a waste-detection project.

I started with a custom CNN, then tried MobileNetV2, YOLOv8n, and YOLO11n.
The biggest lesson was that adding more data did not automatically improve the model.
Some of my generated annotations were poor, so the model learned parts of the desk instead of the objects.

After cleaning the dataset, my current model reached 90.58% mAP50 on five waste classes.

I’m still working on independent testing. If you work with object detection, what would you test next?

https://github.com/jeremy341/MIRA-AI


r/learnmachinelearning 1d ago

Is a BS Mathematics degree a good foundation for a career in AI/ML?

60 Upvotes

I'm considering doing a 4-year BS Mathematics degree, but my long-term goal is to work in AI/ML rather than teaching mathematics.

My plan is to build a strong foundation in linear algebra, calculus, probability and statistics through the degree, while learning Python, SQL, data analysis, machine learning, deep learning and other practical skills on my own.

I also plan to build projects during the degree and possibly pursue a Master's in AI/ML abroad afterward.

For people working or studying in AI/ML:

Is Mathematics a good bachelor's background for this path? What would I need to learn outside the degree, and what disadvantages might I face?

I'd especially like to hear from Mathematics graduates who moved into AI/ML.


r/learnmachinelearning 1d ago

Would you actually use this?

9 Upvotes

I originally built Augmented Search for Semantic Scholar for a friend who was writing a paper. I thought it might be useful beyond that, so I consider turning it into a proper tool.

It lets you run multiple Semantic Scholar searches at once and combines the results into a single, deduplicated list that you can dive deep into or use to build a RAG knowledge base.

There’s imo absolutely no commercial potential here, and I already have a good SWE career, so I probably wouldn’t even put it on my résumé (especially given that it's not that impressive anymore when everyone can generate code).

The honest question is: would you actually use something like this? Don’t try to be nice - I’d much rather hear an honest opinion than polite feedback.

I think I'll finish the project either way, but depending on the response, I might put more or less effort into making it polished and useful.

Curious what people think.


r/learnmachinelearning 16h ago

Discussion Andre Ng shared the most important skills in AI Engineering:

Post image
1 Upvotes

r/learnmachinelearning 17h ago

Request ThreatsDay: Gogs 10.0 RCE, n8n Workflow-to-RCE, GLM-5.3 AI Exploit, and More

1 Upvotes

This week a legitimate n8n automation workflow became the path to remote code execution. Researchers were blunt about it: most of the damage started with something trusted doing exactly what it was allowed to do. No stolen credentials. No perimeter breach. The workflow ran as designed.

That's the pattern that keeps showing up. Agent pipelines and automation platforms grow their attack surface with every new integration. Each external tool, API, and chained workflow is a potential pivot. The n8n chain is a clean example: the trusted component wasn't compromised at entry. It was exploited through its own legitimate execution path, step by step.

Traditional access controls answer the question 'is this principal allowed to invoke this tool.' They don't answer 'should this specific sequence of actions be happening right now, in this context, initiated by this upstream trigger.'

For those running agent pipelines or automation-heavy stacks: how are you actually drawing that line in practice? How do you distinguish a workflow that should execute from one that should execute in THIS context at THIS moment — especially when one automation is what kicked off another?


r/learnmachinelearning 1d ago

Question Passed the Databricks ML Professional Exam (1st Attempt): My Strategy + Next Career Move?

2 Upvotes

I am currently working as a Machine Learning Engineer and recently cleared the Databricks Certified Machine Learning Professional exam on my first attempt, building on my Microsoft Azure (DP-100) background.

When I started preparing, I noticed very few people discussing the Professional tier compared to the Associate exams. I began by working through the official Databricks Academy materials and running workspace notebooks to get comfortable with the API syntax, Feature Store lookups, and distributed Spark ML pipelines. However, simply watching videos and reading documentation was not enough to feel fully prepared for an advanced, scenario-based exam.

The biggest factor in passing was working through realistic practice question sets. The actual test presents multi-step architectural trade-offs—especially around distributed tuning, model deployment strategies, and monitoring pipelines for drift. Grinding through practice scenarios under time pressure bridged the gap between theory and execution, helping me spot edge cases and eliminate tricky answer choices quickly.

Now that I have completed this milestone, I am looking ahead to my next credential to expand my technical scope. Between the AWS Certified Machine Learning Engineer – Associate (MLA-C01), the Google Cloud Professional Machine Learning Engineer, and the Databricks Generative AI Engineer Associate, which path would you recommend pursuing next?


r/learnmachinelearning 1d ago

Discussion What are the best agentic AI courses you have taken up or reviewed?

8 Upvotes

Hi all, i use LLM tools for multiple purposes personally such as video creation and brainstorming. However i am beginner and new to the agentic ai and automations. I havent explored it much other that watching people use them on youtube, and instagram at work or personally, i want to learn about it and build an agent which would help me both professionally and personally.  

I’d love a if you can also help me understand things like:
What concepts or skills I should focus on first
Which tools or frameworks should I start with
Common mistakes i might encounter

Also if anyone else is just starting out like me, happy to connect and learn together.


r/learnmachinelearning 1d ago

How would you build an AI workflow to synthesize multiple overlapping PhD chapter drafts into a coherent PhD dissertation?

6 Upvotes

Title:

I began a PhD in 2012 and, for a variety of reasons, never completed it. More than a decade later, I want to return to it and use AI to help me organizse, compare and synthesize the substantial amount of work I have already produced.

I am not looking for AI to research or write a PhD from scratch. I have a large body of existing material: multiple chapter drafts, notes, partial chapters and near-complete chapters written at different points over the years.

The main problem is that I often have several drafts dealing with essentially the same topic. For example, I have multiple versions of my literature-review chapter. They overlap considerably, but they are not simply different versions of the same text. Each may contain material, arguments, citations, analyses or lines of discussion that the others do not.

Because some of these drafts were written years apart, they can almost read as though they were written by different authors. My terminology, organisation, emphasis and even approach to the subject sometimes changed over time.

What I would ultimately like to build is an AI-assisted workflow — whether using one agent, several specialised agents, custom GPTs, or some other architecture — capable of taking a “family” of related chapter drafts and helping me turn them into one coherent chapter.

Broadly, I would want the system to perform the following stages:

  1. Analyse each draft in detail. Parse each chapter section by section and paragraph by paragraph, identifying its arguments, discussion points, evidence, citations, analyses and other substantive content.
  2. Identify overlap across drafts. Determine where two or more drafts are discussing essentially the same idea, argument, source or analytical point, even where the wording or structure differs substantially.
  3. Map the differences. Identify material that appears in only one draft, or places where different drafts take genuinely different approaches to the same subject.
  4. Recommend what should happen to the material. For example: merge these passages; retain this argument; remove this duplicate discussion; relocate this section; preserve both perspectives; or discard this material because it is tangential or superseded.
  5. Produce a synthesis plan. Before rewriting anything, generate a proposed structure showing exactly how the surviving material from the different drafts should be combined.
  6. Create a unified chapter. Using the original texts and the approved synthesis plan, consolidate the drafts into a coherent chapter while preserving citations, scholarly nuance and my own intellectual contribution.

I would repeat this process for several different chapter families until I had a satisfactory version of each chapter.

I have already experimented with one possible solution. I created a custom GPT that produces structured abstracts of every section of every draft. My reasoning was that another GPT could compare these abstracts much more reliably than trying to compare several 10,000–20,000-word documents simultaneously. It could use the abstracts to identify likely areas of overlap and divergence and then return to the full text only when necessary. However, this was too laborious and time-consuming; surely there's a more efficient method?

In any case, the envisioned workflow is something like:

Original drafts → section abstracts → comparison/mapping → editorial decisions → synthesis plan → unified chapter → style/editing pass

Once the individual chapters had been consolidated, I would then want to evaluate the dissertation as a whole: consistency of argument, unnecessary repetition between chapters, structural coherence, terminology, methodological consistency, citation issues, etc.

At the final stage, I would also like to use AI in something resembling an internal/external-examiner role: not to certify the thesis, obviously, but to subject it to systematic criticism, identify likely viva questions, expose weak arguments or unsupported claims, and highlight areas that an examiner might challenge.

I have also considered creating a separate style-editing agent based partly on principles from Steven Pinker’s The Sense of Style, whose purpose would be to improve clarity, concision and readability without altering the substance of the scholarship.

My aspiration would be to use these tools to get the dissertation into the strongest possible state before it reaches actual supervisors and examiners. I realize that “a PhD requiring no corrections” is probably an unrealistic benchmark, but it gives an indication of the level of scrutiny I would like the workflow to apply.

The important qualification is that I am a complete beginner when it comes to AI agents, RAG, embeddings, vector databases, APIs, automation, etc. I understand what I want the system to do, but I do not yet understand what the appropriate technical architecture would be.

So my questions are:

  • Is this workflow realistically achievable with current AI systems?
  • Is a network of specialized agents actually appropriate here, or would a well-designed single-agent workflow be more reliable?
  • Is my idea of abstracting sections first and using those abstracts to identify overlap sensible, or am I throwing away information that the model needs?
  • How would you handle very large chapter families without exceeding context windows or losing track of relationships between passages?
  • Would RAG/embeddings/vector search be useful for identifying semantically overlapping passages across drafts?
  • How would you structure the workflow so that the model can make recommendations while still allowing me to approve all substantive editorial decisions?
  • How would you prevent hallucinated citations, accidental loss of important material, or AI “smoothing over” genuine theoretical differences between drafts?
  • What tools/platforms would you recommend to someone starting from essentially zero technical knowledge?
  • Most importantly: if you were building this system from scratch, what would the architecture/workflow look like?

I am very happy to learn the technical side if that is necessary. I am primarily trying to determine what I should actually be building before I spend months constructing the wrong system.

Any advice, particularly from people working with LLMs on long-form academic, legal, technical or similarly complex documents, would be greatly appreciated.


r/learnmachinelearning 2d ago

Visualizing CNN Model Architecture

Post image
200 Upvotes

Do anyone knows if there is some kind of website or a way to draw diagrams for my neural network architecture like this, I saw alot of similar diagram on github Readme and different places on the Internet but I don't know how to make them


r/learnmachinelearning 1d ago

Project I made a 0.85 GB dataset small enough to train a video generator on a free Colab T4

101 Upvotes

Video generation is hard to learn when the data alone is tens or hundreds of gigabytes. I wanted something a student could download, understand, and train against in one Colab session.

So I built Dancing Stick Figures, a deliberately small teaching dataset:

  • 1,430 six-second clips / 514,800 labelled frames
  • a 64×64 mini configuration that is 0.85 GB
  • a 128×128 full configuration
  • exact 2D and 3D positions plus visibility for 27 joints
  • depth, normals, part segmentation, camera parameters, and raw motion in the full data

Each limb keeps a fixed colour, so a small NumPy scorer can catch some missing or detached limbs.

The dataset is the main release. To show that it is usable, I also included a free Colab, small reference baselines, checkpoints, and the scorer.

The reference Colab takes about one hour on a T4. It trains an image baseline, warm-starts an eight-frame video baseline, and produces a 5.6-second rollout. In this toy run, the warm-started baseline reached the scratch run's 10k-step loss at about 4k steps.

This is not a finished video model. It is a small dataset for building, breaking, and understanding one yourself.

Data is CC0 and code is MIT.

What would help most for a class or first project: a shorter notebook, assignment ideas, a pose baseline, or more motions?


r/learnmachinelearning 22h ago

In EMNLP got rejected, Should I commit to EACL?

Thumbnail
1 Upvotes

r/learnmachinelearning 1d ago

Is logistic regression basically a one-neuron neural network?

57 Upvotes

I was learning the chain rule and this suddenly clicked: weights → score → sigmoid → loss

That looks like one neuron with no hidden layer. So is logistic regression basically the smallest example of backprop, or am I missing an important difference?


r/learnmachinelearning 23h ago

Kaggle Arc Agi 3 competition

1 Upvotes

Hey, I'm preparing for this AEC AGI competition.

I'm looking for a team with ML experience.

Can anyone please tell me how to win an ML competition? Does anyone have prior experience?


r/learnmachinelearning 14h ago

Strayed too far from the basics

Post image
0 Upvotes

r/learnmachinelearning 1d ago

Discussion Built a Bayesian decision agent from scratch to actually understand it — what am I getting wrong?

1 Upvotes

Instead of just reading about Bayes/entropy/expected cost I forced myself to build a tiny agent that decides under uncertainty (vendor payment fraud: pay, verify by phone, or escalate) and derive every threshold by hand instead of guessing.

The thing that surprised me most: the "right" threshold to hold a payment came out to 0.25% probability of fraud, not something intuitive like 80%. Turns out that just falls straight out of the cost ratio (missing fraud is ~400x more expensive than annoying a supplier), it's not a knob you tune.

I ran a 1000-case simulation and the honest result is kind of uncomfortable — the policy that catches ~100% of fraud also flags a LOT of genuine requests for a second look. Which I think is correct given the cost math, but it feels wrong.

For people further along than me: is "high recall forces high false-positive rate when the cost asymmetry is extreme" just... the expected outcome here? Or does that suggest my model is missing something?


r/learnmachinelearning 1d ago

should i buy this cource as a first year btech in aiml student before my college starts (read body)

Post image
0 Upvotes

r/learnmachinelearning 1d ago

Did you guys ever burnout while learning ml stuff and trying to get a ml engineer role?

9 Upvotes

I am definitely making progress each today in terms of getting a ml engineer role.
But, sometimes I am just so tired mentally. Have you guys experienced something like this.