GET
/
finetune
/
download
from together import Together
import os

client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)

response = client.fine_tuning.download(id="ft-id")

print(response)
{
  "object": "<any>",
  "id": "<string>",
  "checkpoint_step": 123,
  "filename": "<string>",
  "size": 123
}

Authorizations

Authorization
string
header
default:default
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

ft_id
string
required

Fine-tune ID to download. A string that starts with ft-.

checkpoint_step
integer

Specifies step number for checkpoint to download. Ignores checkpoint value if set.

checkpoint
enum<string>

Specifies checkpoint type to download - merged vs adapter. This field is required if the checkpoint_step is not set.

Available options:
merged,
adapter
output
string

Specifies output file name for downloaded model. Defaults to $PWD/{model_name}.{extension}.

Response

200
application/json

Successfully downloaded the fine-tuned model or checkpoint.

The response is of type object.