Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 559 Bytes

File metadata and controls

17 lines (11 loc) · 559 Bytes

Benchmarking Cohere Rerankers with LanceDB

Screenshot-2024-05-06-at-6 06 30-PM

Setup

pip install -r requirements.txt

Download the desired dataset. For example, Uber10K !llamaindex-cli download-llamadataset Uber10KDataset2021 --download-dir ./data

Run the benchmark

COHERE_API_KEY=... OPENAI_API_KEY=... python main.py