Text Classification
sentence-transformers
Safetensors
mpnet
sentence-similarity
feature-extraction
Generated from Trainer
dataset_size:991
loss:BatchAllTripletLoss
text-embeddings-inference
Instructions to use auukjkjk/poem_embedding_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use auukjkjk/poem_embedding_model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("auukjkjk/poem_embedding_model") sentences = [ "We pay to enter the dirty pen. We buy small bags of feed to feed the well-fed animals. We are guests in their home, our feet on their sawdust floor. We pretend not to notice the stench. Theirs is a predictable life. Better, I guess, than the slaughter, is the many-handed god. Me? I’m going to leave here, eat a", "Affection", "Death", "Music" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File too large to display, you can check the raw version instead.