Logo
OpenAI API Documentation

Enable Weights and Biases Integration

POST https://api.openai.com/v1/fine_tuning/jobs

Weights and Biases (W&B) is a popular tool for tracking machine learning experiments. You can use the OpenAI integration with W&B to track your fine-tuning jobs in W&B. This integration will automatically log metrics, hyperparameters, and other job-related information to the W&B project you specify.

To integrate your fine-tuning jobs with W&B, you'll need to

Provide authentication credentials for your Weights and Biases account to OpenAI Configure the W&B integration when creating new fine-tuning jobs

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Authorization
string




RESPONSES

status





Curl
curl -X POST 'https://api.openai.com/v1/fine_tuning/jobs' -H 'Content-Type: application/json' -H 'Authorization: Bearer $OPENAI_API_KEY' -d '{"model":"gpt-3.5-turbo-0125","training_file":"file-ABC123","validation_file":"file-DEF456","integrations":[{"type":"wandb","wandb":{"project":"custom-wandb-project","tags":["project:tag","lineage"]}}]}'

ENDPOINTS