Getting Started
Concepts
Model Zoo
CS Torch
cerebras.pytorch
cerebras.pytorch.amp
cerebras.pytorch.optim
cerebras.pytorch.sparse
cerebras.pytorch.metrics
Cluster Monitoring
Fundamentals
Support
Functions
get_vocab_size
Function to get vocab size and validate with vocabulary file.
previous
cerebras.modelzoo.common.utils.model.transformer_utils.smooth_loss
next
cerebras.modelzoo.common.utils.model.vocab_utils.get_vocab_size