Skip to content

Commit

Permalink
Filtering out answers not present in data does not happen (run-llama#…
Browse files Browse the repository at this point in the history
  • Loading branch information
seldo authored Oct 2, 2023
1 parent 17f905e commit 4f1ac38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@
" )\n",
"\n",
" print(f\"[{idx}] QA Pair: {qa_pair} \\n Eval: {eval}\")\n",
" if \"NO\" in eval:\n",
" if \"NO\" in str(eval):\n",
" continue\n",
" else:\n",
" # new_lines.append(line)\n",
Expand Down

0 comments on commit 4f1ac38

Please sign in to comment.