Skip to content

Latest commit

 

History

History

cohere-reranker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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