Skip to content

Class: TrainingJob

Asynchronous fine-tuning job (dspy.clients.provider.TrainingJob).

URI: dspy:TrainingJob

 classDiagram
    class TrainingJob
    click TrainingJob href "../TrainingJob/"
      NamedThing <|-- TrainingJob
        click NamedThing href "../NamedThing/"

      TrainingJob : description

      TrainingJob : id

      TrainingJob : job_id

      TrainingJob : model

      TrainingJob : name

      TrainingJob : train_data





        TrainingJob --> "*" Any : train_data
        click Any href "../Any/"



      TrainingJob : train_data_format





        TrainingJob --> "0..1" TrainDataFormat : train_data_format
        click TrainDataFormat href "../TrainDataFormat/"



      TrainingJob : train_kwargs





        TrainingJob --> "0..1" Any : train_kwargs
        click Any href "../Any/"



      TrainingJob : training_status





        TrainingJob --> "0..1" TrainingStatus : training_status
        click TrainingStatus href "../TrainingStatus/"



Inheritance

Slots

Name Cardinality and Range Description Inheritance
job_id 0..1
Identifier
direct
model 0..1
ModelName
LiteLLM-style provider/model identifier direct
training_status 0..1
TrainingStatus
direct
train_data_format 0..1
TrainDataFormat
direct
train_data *
Any
Training examples in provider-acceptable shape direct
train_kwargs 0..1
Any
direct
id 1
Identifier
Stable opaque identifier for an instance NamedThing
name 0..1
String
Short human-readable name NamedThing
description 0..1
String
Free-form description NamedThing

In Subsets

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dspy:TrainingJob
native dspy:TrainingJob
broad nexus:AiLifecyclePhase, iso22989:AILifecycleStage, iso42001:AISystemLifecycleStage, nist_ai_100_1:AiLifecycleStage
close ai:ModelTraining

LinkML Source

Direct

name: TrainingJob
description: Asynchronous fine-tuning job (``dspy.clients.provider.TrainingJob``).
in_subset:
- clients
- finetune
from_schema: https://w3id.org/lmodel/dspy
close_mappings:
- ai:ModelTraining
broad_mappings:
- nexus:AiLifecyclePhase
- iso22989:AILifecycleStage
- iso42001:AISystemLifecycleStage
- nist_ai_100_1:AiLifecycleStage
is_a: NamedThing
slots:
- job_id
- model
- training_status
- train_data_format
- train_data
- train_kwargs

Induced

name: TrainingJob
description: Asynchronous fine-tuning job (``dspy.clients.provider.TrainingJob``).
in_subset:
- clients
- finetune
from_schema: https://w3id.org/lmodel/dspy
close_mappings:
- ai:ModelTraining
broad_mappings:
- nexus:AiLifecyclePhase
- iso22989:AILifecycleStage
- iso42001:AISystemLifecycleStage
- nist_ai_100_1:AiLifecycleStage
is_a: NamedThing
attributes:
  job_id:
    name: job_id
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: TrainingJob
    domain_of:
    - TrainingJob
    - ReinforceJob
    range: Identifier
  model:
    name: model
    description: LiteLLM-style ``provider/model`` identifier.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: TrainingJob
    domain_of:
    - LMRequest
    - LMResponse
    - BaseLM
    - TrainingJob
    range: ModelName
  training_status:
    name: training_status
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: TrainingJob
    domain_of:
    - TrainingJob
    range: TrainingStatus
  train_data_format:
    name: train_data_format
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: TrainingJob
    domain_of:
    - TrainingJob
    - BootstrapFinetune
    range: TrainDataFormat
  train_data:
    name: train_data
    description: Training examples in provider-acceptable shape.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: TrainingJob
    domain_of:
    - TrainingJob
    range: Any
    multivalued: true
  train_kwargs:
    name: train_kwargs
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: TrainingJob
    domain_of:
    - LM
    - TrainingJob
    - ReinforceJob
    - BootstrapFinetune
    range: Any
  id:
    name: id
    description: Stable opaque identifier for an instance.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    owner: TrainingJob
    domain_of:
    - NamedThing
    range: Identifier
    required: true
  name:
    name: name
    description: Short human-readable name.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: rdfs:label
    owner: TrainingJob
    domain_of:
    - NamedThing
    - LMToolCallPart
    - LMMessage
    - LMToolSpec
    range: string
  description:
    name: description
    description: Free-form description.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    slot_uri: dct:description
    owner: TrainingJob
    domain_of:
    - NamedThing
    - LMToolSpec
    range: string