Instructions to use FacebookAI/xlm-roberta-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FacebookAI/xlm-roberta-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="FacebookAI/xlm-roberta-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("FacebookAI/xlm-roberta-base") model = AutoModelForMaskedLM.from_pretrained("FacebookAI/xlm-roberta-base", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Adds tokenizer_config.json file
Verified signatured817c5c
-
Adding ONNX file of this model (#15)
- Adding ONNX file of this model (e9c793ac25de997022baf24ba4b022a602c0c050) Co-authored-by: Mushfiqur Rahman <mushfiqurrobin@users.noreply.huggingface.co>77de1f7
-
Adding `safetensors` variant of this model (#9)
- Adding `safetensors` variant of this model (42d8930d2fa6e51784fc924d37943d1cb89ec0de) Co-authored-by: Nicolas Patry <Narsil@users.noreply.huggingface.co>42f548f
-
Update README.md (#1)
- Update README.md (e9f5442d0e5232f48560686bed290d9dfc005c33) Co-authored-by: Loïck BOURDOIS <lbourdois@users.noreply.huggingface.co>f6d161e
-
Add TF weights (#2)
joaogante- Add TF weights (9e83a6a990fc25f6073fe25416d1899fe3797944)a8c9047
-
remove ipynb ckpt
5903ba7 -
add flax model
8524a13 -
track msgpack
e232200
-
Add model card
02355de
-
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/xlm-roberta-base-README.mdd9d8a8e
-
Update tokenizer.json
446679f
-
Update config.json
2cfd5ad
-
Update config.json
e17a4a0
-
Update sentencepiece.bpe.model
f73dcc4 -
Update pytorch_model.bin
e3fd215 -
Update config.json
d1a321d -
initial commit
d23a08c