sentence-similarity
HF alias — see
text-to-embedding.
The HF “sentence similarity” task is just “embed two sentences
and compute cosine distance” — pure usage of
text-to-embedding. No separate model class or infrastructure.
For more accurate but slower scoring, see
text-ranking (cross-encoder rerankers).