Skip to content

Commit

Permalink
docs: fix typo in llama.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev committed Oct 31, 2024
1 parent 6e06feb commit beab068
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notes/llama.md
Original file line number Diff line number Diff line change
Expand Up @@ -5604,8 +5604,8 @@ $168 = 3
#define GGML_KQ_MASK_PAD 32
#define GGML_PAD(x, n) (((x) + (n) - 1) & ~((n) - 1))

GGML_PAD(n_tokens, GGML_KQ_MASK_PAD));
GGML_PAD(3, 32));
GGML_PAD(n_tokens, GGML_KQ_MASK_PAD);
GGML_PAD(3, 32);
GGML_PAD(3, 32) (((3) + (32) - 1) & ~((32) - 1))
= 32
```
Expand All @@ -5621,7 +5621,7 @@ So this would look something like this:
30 [0 ... 255]
31 [0 ... 255]
```
And this is for the Qeury matrix matrix masking to prevent the model from
And this is for the Query matrix masking to prevent the model from
looking at tokens "in the future".
```c++
for (int il = 0; il < n_layer; ++il) {
Expand Down

0 comments on commit beab068

Please sign in to comment.