Excellent! Thank you so much for making/posting this
Numbers every LLM developer should know
21–30 of 107 posts
Re: Numbers every LLM developer should know
#22> LLM Developer This is the fastest I've rolled my eyes in a long time!
I really would ask you to take a second look at the spirit of your comment and think carefully about how much you really understand about the work being done on top of LLMs and if it justifies this kind of response.
Re: Numbers every LLM developer should know
#23How come the token to word ratio is smaller than 1 if tokens are either words or part of words? Shouldn't you expect more tokens than words?
Re: Numbers every LLM developer should know
#24Re: Numbers every LLM developer should know
#25Are there any open source host-your-own LLMs that have licensing that allows for commercial use?
Re: Numbers every LLM developer should know
#26> Of course there are efforts to reduce this, notably llama.cpp which runs a 13 billion parameter model on a 6GB GPU by quantizing aggressively down to 4 bits (and 8 bits without too much impact), but that’s atypical. No, 4bit quantization is the typical case. At 4bit you can fit twice the parameters of 8bit in the same space for far better performance/perplexity/quality. Running LLMs higher than 4bit is atypical and…
Can somebody please explain how quantization below 8 bit works? Since a byte is the smallest addressable unit I think, is the dimensionality of the weights somehow reduced?
Re: Numbers every LLM developer should know
#27> Of course there are efforts to reduce this, notably llama.cpp which runs a 13 billion parameter model on a 6GB GPU by quantizing aggressively down to 4 bits (and 8 bits without too much impact), but that’s atypical. No, 4bit quantization is the typical case. At 4bit you can fit twice the parameters of 8bit in the same space for far better performance/perplexity/quality. Running LLMs higher than 4bit is atypical and…
You can see it in real time when you take most LLMs and compare them at different quantization levels. I can see the degradation even in the largest llama quite badly even at 8 bits.
Re: Numbers every LLM developer should know
#28> Of course there are efforts to reduce this, notably llama.cpp which runs a 13 billion parameter model on a 6GB GPU by quantizing aggressively down to 4 bits (and 8 bits without too much impact), but that’s atypical. No, 4bit quantization is the typical case. At 4bit you can fit twice the parameters of 8bit in the same space for far better performance/perplexity/quality. Running LLMs higher than 4bit is atypical and…
Can somebody please explain how quantization below 8 bit works? Since a byte is the smallest addressable unit I think, is the dimensionality of the weights somehow reduced?
More detail than you probably wanted: https://huggingface.co/blog/hf-bitsandbytes-integration
Re: Numbers every LLM developer should know
#29Are there any open source host-your-own LLMs that have licensing that allows for commercial use?
Dolly from Databricks is one at least
Dolly's not that great -- I've hit lots of issues using it to be honest .
MosaicML has a nice commercially usable model here: https://www.mosaicml.com/blog/mpt-7b
I think they're one of the leading ones (bias: they're kinda competitors to my employer Anyscale, but you gotta say something's good when it is).
Red Pajama are leading an effort to build a fully open source model similar to LLaMa. https://www.together.xyz/blog/redpajama
Re: Numbers every LLM developer should know
#30MosaicML claims they trained a 7 billion parameter on 1 trillion tokens with a budget of $200k.
https://www.mosaicml.com/blog/mpt-7b
Does training cost scale linearly with model size and token count? If so, that suggests a lower bound of $600k to train the 13 billion params model. (Still roughly the same magnitude)