retrieval_importance
Installation for development
- Requires Python 3.9 and Rust to be available
- Clone the repository:
git clone git@github.com:schelterlabs/retrieval_importance.git
- Change to the project directory:
cd retrieval_importance
- Create a virtualenv:
python3.9 -m venv venv
- Activate the virtualenv
source venv/bin/activate
- Install the dev dependencies with
pip install -r requirements-dev.txt
- Build the project
maturin develop --release
- Optional steps:
- Run the tests with
cargo test --release
- Run the benchmarks with
cargo bench
- Run the Python tests
python -m pytest
- Start jupyter with
jupyter notebook
and run the example notebooks
- Run the tests with