deepsparse
deepsparse copied to clipboard
Add embed_title arg to DPR
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.