The GPT-3 Architecture, on a Napkin

https://dugas.ch/artificial_curiosity/GPT_architecture.html

Inside the GPT-3

24 points · 3 comments · view on lemmy.world

3 Comments

behohippy@lemmy.world · 4 pts · 3y (1 reply)

I've got a background in deep learning and I still struggle to understand the attention mechanism. I know it's a key/value store but I'm not sure what it's doing to the tensor when it passes through different layers.

varun_damn@mastodon.social · 1 pts · 3y

@behohippy @saint Instead of timestep by timestep sequence modeling the attention allows us to pass sequential model in a parallel NN just like fully connected one, where the positional encoding helps us to know the sequence of each and we can remove the keys having less attention value...

kromem@lemmy.world · 3 pts · 3y

What are you eating which needs that large of a napkin?