Learn about the model configuration classes in the Cerebras Model Zoo, which are used to manage and customize model settings for efficient training and deployment.
post_init
method. For example:
field_validators
to change the value of a field:
name
field. This field’s type must be defined as Literal["name_of_the_model"]
. The value of this name field is what the system uses to determine which model to initialize.
data_processor
field. This field’s type must be defined as Literal["name_of_the_data_processor"]
, which ensures the field exactly matches the specific data processor identifier the system should initialize.