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

  • Log In
  • Sign Up

MongoDB
/
mdbr-leaf-mt-asym

Feature Extraction
sentence-transformers
Safetensors
Transformers
English
sentence-similarity
text-embeddings-inference
information-retrieval
knowledge-distillation
Model card Files Files and versions
xet
Community

Instructions to use MongoDB/mdbr-leaf-mt-asym with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use MongoDB/mdbr-leaf-mt-asym with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("MongoDB/mdbr-leaf-mt-asym")
    
    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]
  • Transformers

    How to use MongoDB/mdbr-leaf-mt-asym with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="MongoDB/mdbr-leaf-mt-asym")
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("MongoDB/mdbr-leaf-mt-asym", dtype="auto")
  • Notebooks
  • Google Colab
  • Kaggle
mdbr-leaf-mt-asym / document_0_Transformer
1.34 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
rvo's picture
rvo
Upload 25 files
01aaa98 verified 8 months ago
  • config.json
    614 Bytes
    Upload 25 files 8 months ago
  • model.safetensors
    1.34 GB
    xet
    Upload 25 files 8 months ago
  • sentence_bert_config.json
    119 Bytes
    Upload 25 files 8 months ago
  • special_tokens_map.json
    695 Bytes
    Upload 25 files 8 months ago
  • tokenizer.json
    712 kB
    Upload 25 files 8 months ago
  • tokenizer_config.json
    1.27 kB
    Upload 25 files 8 months ago
  • vocab.txt
    232 kB
    Upload 25 files 8 months ago