Skip to content

Commit

Permalink
Update diverse.ipynb
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
RainRat committed Apr 30, 2024
1 parent c8b61d6 commit 87f9acf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/diverse/diverse.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
" answers = re.findall(r\"Answer:?(.*?)#\", item.replace(\"\\n\", \" \"))\n",
" questions = re.findall(r\"Question:?(.*?) Answer:\", item.replace(\"\\n\", \" \"))\n",
"\n",
" # The last question does not contain an aswer so we drop it every time.\n",
" # The last question does not contain an answer so we drop it every time.\n",
" if len(answers) < len(questions):\n",
" questions.pop(-1)\n",
"\n",
Expand Down

0 comments on commit 87f9acf

Please sign in to comment.