llm.trainers.bert.convert
Convert pretraining checkpoints to HuggingFace pretrained models.
Example
After training, use the CLI to convert the latest checkpoint. Note that this uses the same configuration file used for training.
Then, useAutoModel.from_pretrained
to load the model back. Learn more about AutoModels
here.