Sentence Similarity
PEFT
Safetensors
English
text-embedding
embeddings
information-retrieval
beir
text-classification
language-model
text-clustering
text-semantic-similarity
text-evaluation
text-reranking
feature-extraction
Sentence Similarity
natural_questions
ms_marco
fever
hotpot_qa
mteb
Eval Results
Update README.md
Browse files
README.md
CHANGED
@@ -55,8 +55,11 @@ q_reps_norm = torch.nn.functional.normalize(q_reps, p=2, dim=1)
|
|
55 |
d_reps_norm = torch.nn.functional.normalize(d_reps, p=2, dim=1)
|
56 |
cos_sim = torch.mm(q_reps_norm, d_reps_norm.transpose(0, 1))
|
57 |
|
58 |
-
print(cos_sim
|
59 |
-
|
|
|
|
|
|
|
60 |
```
|
61 |
|
62 |
## Questions
|
|
|
55 |
d_reps_norm = torch.nn.functional.normalize(d_reps, p=2, dim=1)
|
56 |
cos_sim = torch.mm(q_reps_norm, d_reps_norm.transpose(0, 1))
|
57 |
|
58 |
+
print(cos_sim)
|
59 |
+
"""
|
60 |
+
tensor([[0.5486, 0.0554],
|
61 |
+
[0.0567, 0.5437]])
|
62 |
+
"""
|
63 |
```
|
64 |
|
65 |
## Questions
|