Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

Smxldo
/
MNLP_M3_document_encoder

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use Smxldo/MNLP_M3_document_encoder with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Smxldo/MNLP_M3_document_encoder")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Notebooks
  • Google Colab
  • Kaggle
MNLP_M3_document_encoder / 2_Dense
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Smxldo's picture
Smxldo
Upload folder using huggingface_hub
fc46c9d verified 11 months ago
  • config.json
    114 Bytes
    Upload folder using huggingface_hub 11 months ago
  • model.safetensors
    2.36 MB
    xet
    Upload folder using huggingface_hub 11 months ago