llmp.data_model.job_record.load_engine_from_job¶
- llmp.data_model.job_record.load_engine_from_job(job: JobRecord, job_settings: dict = None, engine_cls: Type[StructEngine] = None, return_metrics: bool = True, **kwargs) StructEngine[source]¶
Load a Engine engine from a job.
- Parameters
job – The job to load the engine from.
job_settings – The job settings to use for the engine e.g. list of example_ids or different instruction.
engine_cls (optional) – The engine class to use for the engine e.g. AsyncEngine.