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

cambridgeltl
/
SapBERT-from-PubMedBERT-fulltext

Feature Extraction
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
Safetensors
English
bert
biomedical
lexical semantics
bionlp
biology
science
embedding
entity linking
Model card Files Files and versions
xet
Community
3

Instructions to use cambridgeltl/SapBERT-from-PubMedBERT-fulltext with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use cambridgeltl/SapBERT-from-PubMedBERT-fulltext with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="cambridgeltl/SapBERT-from-PubMedBERT-fulltext")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("cambridgeltl/SapBERT-from-PubMedBERT-fulltext")
    model = AutoModel.from_pretrained("cambridgeltl/SapBERT-from-PubMedBERT-fulltext", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
SapBERT-from-PubMedBERT-fulltext
1.75 GB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 25 commits
fl399's picture
fl399
Update README.md
090663c about 3 years ago
  • .gitattributes
    445 Bytes
    Adding `safetensors` variant of this model (#2) over 3 years ago
  • README.md
    4.08 kB
    Update README.md about 3 years ago
  • config.json
    462 Bytes
    Update config.json almost 6 years ago
  • flax_model.msgpack
    438 MB
    xet
    upload flax model about 5 years ago
  • model.safetensors
    438 MB
    xet
    Adding `safetensors` variant of this model (#2) over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    438 MB
    xet
    Update pytorch_model.bin almost 6 years ago
  • special_tokens_map.json
    112 Bytes
    Update special_tokens_map.json almost 6 years ago
  • tf_model.h5
    438 MB
    xet
    Update tf_model.h5 almost 6 years ago
  • tokenizer_config.json
    198 Bytes
    Update tokenizer_config.json almost 6 years ago
  • vocab.txt
    226 kB
    Update vocab.txt almost 6 years ago