Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

AshwinKM2005
/
github-duplicates-bi-encoder

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

Instructions to use AshwinKM2005/github-duplicates-bi-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use AshwinKM2005/github-duplicates-bi-encoder with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AshwinKM2005/github-duplicates-bi-encoder")
    
    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
github-duplicates-bi-encoder / 1_Pooling
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
AshwinKM2005's picture
AshwinKM2005
Upload fine-tuned model
ff26f0a verified 7 months ago
  • config.json
    312 Bytes
    Upload fine-tuned model 7 months ago