Skip to content

Commit 7518fc0

Browse files
krammnicmori360
authored andcommitted
Add possibility to pack in _wikitext.py (pytorch#1807)
1 parent 47a03e1 commit 7518fc0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torchtune/datasets/_wikitext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def wikitext_dataset(
6363
column="page",
6464
max_seq_len=max_seq_len,
6565
name=subset,
66+
packed=packed,
6667
filter_fn=filter_fn,
6768
split=split,
6869
**load_dataset_kwargs,

0 commit comments

Comments
 (0)