/ Модель

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

Контекст
512 токенов
Параметры
137 млн
Лицензия
GPL 3.0
Архитектура
bert · dense
Опубликована
16 янв 2023

bert-base-uncased-ear-misogyny

Классификация текстаТекст → label3 профессии

Англоязычный классификатор на базе BERT для выявления мизогинии в тексте с регуляризацией, снижающей зависимость предсказаний от отдельных слов.

64 605скачиваний за 30 дней1лайквеса обновлены18 янв 2023

Бенчмарки

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

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

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

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

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

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

MilaNLProc/bert-base-uncased-ear-misogyny — англоязычный классификатор на базе BERT, разработанный Джузеппе Аттанасио, Деборой Ноццей, Дирком Хови и Еленой Баралис. Модель дообучена для выявления мизогинии в тексте на датасете Automatic Misogyny Identification. Регуляризация внимания на основе энтропии призвана снизить чрезмерную зависимость классификатора от отдельных слов; модель подходит для анализа англоязычных публикаций и высказываний.

Архитектура — BertForSequenceClassification, около 136,7 млн параметров; максимальная длина контекста — 512 токенов. Модель принимает текст и выдаёт метки классификации. Опубликована в формате PyTorch под лицензией GPL-3.0.

Регуляризация уменьшает, но не устраняет лексическое переобучение: отдельные характерные слова всё ещё могут вызывать определённые предсказания вне контекста, а модель может сохранять смещения. Для оценки качества и степени снижения смещений следует учитывать результаты исследования авторов.

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

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

Ограничения

Регуляризация уменьшает, но не устраняет чрезмерную зависимость от отдельных слов. Модель может сохранять смещения и выдавать предсказание по характерным словам вне контекста.

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

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

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

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

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

Открыть на Hugging Face

Entropy-based Attention Regularization 👂

This is an English BERT fine-tuned with Entropy-based Attention Regularization to reduce lexical overfitting to specific words on the task of Misogyny Identification. Use this model if you want a debiased alternative to a BERT classifier.

Please refer to the paper to know all the training details.

Dataset

The model was fine-tuned on the Automatic Misogyny Identification dataset.

Model

This model is the fine-tuned version of the bert-base-uncased model. We trained a total of three versions for Italian and English.

ModelDownload
bert-base-uncased-ear-misogynyLink
bert-base-uncased-ear-mlmaLink
bert-base-uncased-ear-misogyny-italianLink

Authors

Citation

Please use the following BibTeX entry if you use this model in your project:

@inproceedings{attanasio-etal-2022-entropy,
    title = "Entropy-based Attention Regularization Frees Unintended Bias Mitigation from Lists",
    author = "Attanasio, Giuseppe  and
      Nozza, Debora  and
      Hovy, Dirk  and
      Baralis, Elena",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2022",
    month = may,
    year = "2022",
    address = "Dublin, Ireland",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2022.findings-acl.88",
    doi = "10.18653/v1/2022.findings-acl.88",
    pages = "1105--1119",
    abstract = "Natural Language Processing (NLP) models risk overfitting to specific terms in the training data, thereby reducing their performance, fairness, and generalizability. E.g., neural hate speech detection models are strongly influenced by identity terms like gay, or women, resulting in false positives, severe unintended bias, and lower performance.Most mitigation techniques use lists of identity terms or samples from the target domain during training. However, this approach requires a-priori knowledge and introduces further bias if important terms are neglected.Instead, we propose a knowledge-free Entropy-based Attention Regularization (EAR) to discourage overfitting to training-specific terms. An additional objective function penalizes tokens with low self-attention entropy.We fine-tune BERT via EAR: the resulting model matches or exceeds state-of-the-art performance for hate speech classification and bias metrics on three benchmark corpora in English and Italian.EAR also reveals overfitting terms, i.e., terms most likely to induce bias, to help identify their effect on the model, task, and predictions.",
}

Limitations

Entropy-Attention Regularization mitigates lexical overfitting but does not completely remove it. We expect the model still to show biases, e.g., peculiar keywords that induce a specific prediction regardless of the context.

Please refer to our paper for a quantitative evaluation of this mitigation.

License

GNU GPLv3

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

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

GPU в ailist

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

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

Подбираем GPU…

Класс архитектуры
BertForSequenceClassification
Ревизия весов
52fa409

0 моделей