kwang2049 commited on
Commit
1e0b033
1 Parent(s): 5e691c3
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -8,6 +8,8 @@ bm25_index = BM25Index.build_from_documents(
8
  documents=iter(sciq.corpus),
9
  ndocs=12160,
10
  show_progress_bar=True,
 
 
11
  )
12
  bm25_index.save("output/bm25_sciq_index")
13
  bm25_retriever = BM25Retriever(index_dir="output/bm25_sciq_index")
 
8
  documents=iter(sciq.corpus),
9
  ndocs=12160,
10
  show_progress_bar=True,
11
+ k1=0.8, # Tuned on dev wrt. MAP@10
12
+ b=0.6, # Tuned on dev wrt. MAP@10
13
  )
14
  bm25_index.save("output/bm25_sciq_index")
15
  bm25_retriever = BM25Retriever(index_dir="output/bm25_sciq_index")