Instructions to use FacebookAI/roberta-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FacebookAI/roberta-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="FacebookAI/roberta-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("FacebookAI/roberta-large") model = AutoModelForMaskedLM.from_pretrained("FacebookAI/roberta-large", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding ONNX file of this model
Beep boop I am the [ONNX export bot 🤖🏎️](https://huggingface.co/spaces/optimum/exporters). On behalf of [fa2345](https://huggingface.co/fa2345), I would like to add to this repository the model converted to ONNX. What is ONNX? It stands for "Open Neural Network Exchange", and is the most commonly used open standard for machine learning interoperability. You can find out more at [onnx.ai](https://onnx.ai/)! The exported ONNX model can be then be consumed by various backends as TensorRT or TVM, or simply be used in a few lines with 🤗 Optimum through ONNX Runtime, check out how [here](https://huggingface.co/docs/optimum/main/en/onnxruntime/usage_guides/models)!ae4a202
-
Convert weights to .safetensors (#1)
- Convert weights to .safetensors (e7ebe1d62fc22d24af997fa880b5a38e4d17af45)5069d8a
-
upload flax model
619fd8c -
allow flax
6943c8b
-
Migrate model card from transformers-repo
Read announcement at https://discuss.huggingface.co/t/announcement-all-model-cards-will-be-migrated-to-hf-co-model-repos/2755 Original file history: https://github.com/huggingface/transformers/commits/master/model_cards/roberta-large-README.md50c7b24
-
For clarity, delete deprecated modelcard.json
We now use the README.md model card instead Approved-by: Julien Chaumond <julien@huggingface.co>e7a4859
-
Update tokenizer.json
dc0169d
-
Update config.json
5674b5c
-
Update config.json
66311c7
-
Update modelcard.json
bc7f495
-
Update config.json
7cca3b7 -
Update config.json
b91e680
-
Update config.json
5cae447 -
Update config.json
f0c702d
-
Update tf_model.h5
fb589ba
-
Update config.json
5d77746
-
Update vocab.json
55e4b55
-
Update vocab.json
7d1f95c
-
Update vocab.json
4c9dbc2 -
Update vocab.json
8ac184f -
Update vocab.json
a146722 -
Update merges.txt
d90d5eb
-
Update config.json
f2cfec5 -
Update pytorch_model.bin
4015b08
-
Update config.json
2c5e44b -
initial commit
367988a