Train Model • AI Agents Framework
train_model: API reference for TrainModel.train_model
train_model
Method
</div>
This is a method of the TrainModel class in the train module.
Signature
def train_model() -> AnyReturns
ResponseField
AnyThe result of the operation.
Uses
load_datasetstokenize_datasetis_bfloat16_supportedos.getenvTrainingArgumentsSFTTrainertrain_on_responses_onlytrainer.trainsave_pretrained
Used By
Source
View on GitHubpraisonai/train.py at line 214