Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
200 - application/json
List of fine-tune jobs
from together import Together
import os
client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)
response = client.fine_tuning.list()
for fine_tune in response.data:
print(f"ID: {fine_tune.id}, Status: {fine_tune.status}"){
"data": [
{
"id": "ft-01234567890123456789",
"status": "completed",
"created_at": "2023-05-17T17:35:45.123Z",
"updated_at": "2023-05-17T18:46:23.456Z",
"user_id": "user_01234567890123456789",
"owner_address": "[email protected]",
"total_price": 1500,
"token_count": 850000,
"events": [],
"model": "meta-llama/Llama-2-7b-hf",
"model_output_name": "mynamespace/meta-llama/Llama-2-7b-hf-32162631",
"n_epochs": 3,
"training_file": "file-01234567890123456789",
"wandb_project_name": "my-finetune-project"
}
]
}List the metadata for all fine-tuning jobs. Returns a list of FinetuneResponseTruncated objects.
from together import Together
import os
client = Together(
api_key=os.environ.get("TOGETHER_API_KEY"),
)
response = client.fine_tuning.list()
for fine_tune in response.data:
print(f"ID: {fine_tune.id}, Status: {fine_tune.status}"){
"data": [
{
"id": "ft-01234567890123456789",
"status": "completed",
"created_at": "2023-05-17T17:35:45.123Z",
"updated_at": "2023-05-17T18:46:23.456Z",
"user_id": "user_01234567890123456789",
"owner_address": "[email protected]",
"total_price": 1500,
"token_count": 850000,
"events": [],
"model": "meta-llama/Llama-2-7b-hf",
"model_output_name": "mynamespace/meta-llama/Llama-2-7b-hf-32162631",
"n_epochs": 3,
"training_file": "file-01234567890123456789",
"wandb_project_name": "my-finetune-project"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
List of fine-tune jobs
Show child attributes
Was this page helpful?