Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
riship committed Jan 10, 2025
1 parent b0075cd commit 0716668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/llm/hotpot_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@
precisions.append(num_relevant_out_of_retrieved /
len(retrieved_triples))
approx_precision = sum(precisions) / len(precisions)
print("approx_precision =", approx_precision)
print("approx_precision =", round(approx_precision * 100.0, 2))

0 comments on commit 0716668

Please sign in to comment.