Skip to content

Examples and guides for using the OpenAI API

Fix titles for wandb notebooks (#778)

Simón Fishmane3d68f8843f3
diff --git a/examples/third_party_examples/GPT_finetuning_with_wandb.ipynb b/examples/third_party_examples/GPT_finetuning_with_wandb.ipynb
index 8f0e82a5..3a305118 100644
--- a/examples/third_party_examples/GPT_finetuning_with_wandb.ipynb
+++ b/examples/third_party_examples/GPT_finetuning_with_wandb.ipynb
@@ -1,22 +1,24 @@
{
"cells": [
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "vi2LlIiMU2dp"
},
"source": [
+ "# Fine-tune ChatGPT-3.5 and GPT-4 with Weights & Biases\n",
+ "\n",
"<img src=\"https://wandb.me/logo-im-png\" width=\"400\" alt=\"Weights & Biases\" />\n",
"<!--- @wandbcode{openai-finetune-gpt35} -->\n",
"\n",
- "# Fine-tune ChatGPT-3.5 and GPT-4 with Weights & Biases\n",
- "\n",
"<a href=\"https://colab.research.google.com/github/wandb/examples/blob/master/colabs/openai/Fine_tune_GPT_3_with_Weights_&_Biases.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>\n",
"\n",
"**Note:** you will need an [OpenAI API key](https://platform.openai.com/account/api-keys) to run this colab."
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "OKB1NaA3U2dp"
@@ -54,6 +56,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "STVFg2SMU2dq"
@@ -67,6 +70,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "0G1keRuTU2dq"
@@ -99,6 +103,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "X7h1WmYRU2dr"
@@ -119,6 +124,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "AKc9uwv_U2dr"
@@ -142,6 +148,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "YQhM025QU2dr"
@@ -181,6 +188,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "JPDSyx9AU2ds"
@@ -223,6 +231,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "VSUkLGT0U2ds"
@@ -244,6 +253,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "jJFhwJjXU2ds"
@@ -309,6 +319,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "2Ul1lOV8U2dt"
@@ -341,6 +352,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "C58GZECzU2dt"
@@ -495,6 +507,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "wmC69bJkU2dt"
@@ -552,6 +565,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "C83jxUI9U2dt"
@@ -703,6 +717,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "hD2g6q3GU2dt"
@@ -712,6 +727,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "4MlVEQTaU2du"
@@ -834,6 +850,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "Dh86AmJuU2du"
@@ -881,6 +898,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "woiHI6KoU2du"
@@ -890,6 +908,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "YvP8ZGqWU2du"
@@ -958,6 +977,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "dP68_bGSU2du"
@@ -968,6 +988,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "f-X8R7ILU2du"
@@ -1006,6 +1027,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "59RBnpywU2du"
@@ -1100,6 +1122,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "Q31LUKh3U2dv"
@@ -1109,6 +1132,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "hCvmrDWMU2dv"
@@ -1118,6 +1142,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "ehXJW997U2dv"
@@ -1163,6 +1188,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "cfnhSQY1U2dv"
@@ -1303,6 +1329,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "eashAVIvU2dv"
@@ -1316,6 +1343,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "xfX_af2EU2dz"
@@ -1325,6 +1353,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "9tvlkGoOU2dz"
@@ -1428,6 +1457,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "ZFUUHVMFU2d0"
@@ -1451,6 +1481,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "9PB5SJrJU2d0"
@@ -1485,6 +1516,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "0ncxuaqBU2d0"
@@ -1541,6 +1573,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "2BKojUKMU2d0"
@@ -1580,6 +1613,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "MtlZPVG2U2d0"
@@ -1635,6 +1669,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "i98CsZJ1U2d1"
@@ -1764,6 +1799,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "A9nh4b15U2d1"
@@ -1775,6 +1811,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"metadata": {
"id": "aVtXGnB_U2d1"
diff --git a/examples/third_party_examples/Openai_monitoring_with_wandb_weave.ipynb b/examples/third_party_examples/Openai_monitoring_with_wandb_weave.ipynb
index 947c0cb6..c8850aed 100644
--- a/examples/third_party_examples/Openai_monitoring_with_wandb_weave.ipynb
+++ b/examples/third_party_examples/Openai_monitoring_with_wandb_weave.ipynb
@@ -1,16 +1,18 @@
{
"cells": [
{
+ "attachments": {},
"cell_type": "markdown",
"id": "30ccfdbc",
"metadata": {
"id": "30ccfdbc"
},
"source": [
+ "# OpenAI API Monitoring with W&B Weave\n",
+ "\n",
"<img src=\"http://wandb.me/logo-im-png\" width=\"400\" alt=\"Weights & Biases\" />\n",
- "<!--- @wandbcode{weave_openai_client_qs} -->\n",
"\n",
- "# OpenAI API Monitoring with W&B Weave\n",
+ "<!--- @wandbcode{weave_openai_client_qs} -->\n",
"\n",
"<a target=\"_blank\" href=\"https://colab.research.google.com/github/wandb/weave/blob/master/examples/prompts/llm_monitoring/openai_client_quickstart.ipynb\">\n",
" <img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/>\n",
@@ -96,6 +98,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"id": "32e91f9c-0640-4346-8c4a-e5f35256afe6",
"metadata": {
@@ -122,6 +125,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"id": "26402897-4f73-4dd6-9314-2a1c60638e4d",
"metadata": {
@@ -156,6 +160,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"id": "fb51abb4",
"metadata": {
@@ -206,6 +211,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"id": "4ace8f71-3e50-444b-89e0-a8a619a9e0a8",
"metadata": {
@@ -245,6 +251,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"id": "450dc210-3526-4f6e-a05a-df15ebf8d398",
"metadata": {
@@ -275,6 +282,7 @@
]
},
{
+ "attachments": {},
"cell_type": "markdown",
"id": "81945b3c-310e-404b-aea7-a47c6760db2e",
"metadata": {