Live data from Hacker News

LLaMa running at 5 tokens/second on a Pixel 6

twitter.com

61–70 of 79 posts

Re: LLaMa running at 5 tokens/second on a Pixel 6

#61
post #39
post #3

This is really cool but the output is such garbage at that weight size that you might as well be running a markov chain.

That's why Alpaca is so exciting: it instruction-tunes LLaMA to the point that even the tiny 7B model (the one that fits on a phone) produces useful output: https://simonwillison.net/2023/Mar/13/alpaca/

How one can tune the model to a specific usage? Is there some place that teaches this?

Re: LLaMa running at 5 tokens/second on a Pixel 6

#62
post #3

This is really cool but the output is such garbage at that weight size that you might as well be running a markov chain.

Isn't any LLM mathematically a Markov chain, such that the current state includes the context of the last (finite) n tokens?

Re: LLaMa running at 5 tokens/second on a Pixel 6

#63
post #48

Earlier quoted context omitted.

But they won’t give us the model… so it’s ultimately meaningless because they’ll just sell out

My understanding is they legally can't. It was trained used OpenAI, which doesn't allow using their output to train new models. Someone would need to find another data source to fine tune llama.

Why they can train their model on copyrighted data and claiming fair use as they do not outright copy while disallowing training other models on their output? I understand revoking access though.

Re: LLaMa running at 5 tokens/second on a Pixel 6

#64
post #39
post #3

This is really cool but the output is such garbage at that weight size that you might as well be running a markov chain.

That's why Alpaca is so exciting: it instruction-tunes LLaMA to the point that even the tiny 7B model (the one that fits on a phone) produces useful output: https://simonwillison.net/2023/Mar/13/alpaca/

I’ve been playing with the Alpaca demo, and I’m really impressed! The outputs are generally excellent, especially for a model of that size, fine tuned on a $100 (!!) compute budget.

If the cloud of uncertainty around commercial use of derivative weights from LLaMA can be resolved, I think this could be the answer for a lot of domain-specific generative language needs. A model you can fine tune on your own data, and which you host and control, rather than depending on a cloud service not to arbitrarily up prices/close your account/apply unhelpful filters to the output/etc.

Re: LLaMa running at 5 tokens/second on a Pixel 6

#65
post #63
post #48

Earlier quoted context omitted.

My understanding is they legally can't. It was trained used OpenAI, which doesn't allow using their output to train new models. Someone would need to find another data source to fine tune llama.

Why they can train their model on copyrighted data and claiming fair use as they do not outright copy while disallowing training other models on their output? I understand revoking access though.

They realistically can not, I believe. If Microsoft is right that this is under fair use, then you are only limited by OpenAI ToS, which also says that the copyright of generated content belongs to the user. Do the following:

Person A uses GPT3 to generate training data, and publish it on his blog, without representing it as human generated. Person A does not give permission for it to be used by Alpaca team.

Alpaca team comes along, scrape his blog, and uses it as training data, without permission from person A. Now this is fair use, so there is nothing person A can do to stop it, just like how Github scraped our code for Copilot without permission.

Re: LLaMa running at 5 tokens/second on a Pixel 6

#66
post #3

This is really cool but the output is such garbage at that weight size that you might as well be running a markov chain.

Our standards have gone up so much!

If you are talking about the video that's perfectly fluent English. There are some unusual elements to the story which probably wouldn't be there in a larger model.

I'd invite you to try that with a Markov model or even something like a LSTM based neural network and compare.

Re: LLaMa running at 5 tokens/second on a Pixel 6

#67
post #3

This is really cool but the output is such garbage at that weight size that you might as well be running a markov chain.

Isn't any LLM mathematically a Markov chain, such that the current state includes the context of the last (finite) n tokens?

The distinctive aspect of the 'transformer' family of neural networks is that they incorporate 'attention', which is a model that identifies which parts of the input are critical to its meaning. You're correct in that modern transformer models are essentially Markov chains, but the function that derives the probabilities (of which the attention heads are part of) is imbued with 'understanding' of related concepts during the training process. In contrast, a traditional Markov chain text generator might have a probability function that only takes into account the frequency of the n-grams in the training data, and so produces superficially coherent (but mostly meaningless) output.

Re: LLaMa running at 5 tokens/second on a Pixel 6

#68
post #42
post #37

Earlier quoted context omitted.

How is that an iPhone 7 is completely current vs give me a branded Android from the same year of release that has even security updates, not even features.

The problem with iPhones is once updates stop there's nothing you can do. The iPhone 7 isn't current, it's stuck on iOS 15 while the newest is 16. And while the pixel 2 (which is only a month younger than the iPhone 7) only got official support up to Android 11; you actually own the device and can easily unlock the boot-loader to upgrade to Android 13.

I wish that were the case with all android manufacturers - Verizon versions of Samsung phones have locked bootloader's and (afaik) there aren't working bootloader unlocks for all of them

Re: LLaMa running at 5 tokens/second on a Pixel 6

#69
post #57
post #48

Earlier quoted context omitted.

My understanding is they legally can't. It was trained used OpenAI, which doesn't allow using their output to train new models. Someone would need to find another data source to fine tune llama.

What will OpenAI do, sue? Okay but now it's out there.

OpenAI I knows they’re just a few cycles behind open source models - probably why they stuck a deal early with Microsoft.
Post reply on HN