facebookresearch / KILT

Library for Knowledge Intensive Language Tasks
MIT License
918 stars 91 forks source link

Error while running bm25 predictions #67

Open abkds opened 1 year ago

abkds commented 1 year ago

FileNotFoundError: [Errno 2] No such file or directory: '\\kilt\\kilt\\configs\\retriever\\default_bm25.json'

In the retrieval configs there is no default file for bm25. Can you guys add that? Thanks

fzp0424 commented 1 year ago

FileNotFoundError: [Errno 2] No such file or directory: '\\kilt\\kilt\\configs\\retriever\\default_bm25.json'

In the retrieval configs there is no default file for bm25. Can you guys add that? Thanks

same

WeiShi-9 commented 1 year ago

I can run bm25 retrieval by this config(just create a new file and put the code in it): { "index":xxx/pyserini/indexes/kilt_passage", "k":100, "num_threads":8} To get the index for bm25 retrieval, you can follow the instructions in https://github.com/castorini/pyserini/blob/master/docs/usage-index.md#building-a-bm25-index-direct-java-implementation

raphael-sch commented 1 year ago

Can you please provide the command that you use to create the index for the kilt_knowledgesource.json?

WeiShi-9 commented 1 year ago

你好,我已经收到您的邮件~