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

DashReza7
/
all-mpnet-base-v2_FINETUNED

Sentence Similarity
sentence-transformers
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:178829
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use DashReza7/all-mpnet-base-v2_FINETUNED with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use DashReza7/all-mpnet-base-v2_FINETUNED with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("DashReza7/all-mpnet-base-v2_FINETUNED")
    
    sentences = [
        "who was actor larry parks",
        "American stage and movie actor.e eventually did so in tears, only to be blacklisted anyway.",
        "A possum (plural form: possums) is any of about 70 small-to medium-sized arboreal marsupial species native to Australia, New Guinea, and Sulawesi (and introduced to New Zealand and China). The common brushtail possum was introduced to New Zealand by European settlers in an attempt to establish a fur industry. There are no native predators of the possum in New Zealand, so its numbers in New Zealand have risen to the point where it is considered a serious pest.",
        "A document used to change one or more minor provisions of a living trust or joint living trust as an alternative to preparing a new living trust."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
all-mpnet-base-v2_FINETUNED
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
DashReza7's picture
DashReza7
Add new SentenceTransformer model.
296e77f verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    17.4 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    613 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    711 kB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.58 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. almost 2 years ago