Live data from Hacker News

An LLM playground you can run on your laptop

github.com

11–20 of 58 posts

Re: An LLM playground you can run on your laptop

#11
post #4

As an alternative for purely local LLMs, I've been having fun with this setup: https://github.com/oobabooga/text-generation-webui

The oobabooga setup feels a lot more mature and has a larger community. Skimming OP's repo, there seems like a lot of fiddling and faffing with JSON to get things running.

Nice stuff all the same.

Re: An LLM playground you can run on your laptop

#12
post #3

Earlier quoted context omitted.

It supports local models.

Are there any good local models? Gpt-2 is pants once you've gotten used to 4.

I don’t know about out of the box, but I’ve been having a great time training my own domain-specific models from scratch and utilizing them locally. It does seem that the more domain specific a task is, far fewer params are needed.

Having fun right now trying to build a model in GDELT, not much luck so far, but I’ve pushed less than 5% of the data through so far.

I’ve also been experimenting on fine-tuning Llama on my personal data archives, which seems promising but it’s pretty expensive to do so. Hoping someone will release a ~13B param model of Llama that they’ve trained with transfer learning from the 65B llama model and other data. FWIW even the 7B llama model running through llama.cpp after being quantized performs (subjectively, but substantially) better than GPT2.

This has been one of my most expensive, but also most rewarding, hobbies thus far.

Re: An LLM playground you can run on your laptop

#13

Earlier quoted context omitted.

Are there any good local models? Gpt-2 is pants once you've gotten used to 4.

GPT2 is ancient news. There are now local running models which, allegedly, can reach the same performance as GPT-4. Look up llama.cpp[1] and all the various community generated models. [1] https://github.com/ggerganov/llama.cpp

Very much allegedly. They’re good, but not great.

Re: An LLM playground you can run on your laptop

#14
post #4

As an alternative for purely local LLMs, I've been having fun with this setup: https://github.com/oobabooga/text-generation-webui

Do you know what is the way to find models compatible with oobabooga/text-generation-webui ? I downloaded one with the included script and that worked, but if I try different ones it seems there are so many formats so no idea say how do I search huggingface or google to find the correct format. I would like to try this new quantized LLAMA versions with the GUI, I can run them in the CLI on the CPU but llama.cpp uses ggml formats .

Re: An LLM playground you can run on your laptop

#15

Earlier quoted context omitted.

Are there any good local models? Gpt-2 is pants once you've gotten used to 4.

GPT2 is ancient news. There are now local running models which, allegedly, can reach the same performance as GPT-4. Look up llama.cpp[1] and all the various community generated models. [1] https://github.com/ggerganov/llama.cpp

Does llama.cop not run on GPU?

Re: An LLM playground you can run on your laptop

#17

An LLM playground whose UI you can run on your laptop.

Its amazing can run Alpaca llama 33B parameters, totally can handle japanese and korean where the earlier ones like 7B parameters could only do english (any other languages was horrible). All able to run on my M1 macbook.

Re: An LLM playground you can run on your laptop

#18
post #12

Earlier quoted context omitted.

Are there any good local models? Gpt-2 is pants once you've gotten used to 4.

I don’t know about out of the box, but I’ve been having a great time training my own domain-specific models from scratch and utilizing them locally. It does seem that the more domain specific a task is, far fewer params are needed. Having fun right now trying to build a model in GDELT, not much luck so far, but I’ve pushed less than 5% of the data through so far. I’ve also been experimenting on fine-tuning Llama on m…

What is the ballpark cost of this hobby, if I may ask?

Do you train exclusively in the cloud?

Re: An LLM playground you can run on your laptop

#19

An LLM playground whose UI you can run on your laptop.

Its amazing can run Alpaca llama 33B parameters, totally can handle japanese and korean where the earlier ones like 7B parameters could only do english (any other languages was horrible). All able to run on my M1 macbook.

How good is it with Japanese compared to GPT?

Re: An LLM playground you can run on your laptop

#20
post #4

As an alternative for purely local LLMs, I've been having fun with this setup: https://github.com/oobabooga/text-generation-webui

Neat, eventually would like to run a purely local LLM Emacs shell https://github.com/xenodium/chatgpt-shell. For now ChatGPT only, but working on making more generic/reusable.
Post reply on HN