Sophia Koehler commited on
Commit
0445d0e
·
1 Parent(s): f8caea0

use best_b, best_k1

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -192,8 +192,8 @@ class BM25Index(InvertedIndex):
192
  output_dir: Optional[str] = None,
193
  ndocs: Optional[int] = None,
194
  show_progress_bar: bool = True,
195
- k1: float = 0.9,
196
- b: float = 0.4,
197
  ) -> BM25Index:
198
  # Counting TFs, DFs, doc_lengths, etc.:
199
  counting = run_counting(
 
192
  output_dir: Optional[str] = None,
193
  ndocs: Optional[int] = None,
194
  show_progress_bar: bool = True,
195
+ k1: float = 0.8,
196
+ b: float = 0.6,
197
  ) -> BM25Index:
198
  # Counting TFs, DFs, doc_lengths, etc.:
199
  counting = run_counting(