Typo on page 556 #197
anneleonore
started this conversation in
General
Replies: 1 comment
-
Thanks for the note @anneleonore ! You are absolutely right, it should say "third". I just double-checked my version and it seems to be correct there: I think this may have been fixed in the Nov , 2022 reprint I suspect you have the previous version somehow. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Sebastian,
Thank you for putting together such an informative book - I find it an enjoyable read and extremely helpful in my research.
Small note: On page 556 you are referring to multihead_keys[2, 1] and say we are accessing the second key value in the second attention head. Should that not be the third attention head?
The accompanying code is: https://github.com/rasbt/machine-learning-book/blob/main/ch16/ch16-part1-self-attention.py
Thanks again!
Beta Was this translation helpful? Give feedback.
All reactions