← Questions
Review a compact GPT-style transformer implementation
0
I was asked this
No reports yet. Sign in to say where you were asked it.
You are given a short implementation of a GPT-style decoder-only transformer. Read it and review it: explain what each part does (embeddings, attention with its causal mask, feed-forward layers, normalization, the output head), point out bugs or questionable choices, and say how you would improve it.
No official answer yet. Draw yours on the right; publish it and it shows under Community.
Nothing published yet. Publish your canvas and it shows here for others to open and remix.
Draw your answer hereBoxes, arrows and notes, saved for you to come back to.Sign in to start drawing
