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", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
cardiffnlp commited on
Commit ·
65bf302
1
Parent(s): 73c9ee0
Adding language model roberta-base
Browse files- pytorch_model.bin +0 -0
- vocab.json +0 -0
pytorch_model.bin
CHANGED
|
File without changes
|
vocab.json
CHANGED
|
File without changes
|