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

bcwarner
/
biogpt-sts-combined

Sentence Similarity
sentence-transformers
Safetensors
biogpt
medical
Model card Files Files and versions
xet
Community

Instructions to use bcwarner/biogpt-sts-combined with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use bcwarner/biogpt-sts-combined with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("bcwarner/biogpt-sts-combined")
    
    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
biogpt-sts-combined
1.39 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
bcwarner's picture
bcwarner
Uploading README
dde6fc5 verified 10 months ago
  • 1_Pooling
    Uploading biogpt-sts-combined 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    2.95 kB
    Uploading README 10 months ago
  • config.json
    638 Bytes
    Uploading biogpt-sts-combined 10 months ago
  • config_sentence_transformers.json
    296 Bytes
    Uploading biogpt-sts-combined 10 months ago
  • merges.txt
    496 kB
    Uploading biogpt-sts-combined 10 months ago
  • model.safetensors
    1.39 GB
    xet
    Uploading biogpt-sts-combined 10 months ago
  • modules.json
    242 Bytes
    Uploading biogpt-sts-combined 10 months ago
  • sentence_bert_config.json
    61 Bytes
    Uploading biogpt-sts-combined 10 months ago
  • special_tokens_map.json
    726 Bytes
    Uploading biogpt-sts-combined 10 months ago
  • tokenizer_config.json
    999 Bytes
    Uploading biogpt-sts-combined 10 months ago
  • vocab.json
    969 kB
    Uploading biogpt-sts-combined 10 months ago