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
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tomaarsen's picture
tomaarsen HF Staff
Add new SentenceTransformer model
89dbcf8 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
    56 kB
    Add new SentenceTransformer model almost 2 years ago
  • config.json
    618 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • config_sentence_transformers.json
    219 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model almost 2 years ago
  • modules.json
    242 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • sentence_bert_config.json
    56 Bytes
    Add new SentenceTransformer model almost 2 years ago
  • special_tokens_map.json
    1.01 kB
    Add new SentenceTransformer model almost 2 years ago
  • tokenizer.json
    711 kB
    Add new SentenceTransformer model almost 2 years ago
  • tokenizer_config.json
    1.46 kB
    Add new SentenceTransformer model almost 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model almost 2 years ago