Skip to content

Commit e809dc2

Browse files
committed
typos
1 parent a4bbcd7 commit e809dc2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/evaluation/use-cases/EvalsAPI_Audio_Inputs.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"\n",
99
"This cookbook demonstrates how to use OpenAI's Evals framework for audio-based tasks. Leveraging the Evals API, we will grade model-generated responses to an audio message and prompt by using **sampling** to generate model responses and **string match grading** to score the model responses against the output audio transcript and reference answer. Note that grading will be on text outputs from the sampled response. Graders that can grade audio input are not currently supported.\n",
1010
"\n",
11-
"Before audio support was added, in order to evaluate audio conversations, they needed to be first transcribed to text. Now you can use the original audio and get samples from the model in audio as well. This will more accurately repesent workflows such as a customer suppor agent where both the user and agent are using aduio. For grading, we use the text transcript from the sampled audio so that we can leverage the existig suite of text graders. \n",
11+
"Before audio support was added, in order to evaluate audio conversations, they needed to be first transcribed to text. Now you can use the original audio and get samples from the model in audio as well. This will more accurately represent workflows such as a customer support agent where both the user and agent are using audio. For grading, we use the text transcript from the sampled audio so that we can leverage the existing suite of text graders. \n",
1212
"\n",
1313
"In this example, we will evaluate how well our model can:\n",
1414
"1. **Generate appropriate responses** to user prompts about an audio message\n",
@@ -57,7 +57,7 @@
5757
"source": [
5858
"## Dataset Preparation\n",
5959
"\n",
60-
"We use the [big_bench_audio](https://huggingface.co/datasets/ArtificialAnalysis/big_bench_audio) dataset that's hosted on Hugging Face. Big Bench Audio is an audio version of a subset of Big Bench Hard questions. The dataset can be used for evaluating the reasoning capabilities of models that support audio input. It contains an audio clip describing a logic problem, a category and an offical answer."
60+
"We use the [big_bench_audio](https://huggingface.co/datasets/ArtificialAnalysis/big_bench_audio) dataset that's hosted on Hugging Face. Big Bench Audio is an audio version of a subset of Big Bench Hard questions. The dataset can be used for evaluating the reasoning capabilities of models that support audio input. It contains an audio clip describing a logic problem, a category and an official answer."
6161
]
6262
},
6363
{
@@ -206,7 +206,7 @@
206206
"outputs": [],
207207
"source": [
208208
"client = OpenAI(\n",
209-
" api_key=os.getenv(\"OPENAI_API_KEY_DISTILLATION\")\n",
209+
" api_key=os.getenv(\"OPENAI_API_KEY\")\n",
210210
")"
211211
]
212212
},
@@ -479,7 +479,7 @@
479479
"source": [
480480
"## Conclusion\n",
481481
"\n",
482-
"In this cookbook, we covered a workflow for evaluating native audio inputs to a model using the OpenAI Evals API's. We demonstrated using a simple text grader to grade the text transcript of the audio response.\n",
482+
"In this cookbook, we covered a workflow for evaluating native audio inputs to a model using the OpenAI Evals APIs. We demonstrated using a simple text grader to grade the text transcript of the audio response.\n",
483483
"### Next steps\n",
484484
"- Convert this example to your use case. \n",
485485
"- Try using model based graders for additional flexibility in grading.\n",

0 commit comments

Comments
 (0)