Downloads · 30 days
8.4K
0% of all-time downloads
jplu/tf-xlm-roberta-base
tf-xlm-roberta-base is a fill-mask model from jplu. Use it when you need the model to fill a missing word. It is set up for transformers.
In this repository you will find different versions of the XLM-RoBERTa model for Tensorflow.
Downloads · 30 days
8.4K
0% of all-time downloads
All-time downloads
5M
Public
Repo size
1.9 GB
Likes
1
Public
Click a slice to open those files.
.h51.9 GB · 100%
From the Hugging Face model README
In this repository you will find different versions of the XLM-RoBERTa model for Tensorflow.
XLM-RoBERTa is a scaled cross lingual sentence encoder. It is trained on 2.5T of data across 100 languages data filtered from Common Crawl. XLM-R achieves state-of-the-arts results on multiple cross lingual benchmarks.
| Model | Downloads |
|---|---|
jplu/tf-xlm-roberta-base | config.json • tf_model.h5 |
jplu/tf-xlm-roberta-large | config.json • tf_model.h5 |
With Transformers >= 2.4 the Tensorflow models of XLM-RoBERTa can be loaded like:
from transformers import TFXLMRobertaModel
model = TFXLMRobertaModel.from_pretrained("jplu/tf-xlm-roberta-base")
Or
model = TFXLMRobertaModel.from_pretrained("jplu/tf-xlm-roberta-large")
All models are available on the Huggingface model hub.
Thanks to all the Huggingface team for the support and their amazing library!