Tune bm25 parameters #1111
Answered
by
lintool
zixiliuUSC
asked this question in
Q&A
Tune bm25 parameters
#1111
-
I notice that you have an automatic algorithm to set b and k in bm25 algo, I wanna know do you a api to set these parameters our own? |
Beta Was this translation helpful? Give feedback.
Answered by
lintool
Apr 7, 2022
Replies: 1 comment
-
You can set the BM25 parameters programmatically as follows: Is this what you were asking about? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zixiliuUSC
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can set the BM25 parameters programmatically as follows:
https://github.com/castorini/pyserini/blob/master/docs/usage-interactive-search.md
Is this what you were asking about?