cdQA icon indicating copy to clipboard operation
cdQA copied to clipboard

Make code more flexible & publish interfaces to be able to implement your own components

Open alex-movila opened this issue 4 years ago • 1 comments

Make the code more modular to be able to implement your own reader , retriever etc. Document the interfaces.

alex-movila avatar Jul 19 '19 07:07 alex-movila

We were actually discussing about this idea with @andrelmfarias a few days ago :-)

It would be great to be able to define a cdQA pipeline like this:

QAPipeline(retriever='BM25', reader='XLNet')

where the reader and retriever would be class objects with a pre-defined convention, like the sklearn BaseEstimator.

fmikaelian avatar Jul 19 '19 07:07 fmikaelian