Closed fabiopetroni closed 3 years ago
A bit of refactoring for retrieval.
Retriever
kilt.retrievers.base_retriever.py
execute_retrieval.py
script
Unfortunately the dpr connector is broken given the updates in its repository --- maybe @ola13 you can have a look at it.
dpr
Ideally it should work with:
python scripts/execute_retrieval.py -m dpr -c kilt/configs/retriever/default_dpr.json -o predictions/dpr/
A bit of refactoring for retrieval.
Retriever
abstract class has two main methods to extend: (1) fed_data and (2) run, both documented inkilt.retrievers.base_retriever.py
execute_retrieval.py
script, in the README in thescript
folderUnfortunately the
dpr
connector is broken given the updates in its repository --- maybe @ola13 you can have a look at it.Ideally it should work with: