Live data from Hacker News

Could you train a ChatGPT-beating model for $85k and run it in a browser?

simonwillison.net

11–20 of 175 posts

Re: Could you train a ChatGPT-beating model for $85k and run it in a browser?

#11
Does anyone know how the results from a 7B parameter model with bloomz.cpp (https://github.com/NouamaneTazi/bloomz.cpp) compares to the 7B parameter Alpaca model with llama.cpp (https://github.com/ggerganov/llama.cpp)?

I have the latter working on a M1 Macbook Air with very good results for what it is. Curious if bloomz.cpp is significantly better or just about the same.

Re: Could you train a ChatGPT-beating model for $85k and run it in a browser?

#12
So cool it runs on a browser /sarcasm/ i might not even need a computer. Or internet when we are at it.

It either runs locally or it runs on the cloud. Data could come from both locations as well. So it's mostly technically irrelevant if it's displaying in a browser or not.

Except when it comes to usability. I don't get it why people love software running in a browser. I often close important tools i have not saved when it's in a browser. I cant have offline tools which work if i am in a tunnel (living in Switzerland this is an issue) . Or it's incompatible because i am running LibreWolf.

/sorry to be nitpicking on this topic ;-)

Re: Could you train a ChatGPT-beating model for $85k and run it in a browser?

#13
A wonderful thing about software development is that there is so much reserved space for creativity that we have huge gaps between costs and value. Whether the average person could do this for 85k I'm uncertain of - but there is a very significant slice of people that could do it for well under 85k now that the ground work has been done. This leads to the hilarious paradox where a software based business worth millions could be built on top of code valued around 60k to write.

Re: Could you train a ChatGPT-beating model for $85k and run it in a browser?

#14
His estimate is that you could train a LLaMA-7B scale model for around $82,432 and then fine-tune it for a total of less than $85K. But when I saw the fine tuned LLaMA-like models they were worse in my opinion even than GPT-3. They were like GPT-2.5 or like that. Not nearly as good as ChatGPT 3.5 and certainly not ChatGPT-beating. Of course, far enough in the future you could certainly run one in the browser for $85K or much less, like even $1 if you go far enough into the future.

Re: Could you train a ChatGPT-beating model for $85k and run it in a browser?

#15
post #7

> My friends at Replicate told me that a simple rule of thumb for A100 cloud costs is $1/hour. AWS charges $32/hr for an 8xA100s (p4d.24xlarge) which comes out to $4/hour/gpu. Yes you can get lower pricing with a 3 year reservation but thats not what this question is asking. You also need 256 nodes to be colocated on the same fabric -- which AWS will do for you but only if you reserve for years.

Lambda labs charges about 11-12/hr for 8xA100.

and is completely at capacity

Re: Could you train a ChatGPT-beating model for $85k and run it in a browser?

#18

So cool it runs on a browser /sarcasm/ i might not even need a computer. Or internet when we are at it. It either runs locally or it runs on the cloud. Data could come from both locations as well. So it's mostly technically irrelevant if it's displaying in a browser or not. Except when it comes to usability. I don't get it why people love software running in a browser. I often close important tools i have not saved w…

> I don't get it why people love software running in a browser.

If you read the article, part of the argument was for the sandboxing that the browser provides.

"Obviously if you’re going to give a language model the ability to execute API calls and evaluate code you need to do it in a safe environment! Like for example... a web browser, which runs code from untrusted sources as a matter of habit and has the most thoroughly tested sandbox mechanism of any piece of software we’ve ever created."

Re: Could you train a ChatGPT-beating model for $85k and run it in a browser?

#19

If you could, you should have done it 6 months ago.

I mean - is there a developer alive that'd be unable to write the nascent version of Twitter? I think that Twitter as a business exists entirely because of the concept - the code to cover the core functionality is absolutely trivial to replicate.

I don't think this is a very helpful statement because actually finding the idea on what to build is the hard part - or even just believing it's possible. The company I work at has been using NLP for years now and we have a model that's great at what we do... but if you asked if we could develop that into a chatbot as functional as chatgpt two years ago you'd probably be met with some pretty heavy skepticism.

Cloning something that has been proven possible is always easier than taking the risk building the first version with no real grasp of feasibility.

Re: Could you train a ChatGPT-beating model for $85k and run it in a browser?

#20

If you have ~100k to spend, aren't there options to buy a gpu rather than just blow it all on cloud? How much is an 8xA100 machine? 4xA100 is 75k, 8 is 140k https://shop.lambdalabs.com/deep-learning/servers/hyperplane...

you're comparing the capital cost of acquiring a GPU machine with the operational cost of renting one in the cloud.

Ignoring the operational costs of on-prem hardware is pretty common, but those costs are significant and can greatly change the calculation.

Post reply on HN