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

Stffens
/
bge-small-rrf-v1

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

Instructions to use Stffens/bge-small-rrf-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Stffens/bge-small-rrf-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Stffens/bge-small-rrf-v1")
    
    sentences = [
        "blood clots",
        "Herbal infusions as a source of calcium, magnesium, iron, zinc and copper in human nutrition.\nThe study material consisted of five herbs: chamomile (flowers), mint (leaves), St John's wort (flowers and leaves), sage (leaves) and nettle (leaves), sourced from three producers. The calcium, magnesium, iron, zinc and copper contents were determined for both dried herb samples and prepared infusions, and the extraction rates were calculated. Mineral components were determined using atomic absorption spectrometry",
        "Vegetarian diets and incidence of diabetes in the Adventist Health Study-2\nAim To evaluate the relationship of diet to incident diabetes among non-Black and Black participants in the Adventist Health Study-2. Methods and Results Participants were 15,200 men and 26,187 women (17.3% Blacks) across the U.S. and Canada who were free of diabetes and who provided demographic, anthropometric, lifestyle and dietary data. Participants were grouped as vegan, lacto ovo vegetarian, pesco vegetarian, semi-vegetarian or ",
        "Green tea: nature's defense against malignancies.\nThe current practice of introducing phytochemicals to support the immune system or fight against diseases is based on centuries old traditions. Nutritional support is a recent advancement in the domain of diet-based therapies; green tea and its constituents are one of the important components of these strategies to prevent and cure various malignancies. The anti-carcinogenic and anti-mutagenic activities of green tea were highlighted some years ago suggestin"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
bge-small-rrf-v1
268 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Stffens's picture
Stffens
Add ONNX export for FastEmbed
db1b0de verified 3 months ago
  • 1_Pooling
    BGE-small fine-tuned with RRF disagreement signal 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    22.1 kB
    BGE-small fine-tuned with RRF disagreement signal 3 months ago
  • config.json
    693 Bytes
    Add ONNX export for FastEmbed 3 months ago
  • config_sentence_transformers.json
    283 Bytes
    BGE-small fine-tuned with RRF disagreement signal 3 months ago
  • model.onnx
    133 MB
    xet
    Add ONNX export for FastEmbed 3 months ago
  • model.safetensors
    133 MB
    xet
    BGE-small fine-tuned with RRF disagreement signal 3 months ago
  • modules.json
    349 Bytes
    BGE-small fine-tuned with RRF disagreement signal 3 months ago
  • sentence_bert_config.json
    56 Bytes
    BGE-small fine-tuned with RRF disagreement signal 3 months ago
  • special_tokens_map.json
    695 Bytes
    Add ONNX export for FastEmbed 3 months ago
  • tokenizer.json
    712 kB
    BGE-small fine-tuned with RRF disagreement signal 3 months ago
  • tokenizer_config.json
    1.51 kB
    Add ONNX export for FastEmbed 3 months ago
  • vocab.txt
    232 kB
    Add ONNX export for FastEmbed 3 months ago