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

Tomor0720
/
bge_large_en_v1.5_custom_pooling

Sentence Similarity
sentence-transformers
bert
feature-extraction
Model card Files Files and versions
xet
Community

Instructions to use Tomor0720/bge_large_en_v1.5_custom_pooling with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Tomor0720/bge_large_en_v1.5_custom_pooling with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Tomor0720/bge_large_en_v1.5_custom_pooling")
    
    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
bge_large_en_v1.5_custom_pooling
36.7 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 11 commits
Tomor0720's picture
Tomor0720
Upload bge_custom_impl.py with huggingface_hub
90fea7a verified almost 2 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 2 years ago
  • README.md
    32.2 kB
    Add new SentenceTransformer model. almost 2 years ago
  • bge_custom_impl.py
    2.43 kB
    Upload bge_custom_impl.py with huggingface_hub almost 2 years ago
  • config.json
    235 Bytes
    Update config.json almost 2 years ago
  • config_sentence_transformers.json
    202 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    108 Bytes
    Update modules.json almost 2 years ago