xlm-mlm-100-1280 / README.md
Marissa's picture
Add model card
ce151e2
|
raw
history blame
5.43 kB
metadata
language:
  - multilingual
  - en
  - es
  - fr
  - de
  - zh
  - ru
  - pt
  - it
  - ar
  - ja
  - id
  - tr
  - nl
  - pl
  - fa
  - vi
  - sv
  - ko
  - he
  - ro
  - 'no'
  - hi
  - uk
  - cs
  - fi
  - hu
  - th
  - da
  - ca
  - el
  - bg
  - sr
  - ms
  - bn
  - hr
  - sl
  - az
  - sk
  - eo
  - ta
  - sh
  - lt
  - et
  - ml
  - la
  - bs
  - sq
  - arz
  - af
  - ka
  - mr
  - eu
  - tl
  - ang
  - gl
  - nn
  - ur
  - kk
  - be
  - hy
  - te
  - lv
  - mk
  - als
  - is
  - wuu
  - my
  - sco
  - mn
  - ceb
  - ast
  - cy
  - kn
  - br
  - an
  - gu
  - bar
  - uz
  - lb
  - ne
  - si
  - war
  - jv
  - ga
  - oc
  - ku
  - sw
  - nds
  - ckb
  - ia
  - yi
  - fy
  - scn
  - gan
  - tt
  - am
license: cc-by-nc-4.0

xlm-mlm-100-1280

Table of Contents

  1. Model Details
  2. Uses
  3. Bias, Risks, and Limitations
  4. Training
  5. Evaluation
  6. Environmental Impact
  7. Citation
  8. Model Card Authors
  9. How To Get Started With the Model

Model Details

xlm-mlm-100-1280 is the XLM model, which was proposed in Cross-lingual Language Model Pretraining by Guillaume Lample and Alexis Conneau, trained on Wikipedia text in 100 languages. The model is a transformer pretrained using a masked language modeling (MLM) objective.

Model Description

Uses

Direct Use

The model is a language model. The model can be used for masked language modeling.

Downstream Use

To learn more about this task and potential downstream uses, see the Hugging Face fill mask docs and the Hugging Face Multilingual Models for Inference docs. Also see the associated paper.

Out-of-Scope Use

The model should not be used to intentionally create hostile or alienating environments for people.

Bias, Risks, and Limitations

Significant research has explored bias and fairness issues with language models (see, e.g., Sheng et al. (2021) and Bender et al. (2021)).

Recommendations

Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model.

Training

This model is the XLM model trained on Wikipedia text in 100 languages. The preprocessing included tokenization and byte-pair-encoding. See the GitHub repo and the associated paper for further details on the training data and training procedure.

Evaluation

Testing Data, Factors & Metrics

The model developers evaluated the model on the XNLI cross-lingual classification task (see the XNLI data card for more details on XNLI) using the metric of test accuracy. See the GitHub Repo for further details on the testing data, factors and metrics.

Results

For xlm-mlm-100-1280, the test accuracy on the XNLI cross-lingual classification task in English (en), Spanish (es), German (de), Arabic (ar), Chinese (zh) and Urdu (ur) are:

Language en es de ar zh ur
83.7 76.6 73.6 67.4 71.7 62.9

See the GitHub repo for further details.

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: More information needed
  • Hours used: More information needed
  • Cloud Provider: More information needed
  • Compute Region: More information needed
  • Carbon Emitted: More information needed

Citation

BibTeX:

@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.

How to Get Started with the Model

More information needed. See the ipython notebook in the associated GitHub repo for examples.