Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

cardiffnlp
/
twitter-roberta-base

Fill-Mask
Transformers
PyTorch
google-tensorflow TensorFlow
JAX
roberta
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use cardiffnlp/twitter-roberta-base with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("fill-mask", model="cardiffnlp/twitter-roberta-base")
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForMaskedLM
    
    tokenizer = AutoTokenizer.from_pretrained("cardiffnlp/twitter-roberta-base")
    model = AutoModelForMaskedLM.from_pretrained("cardiffnlp/twitter-roberta-base")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
twitter-roberta-base
1.5 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 18 commits
Pedrada's picture
Pedrada
Update README
cbb417e over 3 years ago
  • .ipynb_checkpoints
    Readme over 5 years ago
  • .gitattributes
    391 Bytes
    allow flax almost 5 years ago
  • README.md
    4.64 kB
    Update README over 3 years ago
  • config.json
    565 Bytes
    initial commit over 5 years ago
  • flax_model.msgpack
    499 MB
    xet
    upload flax model almost 5 years ago
  • merges.txt
    456 kB
    initial commit over 5 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    501 MB
    xet
    Adding language model roberta-base over 5 years ago
  • tf_model.h5
    499 MB
    xet
    Adding language model roberta-base over 5 years ago
  • vocab.json
    899 kB
    Adding language model roberta-base over 5 years ago