4 ms·
The name "Tiny LLMs" does not make sense. LLM stands for large language model. So tiny is kind of the opposite of large. Large usually means >=7B parameters (2
by albertzeyer 3y ago
The name "Tiny LLMs" does not make sense.
LLM stands for large language model. So tiny is kind of the opposite of large. Large usually means >=7B parameters (2023). If it's less, we would just call it language model, not large language model.
And language model has a very specific meaning: It models text. Usually we mean an auto-regressive language model, i.e. input is partial text, and output is the the prediction of the following text. Although there are also other kind of language models. Language model always means text-only.
E.g, a model for speech recognition is a speech recognition model, not a language model. You might use a language model in addition here (shallow fusion etc), but it's not necessary (end-to-end models). None of the models I see here are language models.
So, to put a title here, you could maybe "neural network models in browser" or so. Or maybe "natural language models". "Natural language processing (NLP)" has a different meaning (https://en.wikipedia.org/wiki/Natural_language_processing https://en.wikipedia.org/wiki/Natural_language_processing) (compared to "language model", https://en.wikipedia.org/wiki/Language_model https://en.wikipedia.org/wiki/Language_model) and includes speech recognition. Sometimes this was also referred to as "human language technology (HLT)" (https://en.wikipedia.org/wiki/Language_technology https://en.wikipedia.org/wiki/Language_technology), which would also include all those models.
It would also be nice to add a bit more details on what kind of models we see here, how large they are, etc. E.g. for speech recognition, I see that this uses a port of Whisper to the web (https://github.com/xenova/whisper-web https://github.com/xenova/whisper-web) based on the Transformers.js library (https://github.com/xenova/transformers.js https://github.com/xenova/transformers.js). That uses ONNX, and the standard conversion is via Hugging Face Optimum
(https://github.com/huggingface/optimum https://github.com/huggingface/optimum), and that usually would do some dynamic quantization, i.e. compression of the model. So maybe the "tiny large" is referring to that. But I did not really find out which Whisper model this is based on, i.e. whether it is Whisper-large (which is still not too large with 1.5B parameters).
- unshavedyak 3y agoI could see TinyLLM meaning a method of reducing/compression the effective runtime size of an LLM. Ie quantization stuff, etc. No idea what this is, tho.
- andy99 3y ago> Large usually means >=7B parameters (2023). I've never heard that before. I agree that the "language model" part has an accepted definition. I'd call e.g. GPT-2 an LLM and don't think anyone would bat an eye.
- zamadatix 3y agoBERT from a year prior also makes the list at https://en.wikipedia.org/wiki/Large_language_model#List https://en.wikipedia.org/wiki/Large_language_model#List but I think that's what the (2023) is supposed to represent: outside the few initial models from years ago >= 7B parameters is the typical expectation for the term (it actually lines up with that table extremely well). At the same time, if you're off by less than an order of magnitude (where GPT-2 would fall if released today) I don't think anyone will be harping 7B. Gotta leave a bit of fuzzy interpretation for the real world as no single number is going to please everyone in all cases but some number in the ballpark is still useful to discuss.
- albertzeyer 3y agoAh good question. I think I have read that statement by some other people. But the limit is kind of arbitrary. And of course, this limit will be higher and higher over time, that's why I put the year. I think the limit should also not be much lower. We already have language models three order of magnitude larger (>1T params), and we also call them "large", so in this context, all those single-digit billion parameter models feel quite small. Similarly, when is a network "deep"? It used to mean more than 2 or 3 layers. And then there was a definition for "very deep", starting with more than 10 layers (I think Schmidhuber introduced that definition many years ago, https://arxiv.org/abs/1404.7828 https://arxiv.org/abs/1404.7828). Obviously, that's totally outdated now. Networks are often very deep, e.g. those large language models often 96 layers.
- deleted 3y ago[deleted]
- hfjjbf 3y ago[dead]
- deleted 3y ago[deleted]