The XLM model was proposed in
Cross-lingual Language Model Pretraining
by Guillaume Lample, Alexis Conneau. xlm-mlm-ende-1024 is a transformer pretrained using a masked language modeling (MLM) objective for English-German. This model uses language embeddings to specify the language used at inference. See the
Hugging Face Multilingual Models for Inference docs
for further details.
Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.
Training
The model developers write:
In all experiments, we use a Transformer architecture with 1024 hidden units, 8 heads, GELU activations (Hendrycks and Gimpel, 2016), a dropout rate of 0.1 and learned positional embeddings. We train our models with the Adam op- timizer (Kingma and Ba, 2014), a linear warm- up (Vaswani et al., 2017) and learning rates varying from 10^−4 to 5.10^−4.
See the
associated paper
for links, citations, and further details on the training data and training procedure.
The model developers also write that:
If you use these models, you should use the same data preprocessing / BPE codes to preprocess your data.
We implement all our models in PyTorch (Paszke et al., 2017), and train them on 64 Volta GPUs for the language modeling tasks, and 8 GPUs for the MT tasks. We use float16 operations to speed up training and to reduce the memory usage of our models.
@article{lample2019cross,
title={Cross-lingual language model pretraining},
author={Lample, Guillaume and Conneau, Alexis},
journal={arXiv preprint arXiv:1901.07291},
year={2019}
}
APA:
Lample, G., & Conneau, A. (2019). Cross-lingual language model pretraining. arXiv preprint arXiv:1901.07291.
Model Card Authors
This model card was written by the team at Hugging Face.
xlm-mlm-ende-1024 huggingface.co is an AI model on huggingface.co that provides xlm-mlm-ende-1024's model effect (), which can be used instantly with this FacebookAI xlm-mlm-ende-1024 model. huggingface.co supports a free trial of the xlm-mlm-ende-1024 model, and also provides paid use of the xlm-mlm-ende-1024. Support call xlm-mlm-ende-1024 model through api, including Node.js, Python, http.
xlm-mlm-ende-1024 huggingface.co is an online trial and call api platform, which integrates xlm-mlm-ende-1024's modeling effects, including api services, and provides a free online trial of xlm-mlm-ende-1024, you can try xlm-mlm-ende-1024 online for free by clicking the link below.
FacebookAI xlm-mlm-ende-1024 online free url in huggingface.co:
xlm-mlm-ende-1024 is an open source model from GitHub that offers a free installation service, and any user can find xlm-mlm-ende-1024 on GitHub to install. At the same time, huggingface.co provides the effect of xlm-mlm-ende-1024 install, users can directly use xlm-mlm-ende-1024 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.