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

Kalaoke
/
embeddings_dense_model

Sentence Similarity
sentence-transformers
PyTorch
distilbert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use Kalaoke/embeddings_dense_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Kalaoke/embeddings_dense_model with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Kalaoke/embeddings_dense_model")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
embeddings_dense_model / 2_Asym
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
c49137f verified 9 months ago
  • 139634109667600_Dense
    Adding `safetensors` variant of this model 9 months ago
  • 139634109708112_Dense
    Adding `safetensors` variant of this model 9 months ago
  • config.json
    329 Bytes
    Add new SentenceTransformer model. over 4 years ago