Sentence Similarity
sentence-transformers
Safetensors
Latin
bert
intertextuality
latin
text-embeddings-inference
Instructions to use julian-schelb/multilingual-e5-small-emb-lat-intertext-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use julian-schelb/multilingual-e5-small-emb-lat-intertext-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("julian-schelb/multilingual-e5-small-emb-lat-intertext-v2") sentences = [ "omnia fert aetas, animum quoque; saepe ego longos cantando puerum memini me condere soles.", "saepe ego longos cantando puerum memini me condere soles.", "Gallia est omnis divisa in partes tres", "in nova fert animus mutatas dicere formas" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!