4 ms·
It's almost the same model architecture, but GPT3 is much better trained. GPT3 is coherent, while GPT2 is prone to generating gibberish or getting stuck in a lo
by zwaps 4y ago
It's almost the same model architecture, but GPT3 is much better trained. GPT3 is coherent, while GPT2 is prone to generating gibberish or getting stuck in a loop. The advantage is pretty significant for longer generations.
That being said, neither GPT3 nor GPT2 are "efficient" models.
On the one hand, they use inefficient architectures - starting with using a BPE Tokenizer, to having dense attention without any modifications, to being a decoder only architecture etc. Research has come up with many more fancy ideas on how to make all this run better and with less compute.
But there is a reason why GPT2/3 are architecturally simple and inefficient: we know how to train these models reliably (more or less) on thousands of GPUs, whereas the same might not be true for more modern and efficient implementations. For instance, when training OPT, Facebook started using more fancy ideas but finally ended up going back to GPT-3 esque basics, simply because training on thousands of machines is a lot harder than it seems in theory.
On the other hand, these models have far too many parameters compared to the data they were trained on. You might say they are undertrained - or they lean heavily on available compute to make up for missing data. In any case, much smaller models (like Chinchilla by DeepMind) match their performance with less parameters (and hence compute or model size) by using more and better data.
In closing, there are better models for edge devices. This includes GPT clones like GPT-J in 8bit, or distilled version thereof. Similarly, there is still a lot of gains that will happen when all the numerous efficiency improvements get implemented in a model that operates at the data/parameter efficiency frontier.
Still, even when considering efficient models like Chinchilla and then even more architecturally efficient versions thereof - we are still talking about a lot of $$$ to train these models. And so we are yet further from having OpenSource implementations of these models than we are from someone (like DeepMind) having them...
With time, you can expect to run coherent models on your edge device. But not quite yet.
- boredemployee 4y agoThank you. Do you know any open source model that works generating code from natural language? I tried salesforce codex and it sucks big time.
- zwaps 4y agoInterestingly, Code models are constrained even more by difficulties of tokenization in light of - most crucially - us not having actually that much code to train on (we already train on all of of github, and it doesn't "saturate" the model). At this stage, we are back to improving model efficiency, I think, especially for code models. But not there yet. Sorry for the rambling, the actual answer is no I do not have a really good codex type model in open source.. yet
- boredemployee 4y agoI see. The Open AI code generator gave me really impressive results for basic to intermediate questions in the data analytics space. I think it's a function of the context you give about the problem (aka what are the literal meaning of the columns in the business context) and how objective your question - to the model - is, plus some other internal model variable that I'm completely unaware of. But it's nice to have your input so I can understand a little bit what happens under the hood!