From 685169b8060164735a972a5126810f553a6e6bbf Mon Sep 17 00:00:00 2001 From: Sina Semnani <60150701+s-jse@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:05:36 -0800 Subject: [PATCH] Fix variable name in bigbench_hard.ipynb --- docs/examples/nlp/bigbench_hard.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/nlp/bigbench_hard.ipynb b/docs/examples/nlp/bigbench_hard.ipynb index 7417558..01147b1 100644 --- a/docs/examples/nlp/bigbench_hard.ipynb +++ b/docs/examples/nlp/bigbench_hard.ipynb @@ -794,8 +794,8 @@ ], "source": [ "task = \"sports_understanding\"\n", - "train = load_dataset(\"maveriq/bigbenchhard\", task)[\"train\"]\n", - "examples = [{\"question\": r[\"input\"], \"answer\": r[\"target\"]} for r in train]\n", + "train_set = load_dataset(\"maveriq/bigbenchhard\", task)[\"train\"]\n", + "examples = [{\"question\": r[\"input\"], \"answer\": r[\"target\"]} for r in train_set]\n", "\n", "dp = Predict()\n", "optimizer = OptoPrime(dp.parameters(),\n",