# Docs for v2 can be found by changing the above selector ^
from together import Together
import os
client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)
checkpoints = client.fine_tuning.list_checkpoints(id="ft-id")
print(checkpoints){
"data": [
{
"step": 123,
"created_at": "<string>",
"path": "<string>",
"checkpoint_type": "<string>"
}
]
}List the checkpoints for a single fine-tuning job.
# Docs for v2 can be found by changing the above selector ^
from together import Together
import os
client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)
checkpoints = client.fine_tuning.list_checkpoints(id="ft-id")
print(checkpoints){
"data": [
{
"step": 123,
"created_at": "<string>",
"path": "<string>",
"checkpoint_type": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?