From: Francois Fleuret Date: Tue, 26 Jul 2022 10:47:26 +0000 (+0200) Subject: Removed the Linear transformation since there is now w_o. X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mygpt.git;a=commitdiff_plain;h=84748a01e6d3c26037412592ce147b7753ce6117 Removed the Linear transformation since there is now w_o. --- diff --git a/mygpt.py b/mygpt.py index 7f0c9e6..5370ffa 100755 --- a/mygpt.py +++ b/mygpt.py @@ -111,7 +111,6 @@ class MyGPT(nn.Module): nb_heads = nb_heads, causal = True, attention_dropout = dropout ), - nn.Linear(in_features = dim_model, out_features = dim_model), ), Residual( nn.LayerNorm(dim_model),