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

brka-ot
/
all-mpnet-base-v2-feature-extraction

Feature Extraction
sentence-transformers
PyTorch
English
mpnet
sentence-similarity
text-embeddings-inference
Model card Files Files and versions
xet
Community
1

Instructions to use brka-ot/all-mpnet-base-v2-feature-extraction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use brka-ot/all-mpnet-base-v2-feature-extraction with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("brka-ot/all-mpnet-base-v2-feature-extraction")
    
    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
all-mpnet-base-v2-feature-extraction
439 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
brkahf's picture
brkahf
complete merge
3c648a8 over 2 years ago
  • 1_Pooling
    init project and add readme over 2 years ago
  • .gitattributes
    1.18 kB
    init project and add readme over 2 years ago
  • README.md
    15.2 kB
    init project and add readme over 2 years ago
  • config.json
    571 Bytes
    init project and add readme over 2 years ago
  • config_sentence_transformers.json
    116 Bytes
    init project and add readme over 2 years ago
  • data_config.json
    39.3 kB
    init project and add readme over 2 years ago
  • modules.json
    349 Bytes
    init project and add readme over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    438 MB
    xet
    init project and add readme over 2 years ago
  • sentence_bert_config.json
    53 Bytes
    init project and add readme over 2 years ago
  • special_tokens_map.json
    239 Bytes
    init project and add readme over 2 years ago
  • tokenizer.json
    466 kB
    init project and add readme over 2 years ago
  • tokenizer_config.json
    363 Bytes
    init project and add readme over 2 years ago
  • train_script.py
    13.1 kB
    init project and add readme over 2 years ago
  • vocab.txt
    232 kB
    init project and add readme over 2 years ago