English
Open in Telegram

Post One of the key moments when I truly understood how transformers work: 🧠✨

9 October 2026
M
Machine Learning with Python
Photo
click to show
One of the key moments when I truly understood how transformers work: 🧠✨ "Stop thinking of a transformer as a conveyor belt, where each layer transforms the output of the previous one." "Start thinking of it as a residual flow." 🌊 Each block in a transformer has a residual connection that adds the input of the block to its output: x' = f(x) + x Because of this addition, the attention mechanism or MLP within the layer – the function f in the formula above – actually does NOT transform the input. Instead, it calculates the information that needs to be ADDED to the input before passing it to the next block! ➕ Imagine the main part of the transformer as a shared whiteboard. 📝 Each block reads what it needs from it and adds its own notes. All changes are additions. Furthermore, layers can exchange information over distances. A block in the first layer can write information, and a block in the fifth layer can read it, even though there is no direct connection between them. 🔗 I owe these ideas to an older article by Anthropic about the architecture of transformers: transformer-circuits.pub/2021/framework #Transformers #DeepLearning #AI #MachineLearning #NeuralNetworks #Tech ✨ Join Best TG Channels https://t.me/addlist/0f6vfFbEMdAwODBk ⭐️ Join Our WhatsApp Channel https://whatsapp.com/channel/0029VaC7Weq29753hpcggW2A
5 · 1.4K ·

Nearby in the feed

MMachine Learning with PythonЗарабатываешь в рублях — нужен USDT? Алтын Wallet - кошелек с лицензией! Пополняй Алтын по СБП с любого банка. Изучи условия обмена и зарегистрируйся. Ad. 18+MMachine Learning with Python🔖 Official PyTorch Tutorials This collection includes: 🫡 PyTorch fundamentals and torch.nn; 🫡 Computer Vision and transfer learning; 🫡 NLP and RNNs; 🫡 Reinforce
this message
MMachine Learning with Python📚 Download 10 Python books for FREE: 1. Think Python — O’Reilly https://t.co/X7y3pX68IW 2. The Big Book of Small Python Projects https://inventwithpython.com/biMMachine Learning with Python"Graph Theory with Applications" is a free textbook that provides a comprehensive introduction to graph theory and its practical applications. The book begins w
MMachine Learning with PythonMachine Learning with Python@CodeProgrammer · channel · Tech
68 610subscribers2 146average post reach
Venue feed Open in Telegram

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count