- Python 3.9 or above
- PiP 23.3 or above
- Because we are downloading and using a lot of data from huggingface, you need to create a .env file and add you huggingface token, otherwise downloading the required models and datasets might fail.
HF_TOKEN="<your_huggingface_token>" - To run the benchmark, select the task you want to run, e.g.
clustering_benchmarks.ipynband run all cells. - Display the results and create all associated plots by running the plot notebook, e.g.
clustering_plots.ipynb. The available task and plots are:Task Plot clustering_benchmarks.ipynbclustering_plots.ipynbclustering_benchmarks_cutoff.ipynbclustering_plots_cutoff.ipynbretrieval_benchmark_cqa.ipynbretrieval_plots.ipynbretrieval_benchmark_nqa_chunking.ipynbretrieval_plots.ipynbretrieval_benchmark_nqa_seq.ipynbretrieval_plots.ipynbsts_benchmarks.ipynbsts_plots.ipynb