Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cerebras/modelzoo/data/nlp/t5/t5_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def split_sequences(tokens, length):
:param int length: The maximum allowed length of a sample.

:returns: A list of sequences containing exactly the same samples as before
split into seperate samples such that no element of the dataset has
split into separate samples such that no element of the dataset has
length longer than specified.
"""
n_tokens = len(tokens)
Expand Down
2 changes: 1 addition & 1 deletion src/cerebras/modelzoo/data_preparation/nlp/t5/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def split_sequences(tokens, length):
:param int length: The maximum allowed length of a sample.

:returns: A list of sequences containing exactly the same samples as before
split into seperate samples such that no element of the dataset has
split into separate samples such that no element of the dataset has
length longer than specified.
"""
n_tokens = len(tokens)
Expand Down