Code · architecture · study mode
nn.Linear(12, 1, bias=False) — 12 weights total. Reads only the first 12 dims of a 768-dim embedding to produce a gate…
Full explanation below the code →
nn.Linear(12, 1, bias=False) — 12 weights total. Reads only the first 12 dims of a 768-dim embedding to produce a gate scalar. init zeros → model starts with no smearing, learns to blend if useful.
Why read only the first 12 dimensions instead of the full 768?