# 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"),
)
events = client.fine_tuning.list_events(id="ft-id")
print(events){
"data": [
{
"object": "fine-tune-event",
"created_at": "<string>",
"message": "<string>",
"type": "job_pending",
"param_count": 123,
"token_count": 123,
"total_steps": 123,
"wandb_url": "<string>",
"step": 123,
"checkpoint_path": "<string>",
"model_path": "<string>",
"training_offset": 123,
"hash": "<string>",
"level": null
}
]
}List the events 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"),
)
events = client.fine_tuning.list_events(id="ft-id")
print(events){
"data": [
{
"object": "fine-tune-event",
"created_at": "<string>",
"message": "<string>",
"type": "job_pending",
"param_count": 123,
"token_count": 123,
"total_steps": 123,
"wandb_url": "<string>",
"step": 123,
"checkpoint_path": "<string>",
"model_path": "<string>",
"training_offset": 123,
"hash": "<string>",
"level": null
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List of fine-tune events
Show child attributes
fine-tune-event job_pending, job_start, job_stopped, model_downloading, model_download_complete, training_data_downloading, training_data_download_complete, validation_data_downloading, validation_data_download_complete, wandb_init, training_start, checkpoint_save, billing_limit, epoch_complete, training_complete, model_compressing, model_compression_complete, model_uploading, model_upload_complete, job_complete, job_error, cancel_requested, job_restarted, refund, warning , info, warning, error, legacy_info, legacy_iwarning, legacy_ierror Was this page helpful?