Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-Anthony committed Sep 22, 2024
1 parent 54af72a commit 84d8613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion megatron/data/gpt2_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __getitem__(self, idx):
samples.append(
dataset.get(
self.doc_idx[doc_index_f],
offset=offset_l,
offset=offset_f,
length=offset_l - offset_f + 1,
)
)
Expand Down

0 comments on commit 84d8613

Please sign in to comment.