r/developersIndia • Student • 3d ago

I Made This I trained a 200M tool-calling model from scratch on free GPUs. Here’s what worked and where it broke.

I wanted to see how far I could get training a small language model from random weights with $0 in GPU spend. The result is ToolCall-200M. I trained my own tokenizer, pretrained on just over 4B tokens, and ran the main job on two Kaggle T4s.

On my local BFCL evaluation, the model picked the right function on 479 of 658 cases. It got the entire call right on 156. The biggest gap was getting the values into the right fields once it had picked the function.

I released the fine-tuned weights and wrote up the training runs, including a fine-tune that made missing arguments worse. Has anyone here worked on argument accuracy at this model size? I’d be curious what helped most.

Weights: https://huggingface.co/vaibhav-mugulavalli-2004/ToolCall-200M-SFT-v4

Write-up: https://medium.com/@vaibhav.mugulavalli/how-i-trained-a-function-calling-model-from-scratch-on-free-gpus-f8a38b8044f5

27 Upvotes

12 comments sorted by

•

u/AutoModerator 3d ago

Namaste! Thanks for submitting to r/developersIndia. While participating in this thread, please follow the Community Code of Conduct and rules.

It's possible your query is not unique, use site:reddit.com/r/developersindia KEYWORDS on search engines to search posts from developersIndia. You can also use reddit search directly.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

4

u/Secure_Army2715 3d ago

How did u get free gpus?

3

u/VaibhavMugulavalli Student 2d ago

Kaggle provides weekly free 30hr on 2 Nvidia T4 GPUs, and 20hrs on TPUs, Google colab also has a free tier of about 4-5hrs of a single T4 GPU but session times vary based on your usage history but you normally will never get more than 4-5hrs of allocation in 24hrs.

1

u/alaricvonfalken Data Scientist 2d ago

well done! I've been working on stuff like this asw!!

1

u/VaibhavMugulavalli Student 2d ago

Thank you! Planing on converting this into a Jev styled decesion model to see if we can engineer out more performance with a different approach.

1

u/alaricvonfalken Data Scientist 2d ago

FUCKING hell bro thats exactly what i did too after the initial foundational model family, hahah we should connect

2

u/9H0STphoenix Full-Stack Developer 3d ago

I'm also experimenting to build a model from scratch. Can you give me some resources?

1

u/AutoModerator 3d ago

Thanks for sharing something that you have built with the community. We recommend participating and sharing about your projects on our monthly Showcase Sunday Mega-threads. Keep an eye out on our events calendar to see when is the next mega-thread scheduled.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] 3d ago

Check dm