basic_training#
Basic training logic for training simple models.
This module provides a barebones implementation of training logic that supports training Penzai models. This can be used to train simple models that do not require more sophisticated training loops. It also serves as a starting point for more complex training scripts.
Classes
Internal state for the trainer. |
|
Signature for loss functions expected by the common training step. |
|
A trainer object that updates its state in place. |