A team must translate support tickets from German to English and wants a model family designed for sequence-to-sequence tasks. Which architecture fits best?
- Exam domain
- LLM Architecture6% of the exam
- Difficulty
- Medium
- In this mock
- 5 questions on this domainPractise this domain
Why the exam asks this
LLM Architecture (6% of the exam).
Objective in the exam guide: Analyze encoder-decoder structures and their applications.
Architecture choice follows the task.
Why C is the answer
An encoder-decoder model, such as T5
Encoder-decoder models read the full input with the encoder and generate output with the decoder, which suits translation.
How it works
Encoder-only models suit understanding tasks such as classification.
Decoder-only models suit text generation.
Encoder-decoder models suit sequence-to-sequence tasks such as translation and summarization.
Clues in the question
The words that point to the answer, and what each one tells you.
- Sequence-to-sequence
- Encoder-decoder.
In detail
- Decoder-only LLMs can translate with prompting too.
- Encoder-only models suit classification and embeddings.
Side by side with look-alikes
| Architecture | Best for |
|---|---|
| Encoder-decoder | Translation, summarization |
| Encoder-only | Classification, embeddings |
| Decoder-only | Generation |
| CNN | Images |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. A decoder-only model with no promptWrong
A decoder needs the source text as input.
B. A convolutional image modelWrong
Image models do not process text.
C. An encoder-decoder model, such as T5Right
Encoder-decoder models read the full input with the encoder and generate output with the decoder, which suits translation.
D. An encoder-only model, such as BERTWrongMost tempting
Encoder-only models do not generate sequences.
Why it tempts: BERT understands text well. But it does not generate a new sequence.
In practice
- Benchmark a prompted decoder-only LLM too; it may match a dedicated model.