Skip to content

Commit

Permalink
split openai lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan McGuire authored and Morgan McGuire committed Mar 11, 2024
1 parent 00054ef commit 2555876
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions colabs/openai/Fine_tune_OpenAI_with_Weights_and_Biases.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -524,18 +524,28 @@
" validation_file=openai_valid_file_info.id\n",
")\n",
"\n",
"ft_job_id = openai_ft_job_info.id\n",
"\n",
"# Log to Weights and Biases\n",
"WandbLogger.sync(fine_tune_job_id=ft_job_id, project=WANDB_PROJECT)"
"ft_job_id = openai_ft_job_info.id"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"\n",
"> this takes around 5 minutes to train."
"> this takes around 5 minutes to train.\n",
"\n",
"### Start Weight & Biases Sync\n",
"Calling `WandbLogger.sync` will start polling OpenAI for the fine-tuning job results and log them when they are retrieved, see the [docs](https://docs.wandb.ai/guides/integrations/openai) for how to modify this behaviour"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"# Log to Weights and Biases\n",
"WandbLogger.sync(fine_tune_job_id=ft_job_id, project=WANDB_PROJECT)"
]
},
{
Expand Down

0 comments on commit 2555876

Please sign in to comment.