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

tomaarsen
/
mpnet-base-nq-cgist-triplet-neg-gte

Sentence Similarity
sentence-transformers
Safetensors
English
mpnet
feature-extraction
Generated from Trainer
dataset_size:50000
loss:CachedGISTEmbedLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use tomaarsen/mpnet-base-nq-cgist-triplet-neg-gte with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use tomaarsen/mpnet-base-nq-cgist-triplet-neg-gte with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("tomaarsen/mpnet-base-nq-cgist-triplet-neg-gte")
    
    sentences = [
        "what does the accounts receivable turnover measure?",
        "The accounts receivable turnover ratio is an accounting measure used to quantify a company's effectiveness in collecting its receivables or money owed by clients. The ratio shows how well a company uses and manages the credit it extends to customers and how quickly that short-term debt is collected or is paid.",
        "Capital budgeting, and investment appraisal, is the planning process used to determine whether an organization's long term investments such as new machinery, replacement of machinery, new plants, new products, and research development projects are worth the funding of cash through the firm's capitalization structure ( ...",
        "The accounts receivable turnover ratio is an accounting measure used to quantify a company's effectiveness in collecting its receivables or money owed by clients. The ratio shows how well a company uses and manages the credit it extends to customers and how quickly that short-term debt is collected or is paid."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
mpnet-base-nq-cgist-triplet-neg-gte
1.52 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
tomaarsen's picture
tomaarsen HF Staff
initial commit
fa2052a verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago