Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

basinfy
/
BasinRAG

Sentence Similarity
sentence-transformers
feature-extraction
mteb
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use basinfy/BasinRAG with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use basinfy/BasinRAG with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("basinfy/BasinRAG")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
BasinRAG
3.93 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
snailspro's picture
snailspro
Update README.md
71e7915 verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    2.41 kB
    Update README.md 3 months ago