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

smikulas
/
optml-rag-retriever-sgd

Sentence Similarity
sentence-transformers
Safetensors
Transformers
English
bert
feature-extraction
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use smikulas/optml-rag-retriever-sgd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use smikulas/optml-rag-retriever-sgd with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("smikulas/optml-rag-retriever-sgd")
    
    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]
  • Transformers

    How to use smikulas/optml-rag-retriever-sgd with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("smikulas/optml-rag-retriever-sgd")
    model = AutoModel.from_pretrained("smikulas/optml-rag-retriever-sgd")
  • Notebooks
  • Google Colab
  • Kaggle

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

Gated model
You can list files but not access them

Preview of files found in this repository
  • 1_Pooling
    Upload fine-tuned retriever checkpoint about 2 months ago
  • .DS_Store
    6.15 kB
    Upload fine-tuned retriever checkpoint about 2 months ago
  • .gitattributes
    1.52 kB
    initial commit about 2 months ago
  • README.md
    10.5 kB
    Upload fine-tuned retriever checkpoint about 2 months ago
  • config.json
    744 Bytes
    Upload fine-tuned retriever checkpoint about 2 months ago
  • config_sentence_transformers.json
    277 Bytes
    Upload fine-tuned retriever checkpoint about 2 months ago
  • metrics.json
    639 Bytes
    Add retriever metrics about 2 months ago
  • model.safetensors
    90.9 MB
    xet
    Upload fine-tuned retriever checkpoint about 2 months ago
  • modules.json
    429 Bytes
    Upload fine-tuned retriever checkpoint about 2 months ago
  • sentence_bert_config.json
    241 Bytes
    Upload fine-tuned retriever checkpoint about 2 months ago
  • tokenizer.json
    712 kB
    Upload fine-tuned retriever checkpoint about 2 months ago
  • tokenizer_config.json
    593 Bytes
    Upload fine-tuned retriever checkpoint about 2 months ago