Instructions to use FacebookAI/roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FacebookAI/roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="FacebookAI/roberta-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("FacebookAI/roberta-base") model = AutoModelForMaskedLM.from_pretrained("FacebookAI/roberta-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Update config.json
2ecd732
-
Update modelcard.json
cb39467
-
Update config.json
e306078 -
Update config.json
f52b0ba
-
Update config.json
3094fd1 -
Update config.json
bbbb96c
-
Update tf_model.h5
3bf2200
-
Update config.json
02c245a
-
Update vocab.json
e9e13e3
-
Update vocab.json
724788e
-
Update vocab.json
67d9c0f -
Update vocab.json
c099717 -
Update vocab.json
ce86094 -
Update merges.txt
43b8f0b
-
Update config.json
83a60a2 -
Update pytorch_model.bin
fa1301c
-
Update config.json
a5b34d0
-
Update dict.txt
34627a9 -
initial commit
37d86ca