mirror of
https://github.com/rasbt/LLMs-from-scratch.git
synced 2025-11-03 03:10:21 +00:00
Use test mode arg in ch07 (#713)
This commit is contained in:
parent
9c666a4d94
commit
8c8ff24118
@ -175,7 +175,7 @@ def main(test_mode=False):
|
||||
val_data = data[train_portion + test_portion:]
|
||||
|
||||
# Use very small subset for testing purposes
|
||||
if args.test_mode:
|
||||
if test_mode:
|
||||
train_data = train_data[:10]
|
||||
val_data = val_data[:10]
|
||||
test_data = test_data[:10]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user