Skip to content

Commit b9a42cd

Browse files
Update generative-proof-of-concept-CPU-preprocessing-in-memory.py
Remove .repeat()
1 parent 2f35480 commit b9a42cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generative-proof-of-concept-CPU-preprocessing-in-memory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ def create_dataset(raw_text_samples, tokenizer, sample_expansion_batch_size=10)
13821382
)
13831383
)
13841384
# Set dataset to allow multiple epochs:
1385-
dataset = dataset.repeat()
1385+
# dataset = dataset.repeat()
13861386
# Batch it
13871387
dataset = dataset.batch(batch_size)
13881388
return dataset

0 commit comments

Comments
 (0)