Trainer
. The model
is the main Module
that all training and validation is run on. It is required by all Trainer
instances.
Trainer
use the model
argument.
model
as a Module
directly, it is optimal to first initalize the model inside of the Cerebras device context.For example:Trainer
. You should now understand the various ways to configure the model and how the Trainer
accepts a model.
Trainer
in some core workflows, you can check out:
To learn more about how you can extend the capabilities of the Trainer
class, you can check out: