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

Neelkumar
/
my-embedding-gemma-5424

Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
dense
Generated from Trainer
dataset_size:5424
loss:MultipleNegativesRankingLoss
Model card Files Files and versions
xet
Community

Instructions to use Neelkumar/my-embedding-gemma-5424 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Neelkumar/my-embedding-gemma-5424 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Neelkumar/my-embedding-gemma-5424")
    
    sentences = [
        "What does the Competition Bureau do?",
        "What are the requirements for obtaining a Canadian passport?",
        "The Competition Bureau is an independent law enforcement agency that protects and promotes competition for the benefit of Canadian consumers and businesses.",
        "Failure to file an annual or interim management’s discussion and analysis (MD&A) or an annual or interim management report of fund performance (MRFP) is a common failure."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
my-embedding-gemma-5424 / 3_Dense
9.44 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
Neelkumar's picture
Neelkumar
Add new SentenceTransformer model
390aee5 verified 9 months ago
  • config.json
    134 Bytes
    Add new SentenceTransformer model 9 months ago
  • model.safetensors
    9.44 MB
    xet
    Add new SentenceTransformer model 9 months ago