API reference · Schema
FineTuneIntegrations
wandbobjectLog training to Weights & Biases (the key is a project secret)
ShowHide 5 fields of
wandbapi_key_secret_idstringrequiredID of the api key secret
ID with prefix sec_
projectstringrequiredThe Weights & Biases project to log to
1–128 characters
entitystringTeam or user that owns the project; default: the key owner
1–128 characters
run_namestringName 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_faceobjectUpload the result to the Hugging Face Hub (the token is a project secret)
ShowHide 4 fields of
hugging_facetoken_secret_idstringrequiredID of the token secret
ID with prefix sec_
repositorystringrequiredThe model repository to upload to, as `<namespace>/<name>`
3–193 characters
privatebooleanCreate the repository as private when it does not exist yet (default true); an existing repository keeps its visibility
artifactstringWhat to upload: the LoRA `adapter` (default) or the `merged` full weights
One of
adaptermerged
{
"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"
}
}