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

nuvocare
/
WikiMedical_sent_biobert_multi

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

Instructions to use nuvocare/WikiMedical_sent_biobert_multi with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use nuvocare/WikiMedical_sent_biobert_multi with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("nuvocare/WikiMedical_sent_biobert_multi")
    
    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 nuvocare/WikiMedical_sent_biobert_multi with Transformers:

    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("nuvocare/WikiMedical_sent_biobert_multi")
    model = AutoModel.from_pretrained("nuvocare/WikiMedical_sent_biobert_multi")
  • Notebooks
  • Google Colab
  • Kaggle
WikiMedical_sent_biobert_multi
2.25 GB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
samchain's picture
samchain
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
f32ab53 verified over 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model. over 2 years ago
  • .gitattributes
    1.62 kB
    Add new SentenceTransformer model. over 2 years ago
  • README.md
    5.38 kB
    Update README.md over 2 years ago
  • config.json
    701 Bytes
    Add new SentenceTransformer model. over 2 years ago
  • config_sentence_transformers.json
    123 Bytes
    Add new SentenceTransformer model. over 2 years ago
  • model.safetensors
    1.11 GB
    xet
    Adding `safetensors` variant of this model (#1) over 1 year ago
  • modules.json
    229 Bytes
    Add new SentenceTransformer model. over 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    1.11 GB
    xet
    Add new SentenceTransformer model. over 2 years ago
  • sentence_bert_config.json
    53 Bytes
    Add new SentenceTransformer model. over 2 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Add new SentenceTransformer model. over 2 years ago
  • special_tokens_map.json
    280 Bytes
    Add new SentenceTransformer model. over 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model. over 2 years ago
  • tokenizer_config.json
    1.15 kB
    Add new SentenceTransformer model. over 2 years ago