Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
200 - application/json
List of fine-tune events
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>",
      "level": "info",
      "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>"
    }
  ]
}List the events for a single fine-tuning job.
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>",
      "level": "info",
      "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>"
    }
  ]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List of fine-tune events
Show child attributes
Was this page helpful?