/ Модель

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

Контекст
514 токенов
Параметры
152 млн
Лицензия
Apache 2.0
Архитектура
roberta · dense
Базовая модель
roberta-base
Библиотека
transformers
Опубликована
4 мая 2025

bias-detector

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

Англоязычная RoBERTa-модель для бинарного выявления языковой предвзятости в новостных высказываниях.

419скачиваний за 30 дней1лайквеса обновлены8 июн 2025

Бенчмарки

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

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

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

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

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

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

himel7/bias-detector — англоязычная модель Himel Ghosh для выявления языковой предвзятости в новостных высказываниях. Это дообученная на датасете BABE модель RoBERTa-base с архитектурой RobertaForSequenceClassification и примерно 151,8 млн параметров. Она выполняет бинарную классификацию: LABEL_1 означает предвзятый текст, LABEL_0 — нейтральный. Максимальная длина контекста составляет 514 токенов.

Модель предназначена для анализа новостных формулировок: она может помогать исследователям медиа, журналистам и редакторам находить эмоционально окрашенный язык, стереотипные выражения и преувеличения, а также размечать материалы и сравнивать публикации. В оценке на BABE с пятиблочной кросс-валидацией указаны accuracy 0,9202 и F1 0,9257.

Результаты отражают субъективные оценки разметчиков BABE. Модель может хуже работать на текстах вне новостной тематики, при сарказме, иронии и завуалированных формулировках; она не проверяет фактическую точность и не выявляет дезинформацию. Распространяется по лицензии Apache-2.0.

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

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

Ограничения

Обучение основано на субъективной разметке BABE; возможны ошибки на текстах вне новостной тематики, сарказме, иронии и завуалированных формулировках. Модель оценивает языковые признаки предвзятости, но не проверяет факты и не выявляет дезинформацию.

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

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

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

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

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

Открыть на Hugging Face

Citation

Paper Link: https://arxiv.org/abs/2505.13010

If you are using this model, please cite this paper:

@misc{ghosh2025biasbiasdetectingbias,
      title={To Bias or Not to Bias: Detecting bias in News with bias-detector}, 
      author={Himel Ghosh and Ahmed Mosharafa and Georg Groh},
      year={2025},
      eprint={2505.13010},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2505.13010}, 
}

This is a RoBERTa-based binary classification model fine-tuned on the BABE (URL: https://huggingface.co/datasets/mediabiasgroup/BABE) dataset for bias detection in English news statements. The model predicts whether a given sentence contains biased language (LABEL_1) or is unbiased (LABEL_0). It is intended for applications in media bias analysis, content moderation, and social computing research.

  • Example usage with Hugging Face’s pipeline:
    from transformers import pipeline
    
    classifier = pipeline("text-classification", model="himel7/bias-detector", tokenizer="roberta-base")
    result = classifier("Immigrants are criminals.")
    

Evaluation

The model was evaluated on the entire BABE dataset with a K-fold Cross Validation and yielded the following metrics at K=5:

  • Accuracy: 0.9202
  • Precision: 0.9615
  • Recall: 0.8927
  • F1 Score: 0.9257

Model Details

Model Description

This model is a fine-tuned version of roberta-base trained to detect linguistic bias in English-language news statements. The task is framed as binary classification: the model outputs LABEL_1 for biased statements and LABEL_0 for non-biased statements.

Fine-tuning was performed on the BABE dataset, which contains annotated news snippets across various topics and political leanings. The annotations focus on whether the language used expresses subjective bias rather than factual reporting.

The goal of this model is to assist in detecting subtle forms of bias in media content, such as emotionally loaded language, stereotypical phrasing, or exaggerated claims, and can be useful in journalistic analysis, media monitoring, or NLP research into framing and stance.

This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.

Uses

This model is intended to support the detection and analysis of biased language in English news content. It can be used as a tool by:

  • Media researchers and social scientists studying framing, bias, or political discourse.

  • Journalists and editors aiming to assess the neutrality of their writing or compare outlets.

  • Developers integrating bias detection into NLP pipelines for content moderation, misinformation detection, or AI-assisted writing tools.

    Foreseeable Uses:

  • Annotating datasets for bias.

  • Measuring bias across different news outlets or topics.

  • Serving as an assistive tool in editorial decision-making or media monitoring.

Direct Use

This model can be used directly for binary classification of English-language news statements to determine whether they exhibit biased language. It returns one of two labels:

  • LABEL_0 :Non-biased

  • LABEL_1 : Biased

Bias, Risks, and Limitations

While this model is designed to detect linguistic bias, it carries several limitations and risks, both technical and sociotechnical:

  • The model was fine-tuned on the BABE dataset, which includes annotations based on human judgments that may reflect specific cultural or political perspectives.
  • It may not generalize well to non-news text or out-of-domain content (e.g., social media, informal writing).
  • Subtle forms of bias, sarcasm, irony, or coded language may not be reliably detected.
  • Bias is inherently subjective: What one annotator considers biased may be seen as neutral by another. The model reflects those subjective judgments.
  • The model does not detect factual correctness or misinformation — only linguistic bias cues.
  • Labeling a text as “biased” may have reputational or ethical implications, especially if used in moderation, censorship, or journalistic evaluations.

Training Details

Training Data

Training was done on the BABE Dataset: https://huggingface.co/datasets/mediabiasgroup/BABE

Summary

The model achieved 92.02% Accuracy, with very high Precision of 96.15% and 89.27% Recall. This means the model predicts very few false positives and detects the biases that are actually biases.

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей