CreateTrainerServerRequest

class baseten.client.managementapi.CreateTrainerServerRequest(*, model, max_seq_len=None, lora_rank=64, seed=None, scale_down_delay_seconds=3600, checkpoint_path=None)

Bases: BaseModel

Parameters:
  • model (str)

  • max_seq_len (int | None)

  • lora_rank (int | None)

  • seed (int | None)

  • scale_down_delay_seconds (Annotated[int | None, Gt(gt=0)])

  • checkpoint_path (str | None)

model_config = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].