Skip to content

Commit

Permalink
fix import error (castorini#1102)
Browse files Browse the repository at this point in the history
fix import get_topics error
  • Loading branch information
MXueguang authored Mar 31, 2022
1 parent 00bdd16 commit a7d31b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyserini/eval/convert_trec_run_to_dpr_retrieval_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
import os
from tqdm import tqdm

from pyserini.search.lucene import LuceneSearcher, get_topics
from pyserini.search import get_topics
from pyserini.search.lucene import LuceneSearcher
from pyserini.eval.evaluate_dpr_retrieval import has_answers, SimpleTokenizer

if __name__ == '__main__':
Expand Down

0 comments on commit a7d31b2

Please sign in to comment.