LLMs-from-scratch/ch02/01_main-chapter-code
Tao Qian cec445f146
Minor readability improvement in dataloader.ipynb (#461)
* Minor readability improvement in dataloader.ipynb

- The tokenizer and encoded_text variables at the root level are unused.
- The default params for create_dataloader_v1 are confusing, especially for the default batch_size 4, which happens to be the same as the max_length.

* readability improvements

---------

Co-authored-by: rasbt <mail@sebastianraschka.com>
2025-01-04 11:26:10 -06:00
..
2024-10-19 16:27:19 -05:00
2024-06-19 17:48:25 -05:00
2023-09-28 07:08:50 -05:00

Chapter 2: Working with Text Data

Main Chapter Code

  • ch02.ipynb contains all the code as it appears in the chapter

Optional Code

  • dataloader.ipynb is a minimal notebook with the main data loading pipeline implemented in this chapter