Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

auukjkjk
/
poem_embedding_model

Text Classification
sentence-transformers
Safetensors
mpnet
sentence-similarity
feature-extraction
Generated from Trainer
dataset_size:991
loss:BatchAllTripletLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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
poem_embedding_model
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
auukjkjk's picture
auukjkjk
Update README.md
1baafef verified 2 days ago
  • 1_Pooling
    Add new SentenceTransformer model 2 days ago
  • .gitattributes
    1.52 kB
    initial commit 2 days ago
  • README.md
    14.4 kB
    Update README.md 2 days ago
  • config.json
    600 Bytes
    Add new SentenceTransformer model 2 days ago
  • config_sentence_transformers.json
    295 Bytes
    Add new SentenceTransformer model 2 days ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model 2 days ago
  • modules.json
    448 Bytes
    Add new SentenceTransformer model 2 days ago
  • sentence_bert_config.json
    250 Bytes
    Add new SentenceTransformer model 2 days ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model 2 days ago
  • tokenizer_config.json
    608 Bytes
    Add new SentenceTransformer model 2 days ago