Please refer to the steps in the elasticsearch repository to run BM25 for document retrieval. We provide our results in the data/bm25_test directory.
You can run the following example command to retrieve sentences from the documents:
PYTHONPATH=src python scripts/run_sentence_retrieval.py \
--data_dir data/bm25 \
--stage_1_doc_n 10
To perform claim verification, please run the following example command:
PYTHONPATH=src python scripts/run_claim_verification.py \
--data_dir data/bm25_test \
--sent_exp_name sent_chinese-bert-wwm-ext