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

Charangan
/
MedBERT

Fill-Mask
Transformers
PyTorch
English
bert
pretraining
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use Charangan/MedBERT with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="Charangan/MedBERT")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForPreTraining
    
    tokenizer = AutoTokenizer.from_pretrained("Charangan/MedBERT")
    model = AutoModelForPreTraining.from_pretrained("Charangan/MedBERT")
  • Notebooks
  • Google Colab
  • Kaggle
MedBERT
872 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 16 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
2b02279 about 3 years ago
  • .gitattributes
    1.44 kB
    Adding `safetensors` variant of this model about 3 years ago
  • README.md
    3.03 kB
    Update README.md over 3 years ago
  • config.json
    682 Bytes
    Upload config.json over 3 years ago
  • model.safetensors
    436 MB
    xet
    Adding `safetensors` variant of this model about 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    436 MB
    xet
    upload MedBERT files over 3 years ago
  • special_tokens_map.json
    125 Bytes
    Upload special_tokens_map.json over 3 years ago
  • tokenizer.json
    669 kB
    Upload tokenizer.json over 3 years ago
  • tokenizer_config.json
    417 Bytes
    Upload tokenizer_config.json over 3 years ago
  • vocab.txt
    213 kB
    Upload vocab.txt over 3 years ago