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
/
roberta-small

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

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

  • Libraries
  • Transformers

    How to use smallbenchnlp/roberta-small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="smallbenchnlp/roberta-small")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("smallbenchnlp/roberta-small")
    model = AutoModelForMaskedLM.from_pretrained("smallbenchnlp/roberta-small")
  • Notebooks
  • Google Colab
  • Kaggle
roberta-small
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
smallbenchnlp_user's picture
smallbenchnlp_user
Update README.md
d5facd8 over 4 years ago
  • .gitattributes
    1.18 kB
    initial commit over 4 years ago
  • README.md
    98 Bytes
    Update README.md over 4 years ago
  • config.json
    646 Bytes
    commit from smallbenchnlp over 4 years ago
  • merges.txt
    456 kB
    commit from smallbenchnlp over 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    90 MB
    xet
    commit from smallbenchnlp over 4 years ago
  • special_tokens_map.json
    239 Bytes
    commit from smallbenchnlp over 4 years ago
  • tokenizer.json
    1.36 MB
    commit from smallbenchnlp over 4 years ago
  • tokenizer_config.json
    327 Bytes
    commit from smallbenchnlp over 4 years ago
  • vocab.json
    798 kB
    commit from smallbenchnlp over 4 years ago