Skip to content
✳AI UNIVERSITYBY COMMONJOBS
Deep Learning

What is a transformer in AI?

Attention lets a model combine information from different positions using learned relevance weights.

✳ Beginner◷ 5–10 min + practiceTEXT-BASED LEARNING

Start from zero. Learn the meaning, explore a worked example and practise in three short text lessons. No previous AI experience is needed.

Start here · beginner

01 · Understand the idea

In simple words

A transformer is a model architecture that uses attention along with other components. Attention helps combine information from different positions in a sequence. In “river bank” and “bank account”, the surrounding words give different clues. This is an intuition for context, not a complete explanation of how a trained model works.

Two useful terms

Architecture: the organisation of a model. Attention: learned computation that weights information from different positions.

Build your understanding

Attention lets a model combine information from different positions using learned relevance weights. Transformers use attention with other components to process sequences. The representation of a word can change with context. This tutorial is an intuition exercise, not a full implementation of training or inference.

Sign in to save your reading progress.

Sign in
LET’S TALK

Find your next step.

Share a little about yourself. We’ll get in touch.

COMMONJOBS AI
✦ GEN Z’S WAY OF LEARNING

Your next era.
Powered by AI.

Make your next 5 days count.
Join the CommonJobs AI Bootcamp.

5-DAY AI BOOTCAMP12 Oct 2026

WE START IN

00Days
00Hours
00Minutes
00Seconds
Join Now

Learn AI. Build your next chapter.