By Team Edtoolkits · AI learning
Separate input reading direction from output generation when comparing transformer families.
Use the guide alongside the working tool.
Open Encoders, Decoders and Both: Pick the Shape →Explore the lesson
Watch the three shapes handle text.
Read what each shape reads and makes.
Match six tasks to the shape that fits.
A comparison to try
Classify a sentiment-label task, a text-continuation task and a translation task. For each, say whether the output is a label or a new sequence before revealing the lesson's classic architecture match.
Read the result
An encoder can use context on both sides of a token; a decoder generates a continuation; an encoder-decoder combines input representation with sequence generation. Output shape helps explain the historical design choices.
A mistake to avoid
These matches describe classic designs rather than exclusive capability rules. Modern decoder-only models handle many tasks, so architecture labels alone do not decide which deployed model will work best for your application.
Teaching model and privacy
The answers show what each shape was designed for. Large decoder-only models are now used for many of these tasks as well, so real choices are less strict. Nothing leaves your browser.
Ready to apply this workflow?
Try Encoders, Decoders and Both: Pick the Shape →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.