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
Returns the whole word start and end indices.
list tokens: Tokens to process.
int start_index: Start index.
tuple with start and end index of the word from the token list.
previous
modelzoo.transformers.pytorch.bert.input.utils.get_meta_data
next
modelzoo.transformers.pytorch.bert.input.utils.parse_text