passage_embed() has been removed. Is it recommended to prepend ourselves before embedding?
SimonCW opened this issue · 2 comments
SimonCW commented
Anush008 commented
Hi Simon.
Since prefixes like these are specific to the models, it makes sense for users to attach those themselves.
SimonCW commented
Ok, got you! Thanks for the quick reply! For others new to this: You'll see whether the models expects the passage and query parameters on the huggingface model card, e.g. https://huggingface.co/intfloat/multilingual-e5-small