Skip to content

Class: ReinforceJob

Reinforcement-learning fine-tuning job (dspy.clients.provider.ReinforceJob).

URI: dspy:ReinforceJob

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

      ReinforceJob : checkpoints





        ReinforceJob --> "0..1" Any : checkpoints
        click Any href "../Any/"



      ReinforceJob : current_model

      ReinforceJob : description

      ReinforceJob : id

      ReinforceJob : job_id

      ReinforceJob : last_checkpoint

      ReinforceJob : name

      ReinforceJob : pending_batch_ids

      ReinforceJob : train_kwargs





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



Inheritance

Slots

Name Cardinality and Range Description Inheritance
job_id 0..1
Identifier
direct
current_model 0..1
ModelName
direct
checkpoints 0..1
Any
Map from checkpoint name to artifact location direct
last_checkpoint 0..1
String
direct
pending_batch_ids *
Integer
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:ReinforceJob
native dspy:ReinforceJob
broad nexus:AiLifecyclePhase, iso22989:AILifecycleStage, iso42001:AISystemLifecycleStage
close ai:ModelFineTuning

LinkML Source

Direct

name: ReinforceJob
description: Reinforcement-learning fine-tuning job (``dspy.clients.provider.ReinforceJob``).
in_subset:
- clients
- finetune
from_schema: https://w3id.org/lmodel/dspy
close_mappings:
- ai:ModelFineTuning
broad_mappings:
- nexus:AiLifecyclePhase
- iso22989:AILifecycleStage
- iso42001:AISystemLifecycleStage
is_a: NamedThing
slots:
- job_id
- current_model
- checkpoints
- last_checkpoint
- pending_batch_ids
- train_kwargs

Induced

name: ReinforceJob
description: Reinforcement-learning fine-tuning job (``dspy.clients.provider.ReinforceJob``).
in_subset:
- clients
- finetune
from_schema: https://w3id.org/lmodel/dspy
close_mappings:
- ai:ModelFineTuning
broad_mappings:
- nexus:AiLifecyclePhase
- iso22989:AILifecycleStage
- iso42001:AISystemLifecycleStage
is_a: NamedThing
attributes:
  job_id:
    name: job_id
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: ReinforceJob
    domain_of:
    - TrainingJob
    - ReinforceJob
    range: Identifier
  current_model:
    name: current_model
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: ReinforceJob
    domain_of:
    - ReinforceJob
    range: ModelName
  checkpoints:
    name: checkpoints
    description: Map from checkpoint name to artifact location.
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: ReinforceJob
    domain_of:
    - ReinforceJob
    range: Any
  last_checkpoint:
    name: last_checkpoint
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: ReinforceJob
    domain_of:
    - ReinforceJob
    range: string
  pending_batch_ids:
    name: pending_batch_ids
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: ReinforceJob
    domain_of:
    - ReinforceJob
    range: integer
    multivalued: true
  train_kwargs:
    name: train_kwargs
    from_schema: https://w3id.org/lmodel/dspy
    rank: 1000
    owner: ReinforceJob
    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: ReinforceJob
    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: ReinforceJob
    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: ReinforceJob
    domain_of:
    - NamedThing
    - LMToolSpec
    range: string