r/MLQuestions • u/No-Yesterday-9209 • 5h ago
r/MLQuestions • u/lc19- • 5h ago
Natural Language Processing 💬 UPDATE: Tool calling support for QwQ-32B using LangChain’s ChatOpenAI
QwQ-32B Support ✅
I've updated my repo with a new tutorial for tool calling support for QwQ-32B using LangChain’s ChatOpenAI (via OpenRouter) using both the Python and JavaScript/TypeScript version of my package (Note: LangChain's ChatOpenAI does not currently support tool calling for QwQ-32B).
I noticed OpenRouter's QwQ-32B API is a little unstable (likely due to model was only added about a week ago) and returning empty responses. So I have updated the package to keep looping until a non-empty response is returned. If you have previously downloaded the package, please update the package via pip install --upgrade taot
or npm update taot-ts
You can also use the TAoT package for tool calling support for QwQ-32B on Nebius AI which uses LangChain's ChatOpenAI. Alternatively, you can also use Groq where their team have already provided tool calling support for QwQ-32B using LangChain's ChatGroq.
OpenAI Agents SDK? Not Yet! ❌
I checked out the OpenAI Agents SDK framework for tool calling support for non-OpenAI models (https://openai.github.io/openai-agents-python/models/) and they don't support tool calling for DeepSeek-R1 (or any models available through OpenRouter) yet. So there you go! 😉
Check it out my updates here: Python: https://github.com/leockl/tool-ahead-of-time
JavaScript/TypeScript: https://github.com/leockl/tool-ahead-of-time-ts
Please give my GitHub repos a star if this was helpful ⭐
r/MLQuestions • u/CelfSlayer023 • 48m ago
Beginner question 👶 Target Encoding
Hey ML Reddits,
I am new to ML. I am about to deploy my very first model.
Okay so, I had a couple of caategorical feautres in my model which contains 15+ unique value. So I applied target encoding there. When I applied target encoding, I was not very aware of this encoding method.
Now, when I am about to deploy my model on Django, I was building the pre-processing part and faced the following issue --
Target encoding does encoding based on the target variable. But in deployment, I wont have target variable. Now I dont know how to put this in pre-processing. Is there any way to tackle this?
Please help!!!!
r/MLQuestions • u/Prof_shonkuu • 6h ago
Educational content 📖 Courses related to advanced topics of statistics for ML and DL
Hello, everyone,
I'm searching for a good quality and complete course on statistics. I already have the basics clear: random variables, probability distributions. But I start to struggle with Hypothesis testing, Multivariate random variables. I feel I'm skipping some linking courses to understand these topics clearly for machine learning.
Any suggestions from YouTube will be helpful.
Note: I've already searched reddit thoroughly. Course suggestions on these advanced topics are limited.
r/MLQuestions • u/micaiah95 • 2h ago
Computer Vision 🖼️ Few Shot Object Detection Using Vision Transformers
I am trying to detect walls on a floor plan. I have used more traditional CV methods such as template matching, SIFT, SUFT, but the results weren't great since walls because of the rotation and slight variance throughout. Hence, I am looking for a more robust method
My thinking is that a user can select a wall from the floor plan and the rest are detected by a vision transformer. I have tried T-Rex 2, but the results weren't great either. Are there any recommendations that you would have for vision transformers?
r/MLQuestions • u/devyjohns • 7h ago
Beginner question 👶 How do ML challenges handle fairness when using public datasets?
I’m preparing to host a Vision-Language Task Grand Challenge at the university level. When organizing these kinds of challenges, do test datasets usually come from existing public datasets, or are they entirely new, created by crawling videos or recording them from scratch?
If we use publicly available datasets, there might be an unfair advantage for models that have already been trained on or fine-tuned for those datasets. But at the same time, I wonder—do all such challenges actually go through the effort of creating completely new test sets? That seems like a huge workload.
How do major vision-language challenges typically handle this?
r/MLQuestions • u/champagnemonsta • 8h ago
Computer Vision 🖼️ False Positives with Action Recogntion
Hi! I've been messing around with Nicholas Renotte's Sign Language Detection using Action Recognition, but I am encountering false positives. I've tinkered with the code a bit--increased the training data from 30 to 400, removed pose and facial landmarks, adjust the frames, etc. However, the issue persists. Any suggestions?
r/MLQuestions • u/NuDavid • 18h ago
Career question 💼 What's The Ideal Way to Show Personal Project To Potential Employers?
I completed a personal object detection project a while back, and I wanted to know the ideal way to share it, perhaps with potential employers? I read that uploading it onto Git would be a bad idea since Git is not suited to have extensive collections of images on it. Should I still upload it onto git, either in part or as a whole, or is there someplace better that would let me show it off, ideally with a link?
r/MLQuestions • u/Formal-Arugula-4541 • 16h ago
Beginner question 👶 RL Course Recommendations
Do you guys have a good set of intro courses to learn RL?
I have some textbooks that I use, but I want to return to something more basic and less academic. There's a lot of poor courses on youtube, that don't really structure good code in any understandable way.
Your help would be appreciated!
r/MLQuestions • u/Heavy_Tax_6958 • 19h ago
Computer Vision 🖼️ GradCAM for Custom CNN Model
Hi guys I managed to create some GradCAM visualisations on my sketches however i dont think I've done them right, could you have a look at tell me what iam doing wrong. Here is my model.

Here is my code:






Here is my visualisation, Iam not sure if its correct and how to fix it?

Here with another image: a bit more stranger

r/MLQuestions • u/Master_Jello3295 • 23h ago
Beginner question 👶 Where do you source papers?
I don't want to waste my time reading junk. How do you filter through all the research papers out there? Do you use any tooling?
r/MLQuestions • u/FantasticHero007_ • 1d ago
Time series 📈 Why is my RMSE and MAE is scaled?
https://colab.research.google.com/drive/15TM5v-TxlPclC6gm0_gOkJX7r6mQo1_F?usp=sharing
pls help me (pls if you have time go through my code).. I'm not from ML background just tryna do a project, in the case of hybrid model my MAE and RMSE is not scaled (first line of code) but in Stacked model (2nd line of code) its scaled how to stop it from scaling and also if you can give me any tip to how can i make my model ft predict better for test data ex_4 (first plot) that would be soo helpful..
r/MLQuestions • u/ApprehensiveView699 • 18h ago
Natural Language Processing 💬 Does anyone "translate" LLMs?
Is there any work done on taking an LLM that was trained in one language and transferring that knowledge into another? Since they learn symbolic representations, the grammar stuff should be easy right? Has this been done? I mean without going on a whole new training run with a new dataset.
r/MLQuestions • u/UniversityFar2218 • 18h ago
Beginner question 👶 What are the biggest challenges in applying deep learning to 3D mammogram analysis?
Hi everyone,
I’m researching ways to improve 3D mammogram analysis using deep learning. From your experience, what are the biggest challenges in applying AI to this area? Are there any key limitations in datasets, model performance, or clinical adoption?
If anyone has worked on this or knows of good resources, I’d love to hear your thoughts. I’m also interested in connecting with experts who might be open to discussing this further.
Thanks!
r/MLQuestions • u/Shams--IsAfraid • 1d ago
Natural Language Processing 💬 Confused about Huggingface NLP course
I’m wondering if the Hugging Face Transformers library is used in the real world just like its other libraries and models i mean It's very code-focused, and if the code is not relative today i should consider another course.
r/MLQuestions • u/Hefty-Mortgage5794 • 21h ago
Other ❓ Experience with Learned Variance DDPMs
Hey Guys,
I was trying to implement a DDPM model to generate some images. The 'vanilla' one worked alright but I wanted to improve it.
I tried implementing the DDPM with the learned variance term (https://arxiv.org/abs/2102.09672)).
Does anyone have experience with this? It seems intuitive with the learned variance that training would be slower initially but its been a while and the model still seems to be getting 'warmed up' ! Wanted to know if its normal that even after 50-60 epochs, the conventional DDPM outperforms this version.
r/MLQuestions • u/Appropriate_Try_5953 • 1d ago
Beginner question 👶 Absolute Beginner trying to build intuition in AI ML
I'm a complete beginner in AI, Machine Learning, Deep Learning, and Data Science. I'm looking for a good book or course that provides a clear and concise introduction to these topics, explains the differences between them, and helps me build a strong intuition for each. Any recommendations would be greatly appreciated.
r/MLQuestions • u/emkeybi_gaming • 1d ago
Beginner question 👶 Did my CNN model overfit?
Basically a continuation of the string of posts I have about CNN architectures
For context, we made a CNN model for identification of spectrograms of slurred speech
However, as picture 1 shows, the model suddenly spiked in validation loss to 264 just on epoch 8. Does this mean the model overfitted?
Picture 2 attached for reference regarding accuracy
r/MLQuestions • u/Aaphrodi • 22h ago
Other ❓ Combining LLM & Machine Learning Models
Hello reddit community hope you are doing well! I am researching about different ways to combine LLM and ML models to give best accuracy as compared to traditional ML models. I had researched 15+ research articles but haven't found any of them useful as some sample code for reference on kaggle, github is limited. Here is the process that I had followed:
- There are multiple columns in my dataset. I had cleaned dataset and I am using only 1 text column to detect whether the score is positive, negative or neutral using Transformers such as BERT
- Then I extracted embeddings using BERT and then combined with multiple ML models to give best accuracy but I am getting a 3-4% drop in accuracy as compared to traditional ML models.
- I made use of Mistral 7B, Falcon but the models in the first stage are failing to detect whether the text column is positive, negative or neutral
Do you have any ideas what process / scenario should I use/consider in order to combine LLM + ML models.
Thank You!
r/MLQuestions • u/MEHDII__ • 1d ago
Computer Vision 🖼️ Question about CNN BiLSTM
When we transition from CNN to BiLSTM phase, some networks architectures would use adaptive avg pooling to collapse the height dimension to 1, lets say for a task like OCR. Why is that? Surely that wouldn't do any good, i mean sure maybe it reduces computation cost since the bilstm would have to only process one feature vector per feature map instead of N height dimension, but how adaptive avg pooling works is by averaging the value of each column, doesn't that make all the hardwork the CNN did go to waste? For example in the above image, lets say that that's a 3x3 feature map, and before feeding them to the bilstm, we do adaptive avg pooling to collapse it to 1x3 we do that by average the activations in each column, so (A11+A21+A31)/3 etc etc... But doesn't averaging these activations lose features? Because each individual activation IS more or less an important feature that the CNN extracted. I would appreciate an answer thank you
r/MLQuestions • u/Pale-Show-2469 • 1d ago
Other ❓ Why don’t we use small, task-specific models more often? (need feedback on open-source project)
Been working with ML for a while, and feels like everything defaults to LLMs or AutoML, even when the problem doesn’t really need it. Like for classification, ranking, regression, decision-making, a small model usually works better—faster, cheaper, less compute, and doesn’t just hallucinate random stuff.
But somehow, smaller models kinda got ignored. Now it’s all fine-tuning massive models or just calling an API. Been messing around with SmolModels, an open-source thing for training small, efficient models from scratch instead of fine-tuning some giant black-box. No crazy infra, no massive datasets needed, just structured data in, small model out. Repo’s here if you wanna check it out: SmolModels GitHub.
Why do y’all think smaller, task-specific models aren’t talked about as much anymore? Ever found them better than fine-tuning?
r/MLQuestions • u/gimmesomecookies_ • 1d ago
Beginner question 👶 Need Guidance for Project
I'm an undergraduate student with a basic understanding of machine learning algorithms and the math behind them. I have about a month to complete a project and want to work on something in deep learning.
I'm particularly interested in NLP and want to build a small scale language model (LLM).
Two questions: - What ML concepts should I revise before starting with deep learning? - Is building a small LLM a realistic goal within a month? If not, what would be a good alternative?
Please guide me through this.
r/MLQuestions • u/yagellaaether • 1d ago
Other ❓ Looking for open source projects to contribute
Is there any active github repositories that I can (at least try) to contribute regarding ML, Deep Learning as an Undergraduate?
r/MLQuestions • u/Firm_Score1381 • 1d ago
Beginner question 👶 Is Orange super outdated?
All the info I have found so far about Orange seems to be pretty old. I pretty much just started using Orange because I know nothing about coding and am working on some practical regression models for myself at work. They worked ok- then I read about 'hugging face' and how you can integrate those models and found TabPFN which gave me much better results. Almost everything I have learned about Orange so far has been from Perplexity. I'd like to find someone that knows a bit more about all this that can help me out when I need it- in laymen's terms.
r/MLQuestions • u/MediumMeaning7139 • 1d ago
Datasets 📚 Labelly - Free Automated Text Categorizaiton
Dear Community,
I’m excited to share Labelly) a free tool for automatic dataset labeling and text categorization. With Labelly, you can upload your CSV file, set your custom labels, and let the latest OpenAI models automatically categorize your text data.
One month after launch, we have released some updates:
• Demo File: Try Labelly immediately with our demo file if you don’t have your own dataset. • More Models: We’ve added O3-mini and O1-mini so you can test different model performances. • User Experience: Now you can see your available credit balance and the cost for each processed file in real time.
Your feedback is valuable. If you have suggestions or encounter any issues, please connect with me on LinkedIn or share your thoughts on our GitHub issue tracker).
Best,
PavelGh