/ Модель

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

Контекст
514 токенов
Параметры
138 млн
Лицензия
Apache 2.0
Архитектура
roberta · dense
Опубликована
12 окт 2022

dalembert

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

Базовая RoBERTa для восстановления замаскированных слов и анализа исторических французских текстов XVI — начала XX века.

515скачиваний за 30 дней5лайковвеса обновлены19 мая 2023

Бенчмарки

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

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

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

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

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

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

D'AlemBERT — базовая модель RoBERTa для обработки исторического французского языка, разработанная с предварительным обучением на корпусе FreEMmax. Модель содержит 138,4 млн параметров, имеет контекст до 514 токенов и обучена на текстах XVI — начала XX века. Она регистрозависимая; при обучении использовались нормализованные и ненормализованные тексты.

Модель обучена методом masked language modeling: она восстанавливает замаскированные слова с учётом контекста всего предложения. Её можно применять для заполнения пропусков, а также дообучать для классификации последовательностей и токенов или ответов на вопросы по историческим текстам. Модель рассчитана прежде всего на цифровую гуманитаристику и историческую обработку естественного языка.

Обучающие данные содержат исторические тексты, поэтому модель может воспроизводить предвзятости своего периода и плохо подходить для современного французского языка. Для текстовой генерации авторы рекомендуют использовать авторегрессионные модели. Лицензия — Apache-2.0.

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

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

Ограничения

Модель может воспроизводить предвзятости исторических данных и плохо работать на современном французском языке. Для генерации связного текста она не предназначена.

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

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

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

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

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

Открыть на Hugging Face

D'AlemBERT base model

This model is a RoBERTa base model pre-trained on the FreEMmax corpus for Early Modern French. It was introduced in this paper. This model is Cased and was trained with a mix of normalized and unnormalized data.

Model description

D'AlemBERT is a transformers mode pretrained on the raw texts only with no humans labelling them in any way with an automatic process to generate inputs and labels from those texts using the RoBERTa base model. More precisely, it was pretrained with one objective:

  • Masked language modeling (MLM): this is part of the original training loss of the BERT base model. When taking a sentence, the model randomly masks 15% of the words in the input then run the entire masked sentence through the model and has to predict the masked words. This is different from traditional recurrent neural networks (RNNs) that usually see the words one after the other, or from autoregressive models like GPT which internally mask the future tokens. It allows the model to learn a bidirectional representation of the sentence.

Intended uses & limitations

You can use the raw model for masked language modeling, but it's mostly intended to be fine-tuned on a downstream task.

Note that this model is primarily aimed at being fine-tuned on tasks that use the whole sentence (potentially masked) to make decisions, such as sequence classification, token classification or question answering. For tasks such as text generation you should look at model like GPT.

The model is primarily intended for use in Digital Humanities and Historical NLP.

Limitations and bias

This model is trained with historical French data from starting from the 16th c., so it might produce results that seem extremely biased by today standards. It might not work well on contemporary data and it is not intended to be used on it.

This bias will also affect all fine-tuned versions of this model.

Training data

D'AlemBERT was pretrained on the non-freely available version of the FreEMmax corpus, a dataset consisting of more than 180k tokens coming from 22 different sources, and comprising French textual data going from the 16th c to the early 20th c.

BibTeX entry and citation info

@inproceedings{gabay-etal-2022-freem,
    title = "From {F}re{EM} to D{'}{A}lem{BERT}: a Large Corpus and a Language Model for Early {M}odern {F}rench",
    author = "Gabay, Simon  and
      Ortiz Suarez, Pedro  and
      Bartz, Alexandre  and
      Chagu{\'e}, Alix  and
      Bawden, Rachel  and
      Gambette, Philippe  and
      Sagot, Beno{\^\i}t",
    booktitle = "Proceedings of the Thirteenth Language Resources and Evaluation Conference",
    month = jun,
    year = "2022",
    address = "Marseille, France",
    publisher = "European Language Resources Association",
    url = "https://aclanthology.org/2022.lrec-1.359",
    pages = "3367--3374",
    abstract = "anguage models for historical states of language are becoming increasingly important to allow the optimal digitisation and analysis of old textual sources. Because these historical states are at the same time more complex to process and more scarce in the corpora available, this paper presents recent efforts to overcome this difficult situation. These efforts include producing a corpus, creating the model, and evaluating it with an NLP task currently used by scholars in other ongoing projects.",
}

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
RobertaForMaskedLM
Ревизия весов
ebe922b

0 моделей