nip.language_model_server.server.create_training_job#
- async nip.language_model_server.server.create_training_job(request: CreateTrainingJobRequest) TrainingJobInfo[source]#
- Create a new training job. - Parameters:
- request (CreateTrainingJobRequest) – A request containing the configuration for the training job, the dataset to be used, and an optional job ID suffix. 
- Returns:
- response (TrainingJobInfo | LanguageModelErrorResponse) – A dictionary containing either the created training job or an error response if an error occurs.