mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
use attn_scores from sec 3.4 instead of 3.3
This commit is contained in:
@@ -836,7 +836,7 @@
|
||||
" x = self.drop_resid(x)\n",
|
||||
" x = x + shortcut # Add the original input back\n",
|
||||
"\n",
|
||||
" # Shortcut connection for feed-forward block\n",
|
||||
" # Shortcut connection for feed forward block\n",
|
||||
" shortcut = x\n",
|
||||
" x = self.norm2(x)\n",
|
||||
" x = self.ff(x)\n",
|
||||
|
||||
Reference in New Issue
Block a user