DuyTa's picture
Upload folder using huggingface_hub
74b1bac verified

BM25S tests

Welcome to the test suite for BM25S! This test suite is designed to test the BM25S implementation in the bm25s package.

Quick tests

To run the quick tests, simply run the following command:

python -m unittest tests/quick/*.py

Full tests

To run the full tests, simply run the following command:

python -m unittest tests/full/*.py

Artifacts

By default, the artifacts are stored in the ./artifacts directory. This directory is created if it does not exist. To specify the directory, you can set the BM25_ARTIFACTS_DIR environment variable:

export BM25_ARTIFACTS_DIR=/path/to/artifacts