mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2026-04-10 12:33:42 +00:00
Merge pull request #71 from Intelligence-Manifesto/patch-6
the above -> the following
This commit is contained in:
@@ -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:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user