For symmetric semantic search your query and the entries in your corpus are of about the same length and have the same amount of content. An example would be searching for similar questions: Your query could for example be “How to learn Python online?” and you want to find an entry like “How to learn Python on the web?”. For symmetric tasks, you could potentially flip the query and the entries in your corpus.
For asymmetric semantic search, you usually have a short query (like a question or some keywords) and you want to find a longer paragraph answering the query. An example would be a query like “What is Python” and you wand to find the paragraph “Python is an interpreted, high-level and general-purpose programming language. Python’s design philosophy …”. For asymmetric tasks, flipping the query and the entries in your corpus usually does not make sense.
reference:https://www.sbert.net/examples/applications/semantic-search/README.html
本文探讨了对称和非对称语义搜索的区别。对称搜索适用于查询与语料库条目长度相近的情况,例如寻找相似问题;而非对称搜索则用于短查询匹配长段落的情形,如问题与答案的配对。
2万+

被折叠的 条评论
为什么被折叠?



