Skip to content

Commit

Permalink
Update rank_gpt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnweiwei authored Feb 24, 2024
1 parent faae2dc commit 57ecaf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rank_gpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def main():
temp_file = tempfile.NamedTemporaryFile(delete=False).name
from trec_eval import EvalFunction

EvalFunction.write_file(reranked_data, temp_file)
EvalFunction.write_file(new_results, temp_file)
EvalFunction.main(THE_TOPICS[data], temp_file)


Expand Down

0 comments on commit 57ecaf0

Please sign in to comment.