inference • AI Agents Framework
inference: API reference for TrainModel.inference
inference
Method
</div>
This is a method of the TrainModel class in the train module.
Signature
def inference(instruction: Any, input_text: Any) -> AnyParameters
ParamField
AnyNo description available.
ParamField
AnyNo description available.
Returns
ResponseField
AnyThe result of the operation.
Uses
FastLanguageModel.for_inferencetoapply_chat_templategeneratebatch_decode
Source
View on GitHubpraisonai/train.py at line 266