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

cambridgeltl
/
SapBERT-from-PubMedBERT-fulltext-mean-token

Feature Extraction
Transformers
PyTorch
JAX
Safetensors
bert
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

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

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="cambridgeltl/SapBERT-from-PubMedBERT-fulltext-mean-token")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("cambridgeltl/SapBERT-from-PubMedBERT-fulltext-mean-token")
    model = AutoModel.from_pretrained("cambridgeltl/SapBERT-from-PubMedBERT-fulltext-mean-token")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
SapBERT-from-PubMedBERT-fulltext-mean-token
Ctrl+K
Ctrl+K
  • 3 contributors
History: 2 commits
fl399's picture
fl399
First version of the sapbert-mean-token model and tokenizer.
f4921cc about 5 years ago
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • README.md
    897 Bytes
    First version of the sapbert-mean-token model and tokenizer. about 5 years ago
  • config.json
    643 Bytes
    First version of the sapbert-mean-token model and tokenizer. about 5 years ago
  • pytorch_model.bin
    438 MB
    xet
    First version of the sapbert-mean-token model and tokenizer. about 5 years ago
  • special_tokens_map.json
    112 Bytes
    First version of the sapbert-mean-token model and tokenizer. about 5 years ago
  • tokenizer_config.json
    352 Bytes
    First version of the sapbert-mean-token model and tokenizer. about 5 years ago
  • vocab.txt
    226 kB
    First version of the sapbert-mean-token model and tokenizer. about 5 years ago