Prepare Model • AI Agents Framework
prepare_model: API reference for TrainModel.prepare_model
prepare_model
Method
</div>
This is a method of the TrainModel class in the train module.
Signature
def prepare_model() -> AnyReturns
ResponseField
AnyThe result of the operation.
Uses
FastLanguageModel.from_pretrainedget_chat_templateFastLanguageModel.get_peft_model
Used By
Source
View on GitHubpraisonai/train.py at line 143