Skip to content

Commit

Permalink
Merge pull request #19 from s-jse/patch-1
Browse files Browse the repository at this point in the history
Fix variable name in bigbench_hard.ipynb
  • Loading branch information
allenanie authored Nov 23, 2024
2 parents 29fc5ea + 685169b commit 1ed76f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/nlp/bigbench_hard.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 1ed76f7

Please sign in to comment.