SIGN IN SIGN UP
rasbt / LLMs-from-scratch UNCLAIMED

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

0 0 68 Jupyter Notebook

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>
T
Tao Qian committed
cec445f1465eadbc233805bb1f2529e8d74d000b
Parent: 1b635f7
Committed by GitHub <noreply@github.com> on 1/4/2025, 5:26:10 PM