How expensive is it? My understanding is that it's not reasonable to train an LLM from scratch by yourself, and that if you want one that isn't just very stupid then you need to spend between hundreds of thousands and hundreds of millions of dollars. But if you don't want to train from scratch then you can fine-tune existing models for cheaper.
Disclaimer: I work for MosaicML (MosaicML is the creator of the training platform used by Replit).
Training these models from scratch on your domain specific data is not as expensive as one might think. We have provided some cost estimates in our blogs.
Do you have any examples on how to train a model that can write code but in a specific domain? Eg I only want to train it on a specific set of code. Eg let’s say functional React components in TypeScript.
Looking at what they're doing here probably not as much as you think.
As you note, with the plethora of open/open-ish LLMs today and LoRA + PEFT you can fine tune with low VRAM and pretty quickly so even a single A100 or whatever cloud GPUs are just fine. I've even seen people pull it off in reasonable time on super cheap T4s, A10s, etc.
I doubt anyone reading a blog post is attempting to train a "true" multi-billion param LLM from scratch.
Ok, I'll try again because I read the article and watched the demo video from Mosaic:
- MosaicML claims to have some magic that efficiently autoscales with awareness of specific instance per hour pricing.
- MosaicML claims to have auto-optimize magic that makes training 3-7x faster.
- The incentives seem to be aligned because their value prop is likely "we'll markup 10% but save you 50%" (or whatever).
It's too bad Replit didn't provide the costs for this post in the same way Stanford, etc have done with Alpaca, Vicuna, etc. They probably didn't for from-scratch training because the answer to your question is almost certainly "it depends" or "if you have to ask you can't afford it" (for now).
Thanks I understand better now. Sorry my other comment was rude. Probably I'm just frustrated that I will never be able to make a sentient bot because it will cost literally a billion dollars, and I just have to sit on sidelines and watch the billionaires play with their sentient bots.