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
Functions
get_vocab_size
Function to get vocab size and validate with vocabulary file.
previous
modelzoo.common.pytorch.model_utils.norms.get_norm
next
modelzoo.common.pytorch.model_utils.vocab_utils.get_vocab_size