rasbt/LLMs-from-scratch

Duplicated code cell (Exercise 5.3: Deterministic behavior in the decoding functions)

labdmitriy opened this issue · 1 comments

Bug description

Hi @rasbt,

Perhaps it was done intentionally but in this notebook there are cells 8 and 9 which are exactly equal (# Deterministic behavior: No top_k, no temperature scaling):
https://github.com/rasbt/LLMs-from-scratch/blob/main/ch05/01_main-chapter-code/exercise-solutions.ipynb

Thank you.

What operating system are you using?

None

Where do you run your code?

None

Environment




Thanks for the note. This was actually intentional, but I can see how this is confusing. I added a note about that.