Update Week 6 Day 5 Notebook to make use of WandB sync.

This commit is contained in:
Carlos Bazaga
2025-08-12 01:26:22 +02:00
parent 54cd9cb24d
commit c663379828

View File

@@ -393,6 +393,22 @@
"openai.fine_tuning.jobs.list_events(fine_tuning_job_id=job_id, limit=10).data"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "b19ea9e9",
"metadata": {},
"outputs": [],
"source": [
"import wandb\n",
"from wandb.integration.openai.fine_tuning import WandbLogger\n",
"\n",
"# Log in to Weights & Biases.\n",
"wandb.login()\n",
"# Sync the fine-tuning job with Weights & Biases.\n",
"WandbLogger.sync(fine_tune_job_id=job_id, project=\"gpt-pricer\")"
]
},
{
"cell_type": "markdown",
"id": "066fef03-8338-4526-9df3-89b649ad4f0a",