A free, open-source, and offline research engine based on BM25
and BERT
models.
Built using PyTorch
and PyQt6
.
If you want to download the complete project, please click the link below:
Note that you can only input queries listed in /data/sample_data/sample_queries.tsv
.Because the complete dataset is too large, only test dataset was provided
If you only want to run the UI, you don't need to download /data/train/top100_train.csv
.
First, install the Python dependencies:
conda create -n BRAINBYTE_SEARCH_ENGINE python==3.9
conda activate BRAINBYTE_SEARCH_ENGINE
pip install -r environment.txt
Setting the PYTHONPATH
environment variable after activating your environment allows Python to find and import modules from directories not installed in the standard library or virtual environment paths.
export PYTHONPATH="${PYTHONPATH}:/path/to/your/module"
set PYTHONPATH=%PYTHONPATH%;C:\path\to\your\module
python search_enging_UI.py