by refulgentis · 11mo ago · 0 comments
Decoder gets you the autoregressive generation you’d use for an llm.
Beyond that, there’s this advantage of having small LLMs train better, they kinda hit a wall a year or two ago IMHO. E.g. original Gemma 3 small models were short context and only text.
As far as I understand you have to pay for that by 2x inference cost at runtime
(Would be happy to be corrected on any of the above, I maintain a multi platform app that has llama.cpp inference in addition to standard LLMs, and I do embeddings locally, so I’m operating from a practical understanding more than ML phd)
The issue is that they're generally harder to train (need input/output pairs as a training dataset) and don't naturally generalize as well
Decoder-only models also do this, the only difference is that they use a masked attention.