Skip to content

Commit

Permalink
fix another bug in bbh example
Browse files Browse the repository at this point in the history
  • Loading branch information
allenanie committed Aug 22, 2024
1 parent 94a1352 commit a5065d8
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 @@ -150,7 +150,7 @@
" super().__init__()\n",
"\n",
" self.demos = []\n",
" self.prompt_template = dedent(\n",
" prompt_template = dedent(\n",
" \"\"\"\n",
" Given the fields `question`, produce the fields `answer`.\n",
"\n",
Expand All @@ -166,7 +166,7 @@
" Answer:\n",
" \"\"\"\n",
" )\n",
" self.prompt_template = ParameterNode(self.prompt_template, trainable=True,\n",
" self.prompt_template = ParameterNode(prompt_template, trainable=True,\n",
" description=\"This is the Prompt Template to the LLM. \" + \\\n",
" \"Need to include information about what the format of answers LLM should output. \" + \\\n",
" \"They can be (A)/(B), a number like 8, or a string, or Yes/No.\")\n",
Expand Down

0 comments on commit a5065d8

Please sign in to comment.