Open kerkathy opened 6 months ago
Hi, thanks for the questions!
get_string_hash
method). For @1 retrieval, simply set the randomize_retrieval
and retrieve_at_10
flags as false. For @10 retrieval, set the retrieve_at_10
as true, this well cause the model to use the lower ranked retrieval result. For random retrieval, set randomize_retrieval
as true and run_output_dir
should be the dir with the retrieval result you want to randomly sample from. To run all three settings in one run, simply set settings
field to ["reg", "random", "@10"]
, and this will update those field on the flight (see lines 554-571 in run.py
). I hope this makes sense :)get_question_wiki_snippet_colbert
method. I hope the ColBERT server I was using is still available, otherwise plz let me know if there are any problems (you can always use SerpAPI, the first calls are free).serpapi.py
to see how we currently differentiate between colbert and serp, it simply requires updating the methods to call the retriever and cache the results.Thx so much for catching the typo! And plz let me know if there are still issues :)
Hello
Thank you again for your generous code release 😊 I tried to follow your instruction here, downloaded the cached data. Currently I would like to run the ColBert experiment and I'm having some stupid questions :P
"retriever"
field in config file fromserp
into sth likecolbert
?decomposition.main_retriever_dir
field in the config to be pointing to the new folder which contains my new retrieval result?p.s. just a friendly reminder of a small typo at the bottom of the page: At the end of the sentence should it be
randomize_retrieval and retrieve_at_10
instead ofrandomize_retrieval and andomize_retrieval
? _... RetRobust experiments require configuring the following fields: ... To run a single setting, use the randomize_retrieval and retrieve_at_10 fields._Tks again!