/ Модель

Характеристики

Контекст
512 токенов
Лицензия
CC BY-NC 4.0
Архитектура
xlm · dense
Опубликована
2 мар 2022

xlm-mlm-100-1280

Заполнение пропусковТекст → текст3 профессии

Многоязычный трансформер XLM с 570 млн параметров для предсказания замаскированных слов в текстах на 100 языках.

1 778скачиваний за 30 дней4лайкавеса обновлены24 янв 2023

Бенчмарки

Как модель справилась с задачами пользователей ailist и что о ней публикуют открытые лидерборды

Публичные оценки

Из открытых лидербордов. Сравнивайте результаты одного теста при одинаковых условиях — отсутствие оценки не значит, что модель хуже.

В подключённых источниках результатов для этой модели пока нет.

Что умеет модель

Описание составлено по карточке модели и метаданным Hugging Face

XLM-MLM-100-1280 — многоязычная языковая модель семейства XLM, разработанная Guillaume Lample и Alexis Conneau и опубликованная в связи с их исследованием по кросс-языковому предобучению. Это трансформер с 16 слоями, размерностью скрытого состояния 1280, 16 головами внимания, словарём из 200 тысяч токенов и 570 млн параметров. Модель обучена на текстах Википедии на 100 языках с помощью задачи masked language modeling; её основное назначение — предсказывать замаскированные слова в тексте.

Модель подходит для заполнения пропусков и как предобученная основа для последующих языковых задач. В README приведены результаты оценки на кросс-языковой классификации XNLI для английского, испанского, немецкого, арабского, китайского и урду; это не означает, что классификация является основным pipeline модели. Метаданные указывают контекст до 512 токенов и форматы PyTorch и TensorFlow.

Модель поддерживает множество языков, включая русский. Качество может различаться между языками и сценариями; языковые модели также могут наследовать смещения из обучающих текстов. Лицензия CC-BY-NC-4.0 разрешает использование с указанием авторства и ограничивает коммерческое применение.

Сценарии применения

  • заполнение пропущенных слов в многоязычном тексте
  • подбор вероятного слова в заданном контексте
  • оценка языковых гипотез через предсказание замаскированных токенов
  • создание основы для последующего дообучения на языковых задачах

Ограничения

Модель может наследовать смещения из обучающих текстов, а качество зависит от языка и сценария применения. Лицензия CC-BY-NC-4.0 ограничивает коммерческое использование.

Для каких профессий подходит3

Разделы каталога профессий, в задачах которых используется эта модель

Все профессии

Карточка модели

README от автора на Hugging Face, как он его опубликовал

Открыть на Hugging Face

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. Technical Specifications
  8. Citation
  9. Model Card Authors
  10. 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 with byte-pair-encoding. See the GitHub repo and the associated paper for further details on the training data and training procedure.

Conneau et al. (2020) report that this model has 16 layers, 1280 hidden states, 16 attention heads, and the dimension of the feed-forward layer is 1520. The vocabulary size is 200k and the total number of parameters is 570M (see Table 7).

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:

Languageenesdearzhur
83.776.673.667.471.762.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

Technical Specifications

Conneau et al. (2020) report that this model has 16 layers, 1280 hidden states, 16 attention heads, and the dimension of the feed-forward layer is 1520. The vocabulary size is 200k and the total number of parameters is 570M (see Table 7).

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.

Как запустить

На своей GPU в ailist. Цена — по текущим предложениям провайдеров

GPU в ailist

Универсальный рантайм · fill-mask

Можно запустить

Подбираем GPU…

Класс архитектуры
XLMWithLMHeadModel
Ревизия весов
73d3bed

0 моделей