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

TimKond
/
S-BioLinkBert-MedQuAD

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

Instructions to use TimKond/S-BioLinkBert-MedQuAD with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use TimKond/S-BioLinkBert-MedQuAD with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("TimKond/S-BioLinkBert-MedQuAD")
    
    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 TimKond/S-BioLinkBert-MedQuAD with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("TimKond/S-BioLinkBert-MedQuAD")
    model = AutoModel.from_pretrained("TimKond/S-BioLinkBert-MedQuAD")
  • Notebooks
  • Google Colab
  • Kaggle
S-BioLinkBert-MedQuAD
867 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 3 commits
TimKond's picture
TimKond
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
db301f9 verified about 1 year ago
  • 1_Pooling
    Saving model for BioLinkBert-MedQuAD almost 4 years ago
  • .gitattributes
    1.28 kB
    Adding `safetensors` variant of this model (#1) about 1 year ago
  • README.md
    3.77 kB
    Saving model for BioLinkBert-MedQuAD almost 4 years ago
  • config.json
    670 Bytes
    Saving model for BioLinkBert-MedQuAD almost 4 years ago
  • config_sentence_transformers.json
    124 Bytes
    Saving model for BioLinkBert-MedQuAD almost 4 years ago
  • model.safetensors
    433 MB
    xet
    Adding `safetensors` variant of this model (#1) about 1 year ago
  • modules.json
    229 Bytes
    Saving model for BioLinkBert-MedQuAD almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    433 MB
    xet
    Saving model for BioLinkBert-MedQuAD almost 4 years ago
  • sentence_bert_config.json
    53 Bytes
    Saving model for BioLinkBert-MedQuAD almost 4 years ago
  • special_tokens_map.json
    112 Bytes
    Saving model for BioLinkBert-MedQuAD almost 4 years ago
  • tokenizer.json
    447 kB
    Saving model for BioLinkBert-MedQuAD almost 4 years ago
  • tokenizer_config.json
    356 Bytes
    Saving model for BioLinkBert-MedQuAD almost 4 years ago
  • vocab.txt
    225 kB
    Saving model for BioLinkBert-MedQuAD almost 4 years ago