deepsparse icon indicating copy to clipboard operation
deepsparse copied to clipboard

Add embed_title arg to DPR

Open kylesayrs opened this issue 3 years ago • 0 comments

It was noticed that Tevatron embeds the passage title into the raw text input. This PR adds that functionality to the DeepSparseDensePassageRetriever as an argument embed_title, which allows a user to generate passage embeddings with embedded titles. This argument is also implemented in the Haystack version of this class.

kylesayrs avatar Aug 05 '22 18:08 kylesayrs