bm25_pt
minimal pytorch implementation of bm25 (with sparse tensors)
File Explorer
Download Latest Version (.zip)- test.yml
- __init__.py
- bm25.py
- basic_test.py
- real_test.py
- scrolls_test_corpus.p
- scrolls_test_queries.p
- .gitignore
- LICENSE.txt
- README.md
- requirements.txt
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/jxmorris12/bm25_pt
Downloads the entire project code from GitHub to your computer.
cd bm25_pt
Moves into the project folder you just downloaded.
2. Official Install Script
Easy RecommendedPrerequisites
- Python 3 Python is required to use pip.
pip install bm25_pt
Installs the package published on PyPI directly โ no need to clone the source.
After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.
Pulled directly from this repo's README.
3. Python
EasyPrerequisites
pip install bm25_pt
Installs the package published on PyPI directly โ no need to clone the source.
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
