Typo / text length
Bug description
https://github.com/rasbt/LLMs-from-scratch/blob/3f93d73d6dd75aeff21158506afff9500f79c359/ch05/01_main-chapter-code/ch05.ipynb#L816
I assume "words" should be "characters".
Also https://github.com/rasbt/LLMs-from-scratch/blob/3f93d73d6dd75aeff21158506afff9500f79c359/ch05/01_main-chapter-code/ch05.ipynb#L841-L842 and https://github.com/rasbt/LLMs-from-scratch/blob/3f93d73d6dd75aeff21158506afff9500f79c359/ch05/01_main-chapter-code/ch05.ipynb#L867-L868
both print 99 characters, not 100 as explained above
What operating system are you using?
None
Where do you run your code?
None
Environment
No response
Hey @d-kleine I would like to solve this issue
I was a bit worried that some changes might affect the print version of the book, but I checked and could not find any matches in the text/code there. So, for my part, please feel free to fix this issue, @ajithk1503 🙂
CC @rasbt for visibility/information
Good call @d-kleine . This was fixed in the book itself but I must have forgotten to fix it in the notes here.