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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

DigitalAsocial
/
all-mpnet-base-v2-ds-rag-17s

Sentence Similarity
sentence-transformers
Safetensors
English
Machine-Learning
Data-Science
feature-extraction
dense
Generated from Trainer
dataset_size:127058
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use DigitalAsocial/all-mpnet-base-v2-ds-rag-17s with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use DigitalAsocial/all-mpnet-base-v2-ds-rag-17s with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("DigitalAsocial/all-mpnet-base-v2-ds-rag-17s")
    
    sentences = [
        "Is this an invertible time series? c. What is the mean of the time series?",
        "Is this a stationary time series process?",
        "We can consider each conditional p(x i |pa i ) to be a factor φ i (x i , pa i ) so that we obtain the Gibbs distribution p(x) = i φ i (x i |pa i ).",
        "The difference is that in the case of momentum previous weight changes are remembered, whereas here previous gradient vectors are remembered."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
all-mpnet-base-v2-ds-rag-17s
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 6 commits
DigitalAsocial's picture
DigitalAsocial
Update README.md
1f36a3f verified 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    22.3 kB
    Update README.md 6 months ago
  • config.json
    568 Bytes
    Upload 10 files 6 months ago
  • config_sentence_transformers.json
    296 Bytes
    Upload 10 files 6 months ago
  • model.safetensors
    438 MB
    xet
    Upload 10 files 6 months ago
  • modules.json
    368 Bytes
    Upload 10 files 6 months ago
  • sentence_bert_config.json
    60 Bytes
    Upload 10 files 6 months ago
  • special_tokens_map.json
    1.02 kB
    Upload 10 files 6 months ago
  • tokenizer.json
    711 kB
    Upload 10 files 6 months ago
  • tokenizer_config.json
    1.69 kB
    Upload 10 files 6 months ago
  • vocab.txt
    232 kB
    Upload 10 files 6 months ago