Introduction
Get Started
Prepare your data
Cerebras PyTorch API
cerebras_pytorch
cerebras_pytorch.amp
cerebras_pytorch.optim
cerebras_pytorch.sparse
cerebras_pytorch.metrics
Cerebras Model Zoo
Cerebras Guides
Fundamentals
Support
Splits list/string into n sized chunks.
l (List[str]) – List or string to split.
n (int) – Number of chunks to split to.
List of lists containing split list/string.
previous
modelzoo.transformers.data_processing.utils.pad_instance_to_max_seq_length
next
modelzoo.transformers.data_processing.utils.text_to_tokenized_documents