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

phueb
/
BabyBERTa-1

Fill-Mask
Transformers
PyTorch
English
roberta
BabyBERTa
Model card Files Files and versions
xet
Community
1

Instructions to use phueb/BabyBERTa-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use phueb/BabyBERTa-1 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="phueb/BabyBERTa-1", device_map="auto")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("phueb/BabyBERTa-1")
    model = AutoModelForMaskedLM.from_pretrained("phueb/BabyBERTa-1", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
BabyBERTa-1
Ctrl+K
Ctrl+K
  • 1 contributor
History: 15 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
1ca525b about 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model about 3 years ago
  • README.md
    3.18 kB
    add metadata over 4 years ago
  • config.json
    610 Bytes
    Update from ph almost 5 years ago
  • model.safetensors
    34.1 MB
    xet
    Adding `safetensors` variant of this model about 3 years ago
  • pytorch_model.bin
    34.2 MB
    xet
    Update from ph almost 5 years ago
  • tokenizer.json
    328 kB
    add decoder to tokenizer config over 4 years ago