Closed ayush-1506 closed 2 weeks ago
The problem is its BM25 Okapi, and not BM250 kapi. If you use an O
instead of a 0
, it should work.
Ahh, my bad. Thanks for that. Closing the issue.
Importing it as said above "from rank_bm25 import BM25Okapi" and still not working.
I just created a fresh environment, installed rank_bm25
from pip, and ran from rank_bm25 import BM25Okapi
without any issues.
Could you describe the steps you took (ie make a minimum reproducible example), and also share the error the was given when you tried importing?