News for hackers. Stuff that matters.
Re:Large language models are having their Stable Diffusion m... by simonw on Saturday March 11, 2023 @05:14PM (#35113338)
The 4-bit quantized models are 4GB for 7B and 8GB for 13B.

I'm not too worried about CLI shenanigans, because of what happened with whisper.cpp - it resulted in apps like https://goodsnooze.gumroad.com/l/macwhisper - wouldn't be at all surprised to see the same happen with llama.cpp

A regular M1 with 8GB of RAM appears to be good enough to run that 7B model. I wonder at what point it will run on an iPhone... the Stable Diffusion model was 4GB when they first released it, and that runs on iOS now after some more optimization tricks.

For me though, the "Stable Diffusion" moment isn't necessarily about the LLaMA model itself. It's not licensed for commercial use, so it won't see nearly the same level of things built on top of it.

The key moment for me is that I've now personally seen a GPT-3 scale model running on my own personal laptop. I know it can be done! Now I just need to wait for the inevitable openly-licensed, instruction-tuned model that runs on the same hardware.

It's that, but also the forthcoming explosion of developer innovation that a local model will unleash. llama.cpp is just the first hint of that.

Re:Large language models are having their Stable Diffusion m... by smoldesu on Saturday March 11, 2023 @05:27PM (#35113450)
> The key moment for me is that I've now personally seen a GPT-3 scale model running on my own personal laptop.

I hate to pooh-pooh it for everyone, but this was possible before LLaMa. GPT-J-125m/6b have been around for a while, and are frankly easier to install and get results out of. The smaller pruned model even fits on an iPhone.

The problem is more that these smaller models won't ever compete with GPT-scale APIs. Tomorrow's local LLaMa might beat yesterday's ChatGPT, but I think those optimistic for the democratization of chatbot intelligence are setting their hopes a bit high. LLaMa really isn't breaking new ground.

Re:Large language models are having their Stable Diffusion m... by simonw on Saturday March 11, 2023 @05:40PM (#35113543)
I'm not particularly interested in beating ChatGPT: I'm looking for a "calculator for words" which I can use for things like summarization, term extraction, text rephrasing etc - maybe translation between languages too.

There are all kinds of things I want to be able to do with a LLM that are a lot tighter than general chatbots.

I'd love to see a demo of GPT-J on an iPhone!

Re:Large language models are having their Stable Diffusion m... by sroussey on Saturday March 11, 2023 @08:13PM (#35115124)
In a decade, these models will be baked into a SOC.
Re:Large language models are having their Stable Diffusion m... by Vetch on Saturday March 11, 2023 @06:43PM (#35114010)
There was only ever a 6B GPT-J, you must be thinking of GPT-neo's for smaller sizes. GPT-J was the best of its kind for a long while but even just the 7b version of LLaMa soundly surpasses it in how well it follows examples to solve problems and do useful work like summarization, keyword extraction and a mini search agent. Being able to run something on your laptop that matches the original davinci GPT3 and can be tuned to go beyond is nothing to sniff at.

The best models will be by API but there is a threshold of utility for LLMs, below which they're just bad story telling toys, that hasn't been available for home users until recently, with FlanT5s and LLaMas.

Re:Large language models are having their Stable Diffusion m... by simonw on Saturday March 11, 2023 @07:01PM (#35114243)
What prompt are you using to get LLaMA to do summarization?
Re:Large language models are having their Stable Diffusion m... by BryceSchroeder on Tuesday March 21, 2023 @09:59PM (#35255756)
Would also like to know.
Re:Large language models are having their Stable Diffusion m... by ShamelessC on Saturday March 11, 2023 @06:53PM (#35114104)
GPT-J is cool and all, but it’s been out for awhile and hasn’t seen anywhere near this amount of network effects. Further the Eleuther team is a bit detached from the “average user” in my experience, being all-in on TPU and JAX (which is still suffering from a similar lack of maturity making it difficult to run on non-standard setups).

I’m sure someone did the work you suggest to let folks run on this on more reasonable setups- but I never saw it on the front page here.

Did they achieve GPT-3 performance on anything at that model size? Happy to be corrected, but my understanding was llama does in fact outperform GPT-3 even at the smaller parameter-counts on certain downstream tasks due to using the chinchilla training regime (and other tricks).

Re:Large language models are having their Stable Diffusion m... by stonebraker on Tuesday March 21, 2023 @02:31AM (#35243114)
Has anyone compared performance between LLaMa.cpp vs Alpaca.cpp?