8 min readDec 8, 2025

Transformers, embeddings and attention: how modern LLMs really think

Press enter or click to view image in full size

Welcome back in the series related to LLM-based application development.

By now you already know the basics of how LLMs are built and what their key parameters mean. In this article we return to the architecture that kicked off the current wave of language models: the Transformer from the 2017 paper “Attention Is All You Need”. That work was a real turning point for natural language processing and it’s the foundation behind GPT and many other modern models.

My goal here is to walk through the main building blocks of a Transformer in a practical way, so that when you see the classic diagram, it’s not just a mysterious box anymore.

P…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help