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")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("smallbenchnlp/roberta-small") model = AutoModelForMaskedLM.from_pretrained("smallbenchnlp/roberta-small", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
d5facd8 -
added README.md
c1c12a6 -
commit from smallbenchnlp
94c9fac -
initial commit
ae63b58