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")# pip install -U transformers accelerate # 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
Commit History
-
Update README
cbb417e
-
Update README.md
1ccb479 -
Add citation info
9aff842
-
upload flax model
aafc670 -
allow flax
81beb64
-
Update README.md
35fa6e8 -
Update README.md
7456b1b
-
Update README.md
bdba8b7 -
Readme
cardiffnlpdafba98 -
Adding language model roberta-base
cardiffnlp12c1452 -
Adding language model roberta-base
cardiffnlpca9ebcb -
Adding language model roberta-base
cardiffnlp65bf302 -
Update README.md
73c9ee0 -
Update README.md
1b419e5
-
update readme
luisespinosa8b48c2c -
update readme
luisespinosa9ad0c1d -
initial commit
luisespinosaab65fea -
initial commit
eb73068