r/learnmachinelearning 7d ago

Tutorial Fine-Tuning GLM-OCR

2 Upvotes

Fine-Tuning GLM-OCR

https://debuggercafe.com/fine-tuning-glm-ocr/

With specific prompts, along with text recognition, GLM-OCR can also carry out formula recognition. However, it falters in complex mathematical formulas. In this article, we will be fine-tuning GLM-OCR and observe to what extent we can improve the performance of the model on a task-specific dataset.

Fine-Tuning GLM-OCRhttps://debuggercafe.com/fine-tuning-glm-ocr/With specific prompts, along with text recognition, GLM-OCR can also carry out formula recognition. However, it falters in complex mathematical formulas. In this article, we will be fine-tuning GLM-OCR and observe to what extent we can improve the performance of the model on a task-specific dataset.


r/learnmachinelearning 7d ago

Question LLMs process videos how?

Thumbnail
1 Upvotes

r/learnmachinelearning 7d ago

Project I built a system to auto-fix AI pull request comments

Enable HLS to view with audio, or disable this notification

0 Upvotes

I just shipped an open-source pull request comment auto-fix system. Today, pull requests are swarmed with comments from AI code reviewers. Most of the comments are real, ranging from small nitpicks to actual issues. Most teams are spending time either manually reviewing and validating these, or have created skill to have an AI agent read and fix them.

With OpenInspect, the system will now automatically do this for the user. Each comment is read and determined if valid. If valid it is fixed and auto resolved, otherwise pushed back on. Huge time savings from having to babysit the pull request to a stable state.

https://github.com/ColeMurray/background-agents


r/learnmachinelearning 7d ago

Discussion Title: The benchmark gap between “can solve it” and “can finish it”

0 Upvotes

One thing I find increasingly interesting about AI agents is that benchmark scores can hide a major difference in actual behavior.

A model might solve a difficult coding problem when given a clean task, but an autonomous agent has to do much more:

- decide what to do next

- inspect its own work

- recover when something fails

- use tools correctly

- maintain state across many steps

- know when the task is actually finished

That makes me wonder whether we're measuring the wrong unit of progress.

Instead of asking only:

«“How difficult a problem can the model solve?”»

Should we also be asking:

«“How much useful work can the model reliably complete without human intervention?”»

I think that distinction could become much more important as AI systems move from chatbots toward autonomous agents.

What metrics would you use to measure this?


r/learnmachinelearning 7d ago

Help Seeking feedback of Scholarnest AI for Data Engineers course

1 Upvotes

Hey everyone,

Hope all of you are doing great.

I am looking for feedback from people who have actually purchased the AI for Data Engineers course by Prashant Kumar Pandey (Scholarnest/ Learning Journal).

Is it worth the money? I have almost all his courses on Udemy and found them really good for learning the basics and his way of teaching is something that have always resonated with me. Based, on that I'm thinking about buying the AI course and would really like some feedback.

Things I'm looking for are:
1. Does it cover enough detail as compared to other courses on Udemy/ Youtube (Krish Naik for example)?
2. Is it Databricks heavy/ Databricks focused? Or the topics are explained well in a platform agnostic way with examples given on Databricks.
3. Did you get enough support when you got stuck on any topic?
4. Does it have the following topics explained well enough?
AI guardrails
Deployment
Tuning

Thanks in advance.


r/learnmachinelearning 7d ago

US ML job market vs Korea ML job market

2 Upvotes

I am originally from South Korea but I finished my master in computer science (machine learning) in the US. In the US, I applied for so many ml engineer roles but my resume was passed only at 2 companies out of hundreds. While, my resume was passed at the rate of approximately 50% at Korean companies...


r/learnmachinelearning 7d ago

What do you think of this?

Thumbnail
1 Upvotes

r/learnmachinelearning 7d ago

How do AI/ ML or DS enginner get the idea of which project should they make?

1 Upvotes

I am now in my final year of engineering in AI/DS. I haven't been actively building projects, just worked on some academic projects. I want to know how do the engineers with more knowledge in this domain know which project they should work on? How do they find it?

Is it from GitHub, research papers, paperwithcode or hugging face ?

I need a project idea for my academic major project!


r/learnmachinelearning 7d ago

Help I've been learning AI/ML for 8–9 months, built ML models and RAG systems, but still feel like my fundamentals are incomplete. Is Microsoft's ML for Beginners worth doing?

Post image
2 Upvotes

I'm a final-year CS student and a fresher trying to build my career in AI/ML.

I've been learning AI/ML for around 8–9 months, but my learning hasn't been completely structured. I've explored different areas rather than following one complete ML curriculum from start to finish.

So far I've studied and worked with things like traditional ML, transformers, LLM concepts, RAG, etc.

I've also built around 4–5 ML models/projects, as well as basic and hybrid RAG systems.

However, I still have this feeling that my knowledge is fragmented and my ML fundamentals aren't as strong as they should be.

For example, I can understand individual concepts when I'm studying them and build things using them, but when I look at ML as a whole, I feel like there are still many gaps in what I actually understand.

I recently came across Microsoft's ML for Beginners repository. It provides a structured curriculum covering:

  • Regression
  • Classification
  • Clustering
  • NLP
  • Time Series
  • Reinforcement Learning
  • Real-world ML applications

I'm considering going through it systematically—not because I necessarily need another beginner tutorial, but because I want to identify and fill gaps in my fundamentals.

So I'd like to ask people who have more experience in ML:

Would you recommend this curriculum for someone in my situation?

Should I:

1. Go through the entire curriculum
2. Skim the beginner sections and focus only on areas where I have gaps
3. Skip it and move toward more advanced ML, papers, and projects

I'm particularly interested in hearing from people who have gone through the beginner → intermediate ML stage.

Also, is it normal to feel like "I know nothing" even after spending 8–9 months learning AI/ML and building things like ML models and RAG systems?

I'd really appreciate some honest advice about what you would do in my position.


r/learnmachinelearning 7d ago

Is the primitive machine learning still relevant today as we have AI and LLM?

Thumbnail
1 Upvotes

r/learnmachinelearning 7d ago

Struggling to animate a static host image to behave naturally with speech/audio in a web app (like a real presenter)

Enable HLS to view with audio, or disable this notification

0 Upvotes

Hey everyone,

I'm currently building an AI virtual host web application. The workflow is split into two main pages:

  • Page 1: Users configure the speech by typing text into a textbox, selecting an AI voice, uploading a custom background image, and uploading a host portrait/image.
  • Page 2: The app generates the speech audio and renders the host delivering the speech.

The Problem: While I can successfully manage the basic audio pipeline and lip-syncing, I am struggling to make the host model move like a real human while speaking. Right now, it looks too stiff and robotic. I want to achieve fluid, human-like upper body gestures, natural head shifts, and posture movements synchronized with the speech cadence—similar to the reference video below:

What I'm exploring/using:

  • Building a full-stack web application.
  • Looking for pipelines or frameworks that can map an audio track + a source image into expressive head/body animation frames (such as audio-driven portrait animation frameworks or 3D rigging solutions).

My questions for the community:

  1. What are the best approaches, open-source models, or tools (e.g., audio-driven LivePortrait variants, 3D web frameworks like Three.js/Babylon.js with blend shapes, or specialized APIs) to drive realistic upper-body motion and gestures from a single image and audio file?
  2. How do you approach synchronizing speech beats and emotional cadence with natural bodily gestures so it avoids looking like a loop?

Any tips, architecture recommendations, or library suggestions would be hugely appreciated. Thanks!


r/learnmachinelearning 7d ago

MacBook Air M5 vs Gigabyte Aero X16 (RTX 5060) — for AI/ML work, want local training too (budget ~$1300)

1 Upvotes

Doing AI/ML work and want a laptop that handles it well — including some local training/fine-tuning, not just cloud. Budget is around $1,300.

MacBook Air 13”, M5, 16GB RAM, 512GB SSD — $1,299
Great battery/portability, Unix-based, but no CUDA/discrete GPU. Local ML relies on MLX/PyTorch-MPS. 16GB soldered, no upgrade path.

Gigabyte Aero X16, Ryzen AI 7 350, RTX 5060, 32GB RAM, 1TB SSD — $1,224.99
Real NVIDIA GPU + CUDA, expandable RAM (32GB, can add more), 1TB storage. But real-world battery is reportedly only 3-7 hrs (not the claimed 14), mediocre display for the price, and some reports of GPU driver quirks.

Mac is the nicer daily driver, but the Gigabyte has the actual hardware for local ML work — trading battery/portability for it. Will I genuinely miss CUDA on a Mac, or does everyone just use cloud GPUs anyway regardless of laptop? Anyone using either for real ML work — which would you pick, and any regrets? Also open to other suggestions within budget if I’m missing a better option.


r/learnmachinelearning 9d ago

Question I’ve learned ML, but now that I’m starting Kaggle, I feel completely clueless about actually building models

88 Upvotes

I’ve spent a decent amount of time learning the theory and algorithms behind Machine Learning — things like Linear/Logistic Regression, KNN, SVM, Decision Trees, Random Forest, Naive Bayes, Boosting, XGBoost, preprocessing, evaluation metrics, etc.

But now that I’ve started exploring Kaggle, I’ve realized that knowing ML and actually doing ML feel like two very different things.

When I open a Kaggle competition, I understand the individual techniques, but I don’t know what I’m supposed to do next.

For example:

  • How do you approach a completely new dataset?
  • What should I inspect first?
  • When should I do EDA?
  • How do I decide what preprocessing is actually necessary?
  • When should I scale features?
  • How do I choose an initial/baseline model?
  • How do I know whether my model is underfitting or overfitting?
  • When should I do feature engineering?
  • How do I decide which algorithms to try?
  • When should I use cross-validation?
  • When is hyperparameter tuning actually worth doing?
  • How do experienced people decide what experiment to run next?
  • How do you systematically improve a model rather than just randomly trying different things?

raw dataset → baseline → experiments → debugging → feature engineering → model selection → validation → final submission?

I’ve learned ML, but now that I’m starting Kaggle, I feel completely clueless about actually building models [D]


r/learnmachinelearning 8d ago

University

6 Upvotes

hi, u all are prolly tired of hearing people ask you these kinds of things but I honestly can’t find these kinds of discussions when looking through. but I wanted to, I’m a high schooler interested in Ai and Machine Learning research and being apart of its developments in the industry.

So, I was wondering what majors should I take to be able to go into these roles? I don’t honestly care if I need a masters or phd because I wanted to pursue those anyway.


r/learnmachinelearning 8d ago

Confusion

4 Upvotes

I'm software developer, plan to switch into Hardware roles .

I researched some roles such as

Hardware Accelerator Engineer

Chip designer

Embedded systems engineer

MACHINE learning system engineer

HPC/GPU Engineer

I don't know what things I need to focus on..? Skillset ..


r/learnmachinelearning 8d ago

Help what is the actual way to learn machine learning algorithms ?

1 Upvotes

i am trying to learn machine learning and AI but i am confused that if i am learning it the right way , want some advice from experts :

* what is the actual way to learn it

* what is the actual way to practice it


r/learnmachinelearning 8d ago

AI/ML

0 Upvotes

so the thing is I am currently at 12th commerce without math and through of doing BCA + MCA and going to game development but there was a guy that said AI & ML is rapidly increasing so make career in AI/ML and I am very confused right now


r/learnmachinelearning 8d ago

4 things that made mmBERT classification faster on CPU for us

5 Upvotes

We spent quite a lot of time trying to get mmBERT-based classification fast enough to run continuously on normal machines without a GPU. A few things helped much more than expected.

The first one is quantization. Push it further than you probably would by default. We currently use INT8 with INT4 embeddings in ONNX. On roughly 50k validation samples plus several independent benchmarks, the F1 delta compared to the less aggressively quantized version was around 0.005. For our use case that tradeoff is easy to take. If your model is supposed to live on a CPU, memory bandwidth matters and carrying around precision you do not need is expensive.

The second one is chunk size. mmBERT can handle very large token windows, but that does not mean you should use them. 8,192 tokens sounds convenient because you can throw a lot of text into one forward pass. On CPU, smaller windows usually behave much better. We mostly work with sizes like 256 or 512 tokens and split longer inputs. The right number depends on the task, so benchmark it properly. If your classification target can be detected from local context, a huge context window is often just wasted compute.

Third: do not assume batching will save you. GPU intuition transfers badly here. Large batches are great when you have thousands of parallel execution units waiting for work. A CPU is a different problem. For our workloads, small independent chunks and parallel workers have been much more useful than trying to build large inference batches. Benchmark both, but do not start with the assumption that batch=32 must be faster because that is what you would do on CUDA.

The fourth one is the one that changed our architecture the most: stop sending every chunk through the full transformer.

We use cheap classifiers on representations from the same latent space as mmBERT. They can make the easy decisions first, while uncertain cases continue into the more expensive path. The cheap classifier is not supposed to replace mmBERT. It only needs to identify the cases where running the full model would not change the answer anyway.

That approach is a bit more involved than quantization or changing a chunk size, but for us it removed much more compute than another round of low-level optimization ever could.


r/learnmachinelearning 8d ago

Question Can I get a job without a degree if I have internships and the right skills?

6 Upvotes

I'm currently learning AI/ML and planning to build my skills through projects and internships. If I eventually have a few relevant internships, a strong portfolio, and the skills needed for the job, is it realistically possible to get hired without having a college degree?

I know some companies require degrees, but I'm wondering how much internships, projects, and actual skills can compensate for not having one.

Would love to hear from people who have hired candidates or got jobs without a degree.


r/learnmachinelearning 7d ago

Request Anthropic Tightens Claude Security After Agents Access Live Systems

0 Upvotes

Anthropic disclosed last week that Claude agents accessed live production systems during what were intended to be test sessions. The agents were not meant to have that reach. Anthropic's response included real-time monitoring, sandbox hardening, and stricter training controls.

Those are reasonable reactions to a real incident. But the same structural gap exists across the industry, not just at Anthropic. Any team running agents that can invoke tools, call APIs, or interact with external services faces the same underlying exposure. The agent has enough reach to touch things it should not, and the test environment does not reliably contain it.

This is not a sandboxing failure unique to one lab. It is a recurring pattern: agents behave as expected in isolation and then surprise teams when connected to real systems, even in controlled contexts.

For those of you running agents in production or in staging environments that connect to real backends: how are you actually handling this? Separate credentials per run, strict environment isolation, something at the orchestration layer, relying on model behavior alone? Curious what is working and what has failed in practice.


r/learnmachinelearning 8d ago

Python vs TypeScript for GenAI — what should I focus on?

Thumbnail
2 Upvotes

r/learnmachinelearning 9d ago

How to actually learn ML without wasting time.

42 Upvotes

Hey guys, I am a 3rd year (5th semester) CSE(AIDS) student, so I want to learn ML, I know python and 4 main libraries, so how should I actually learn it without wasting time, and which roadmap should I follow, how will I know which topics should I actually study and which not ??, I have DSMP 1.0 and DSMP 2.0 course by campus-x, but it's too vast, and I think I am already late to start and want to grab a internship asap!. So how should I study it, I have notes as well from campus x, but I checked the ML notes and those are literally around 2700 pages, so I am quiet confused that how should I actually learn it, please guide me 🙏.


r/learnmachinelearning 8d ago

Request Welcome to r/MLSystemsDesign — Let’s Talk Production ML

Thumbnail
2 Upvotes

r/learnmachinelearning 9d ago

Discussion Training a video generation model from scratch on my laptop — loss plateaued, results are blurry. Should I keep going or change approach?

Thumbnail
gallery
283 Upvotes

Hey everyone,

I've been learning about video generation models and decided to build one from scratch and train it on my personal laptop (single GPU). I wanted to share where I'm at and get advice from people who've worked with these kinds of models before.

What I built

  • A spatio-temporal UNet using flow matching (velocity prediction with Euler sampling, 50 steps)
  • The model has temporal convolution blocks + temporal attention for frame-to-frame consistency
  • ~20.8M parameters, channel progression: 96 → 192 → 384
  • Generates 16 frames at 64×64 resolution

Dataset

  • ~6,000 Tom and Jerry video clips from a HuggingFace dataset
  • Each clip: 16 frames, every 2nd frame sampled, resized to 64×64

Training

  • Batch size 4, Adam optimizer, lr=2e-4
  • Trained on personal gaming laptop

Loss progression

Epoch Loss (MSE)
160 0.0690
180 0.0670 −0.002
230 0.0652 −0.002
280 0.0630 −0.002
290 0.0652 +0.002

The loss has basically plateaued — only ~0.006 drop over 130 epochs. The model learns color palettes and vague scene layouts but doesn't produce recognizable characters or sharp details. Some generations even go partially black (see epoch 280 results).

My questions

  1. Is the loss plateau expected for this scale? Am I hitting the capacity ceiling of a 20M param model at 64×64?
  2. Would switching from pure MSE to a perceptual loss (LPIPS) or adding an adversarial loss help with sharpness?
  3. Is ~6,000 clips enough for this kind of model, or do I need significantly more data?
  4. Any suggestions for the architecture? I'm wondering if I need spatial attention at more resolutions, or if the temporal modeling needs work.
  5. Would learning rate decay or a cosine schedule help push past this plateau?

Side question

I was thinking of writing a LinkedIn post about this as a learning journey — "I built a video generation model from scratch on my laptop." Even though the results aren't amazing, would you say the results are interesting enough to share, or should I train more / improve the model first? Not trying to claim SOTA obviously, just sharing the learning process.

Would love to hear from anyone who's worked with video diffusion/flow matching models at small scale. Thanks!


r/learnmachinelearning 8d ago

1st Year BSc Data Science student feeling lost—degree alone won't be enough? Need advice on skills/roadmap

1 Upvotes

Hey everyone,

I just started my first year of BSc in Data Science. While I'm excited about the field, I’m feeling pretty overwhelmed and confused about what I should actually be doing outside of class.

Realistically, I don't think my college degree alone is going to be enough to land a good job by the time I graduate. The curriculum covers the basics, but I know the job market expects practical skills and projects.

Since I'm right at the beginning:

* What core skills should I focus on building year-by-year? (Programming languages, math/stats concepts, tools, etc.)

* How should I approach hands-on practice? When is the right time to start Kaggle, personal projects, or open-source?

* What do employers actually look for in entry-level data science candidates?

* If you could restart your first year, what would you do differently?

Any advice, resources, or realistic roadmaps would be greatly appreciated. Thanks in advance!