Do I need to add the prefix "query: " and "passage: " to input texts?

#35
by zaobao - opened

As the query prefix of 'bge-large-zh-v1.5' is "为这个句子生成表示以用于检索相关文章:", should I add the same prefix to queries with this model ?

Beijing Academy of Artificial Intelligence org

No. bge-m3 doesn't need prefix instruction.

So the model supports both query-to-query and query-to-answer-retrieval without any prefixes or instructions. Did I get it right ?

Beijing Academy of Artificial Intelligence org

So the model supports both query-to-query and query-to-answer-retrieval without any prefixes or instructions. Did I get it right ?

Yes, it supports both query-to-query and query-to-answer-retrieval.

So the model supports both query-to-query and query-to-answer-retrieval without any prefixes or instructions. Did I get it right ?

Yes, it supports both query-to-query and query-to-answer-retrieval.

Does it need normalizing embeddings?

So the model supports both query-to-query and query-to-answer-retrieval without any prefixes or instructions. Did I get it right ?

Yes, it supports both query-to-query and query-to-answer-retrieval.

Does it need normalizing embeddings?

By default, bge-m3 embeddings are normalized (ref)

Sign up or log in to comment