mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-10-10 15:40:08 +00:00
the above -> the following
This commit is contained in:
parent
ee8efcbcf6
commit
d4b4e3d0f0
@ -1734,7 +1734,7 @@
|
||||
"source": [
|
||||
"- In this case, the matrix multiplication implementation in PyTorch will handle the 4-dimensional input tensor so that the matrix multiplication is carried out between the 2 last dimensions (num_tokens, head_dim) and then repeated for the individual heads. \n",
|
||||
"\n",
|
||||
"- For instance, the above becomes a more compact way to compute the matrix multiplication for each head separately:"
|
||||
"- For instance, the following becomes a more compact way to compute the matrix multiplication for each head separately:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user