- Download BEIR datasets from their project
- We also provide example code (download_data.py)
- Download QG checkpoints checkpoints from Ali Cloud
- Download ContrastQG checkpoints checkpoints from Ali Cloud
- Put checkpoints in the
checkpoints
folder
cd ContrastQG
run
bash qg_inference.sh
or
bash cqg_inference.sh