Bases: ABC
ABC
Abstract class for text embedding models.
str) -> torch.Tensor: Embeds text into a vector.
Embeds text into a vector.
text (str) – Text to embed.
A vector representation of a text.
torch.Tensor