How to use ManishThota/QueryRouter with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ManishThota/QueryRouter") sentences = [ "Financials", "What is the financial performance of ABC?", "What companies operate in the same space as ABC?", "What standards are used to evaluate the industry?" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4]