Base Class of Model API implemented with HF Accelerate
Set learner to eval mode for validation
Inplace ops for preparing model via HF Accelerator. Automatically sends to device.
save(self, path, save_extra=False)
Set learner to training mode
Last update: October 3, 2021