model = SentenceTransformer('distilroberta-base-msmarco-v1')
query_embedding = model.encode('[QRY] ' + 'How big is London')
passage_embedding = model.encode('[DOC] ' + 'London has 9,787,426 inhabitants at the 2011 census')
print("Similarity:", util.pytorch_cos_sim(query_embedding, passage_embedding))
```
Models:
- distilroberta-base-msmarco-v1 - Performance MSMARCO dev dataset (queries.dev.small.tsv) MRR@10: 23.28
