Skip to content
Hayonix

API reference · Schema

FineTuneIntegrations

  • wandbobject

    Log training to Weights & Biases (the key is a project secret)

    Show 5 fields of wandb
    • api_key_secret_idstringrequired

      ID of the api key secret

      ID with prefix sec_

    • projectstringrequired

      The Weights & Biases project to log to

      1–128 characters

    • entitystring

      Team or user that owns the project; default: the key owner

      1–128 characters

    • run_namestring

      Name of the run; default: the job ID

      1–128 characters

    • base_urlstring (uri)

      A self-hosted Weights & Biases server; default: the public service

      up to 512 characters

  • hugging_faceobject

    Upload the result to the Hugging Face Hub (the token is a project secret)

    Show 4 fields of hugging_face
    • token_secret_idstringrequired

      ID of the token secret

      ID with prefix sec_

    • repositorystringrequired

      The model repository to upload to, as `<namespace>/<name>`

      3–193 characters

    • privateboolean

      Create the repository as private when it does not exist yet (default true); an existing repository keeps its visibility

    • artifactstring

      What to upload: the LoRA `adapter` (default) or the `merged` full weights

      One ofadaptermerged

Example
{
  "wandb": {
    "api_key_secret_id": "sec_01jc5zq4m8k3v6x9t2w7r0b1e4",
    "project": "string",
    "entity": "string",
    "run_name": "string",
    "base_url": "https://example.com/hook"
  },
  "hugging_face": {
    "token_secret_id": "sec_01jc5zq4m8k3v6x9t2w7r0b1e4",
    "repository": "my-org/my-model",
    "private": true,
    "artifact": "adapter"
  }
}