LLMs-from-scratch icon indicating copy to clipboard operation
LLMs-from-scratch copied to clipboard

Typo / text length

Open d-kleine opened this issue 5 months ago • 2 comments

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

d-kleine avatar May 14 '25 19:05 d-kleine