错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Enhancing query relevance: leveraging SBERT and cosine similarity for optimal information retrieval

  • K. Venkatesh Sharma,
  • Pramod Reddy Ayiluri,
  • Rakesh Betala,
  • P. Jagdish Kumar,
  • K. Shirisha Reddy

摘要

Whether the information is related to a concept or a product, queries are frequently employed to find out information. Different people will use different sentences while having the same objective. In our research, we generated a sentence vector using an SBERT-based model called all-MiniLM-L6-v2, which is a MiniLM model calibrated on a sizable dataset of more than 1 billion training pairings. Then, we compute a similarity score using these vectors to determine how similar the provided query is to other queries previously stored within the database. Cosine similarity is the metric used to assess similarity in our work. From the pool of potential answers, we will choose the one that has the highest similarity score with its query.