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

smallbenchnlp
/
bert-small

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

Instructions to use smallbenchnlp/bert-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use smallbenchnlp/bert-small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="smallbenchnlp/bert-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("smallbenchnlp/bert-small")
    model = AutoModelForMaskedLM.from_pretrained("smallbenchnlp/bert-small")
  • Notebooks
  • Google Colab
  • Kaggle
bert-small
55 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Bhuvana's picture
Bhuvana
Update from bhuvanakundumani
5796c8e over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    101 Bytes
    Update from bhuvanakundumani over 4 years ago
  • config.json
    569 Bytes
    Update from bhuvanakundumani over 4 years ago
  • pytorch_model.bin
    54.3 MB
    xet
    Update from bhuvanakundumani over 4 years ago
  • tokenizer.json
    466 kB
    Update from bhuvanakundumani over 4 years ago
  • tokenizer_config.json
    28 Bytes
    Update from bhuvanakundumani over 4 years ago
  • vocab.txt
    232 kB
    Update from bhuvanakundumani over 4 years ago