/ Модель

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

Контекст
512 токенов
Параметры
137 млн
Архитектура
bert · dense
Базовая модель
specter2_base
Библиотека
transformers
Опубликована
25 ноя 2024

specter2-review-negative

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

BERT-модель, дообученная для выявления негативных высказываний в предложениях из экспертных отзывов на грантовые заявки SNSF.

209скачиваний за 30 дней0лайковвеса обновлены28 сен 2026

Бенчмарки

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

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

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

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

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

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

snsf-data/specter2-review-negative — модель AllenAI SPECTER2 Base, дообученная для бинарной классификации предложений из экспертных отзывов на заявки SNSF. Она определяет, выражает ли предложение негативную оценку или содержит негативное высказывание. Модель построена на архитектуре BERT, содержит 137,1 млн параметров и принимает текст длиной до 512 токенов.

Модель предназначена для анализа отзывов на грантовые заявки и помощи исследователям в выявлении негативных замечаний. При дообучении использовались 2 500 вручную размеченных предложений; на валидационной выборке из 500 предложений получен macro-F1 0,83. Данные обучения не опубликованы из-за требований конфиденциальности. Репозиторий использует Transformers и формат safetensors.

Результаты требуют проверки человеком: модель обучена на ограниченной выборке отзывов SNSF, поэтому её качество и применимость к отзывам других организаций могут отличаться. Лицензия в предоставленных данных не указана.

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

  • выявление негативных замечаний в отзывах на грантовые заявки
  • разметка предложений из экспертных отзывов по тональности высказывания
  • подготовка выборок негативных высказываний для анализа отзывов SNSF

Ограничения

Модель обучена на 2 500 предложениях из отзывов SNSF, поэтому перенос на отзывы других организаций может быть ограничен; автоматическую классификацию следует проверять человеком. Данные обучения не опубликованы.

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

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

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

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

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

Открыть на Hugging Face

Model: specter2-review-negative

The model snsf-data/specter2-review-negative is based on the allenai/specter2_base model and fine-tuned for a binary classification task. In particular, the model is fine-tuned to classify if a sentence from SNSF grant peer review report is addressing the following aspect:

Is the sentence itself a negative statement or does it contain a negative statement?

The model was fine-tuned based on a training set of 2'500 sentences from the SNSF grant peer review reports, which were manually annotated by multiple human annotators via majority rule. The fine-tuning was performed locally without access to the internet to prevent any potential data leakage or network interference. The following setup was used for the fine-tuning:

  • Loss function: cross-entropy loss
  • Optimizer: AdamW
  • Weight decay: 0.01
  • Learning rate: 2e-5
  • Epochs: 3
  • Batch size: 10
  • GPU: NVIDIA RTX A2000

The model was then evaluated based on a validation set of 500 sentences, which were also manually annotated by multiple human annotators via majority rule. The resulting macro-average F1 score: 0.83 was achieved on the validation set. The share of the outcome label amounts to 15.2%.

The fine-tuning codes are open-sourced on GitHub: https://github.com/snsf-data/ml-peer-review-analysis .

Due to data privacy laws no data used for the fine-tuning can be publicly shared. For a detailed description of data protection please refer to the data management plan underlying this work: https://doi.org/10.46446/DMP-peer-review-assessment-ML. The annotation codebook is available online: https://doi.org/10.46446/Codebook-peer-review-assessment-ML.

For more details, see the following paper published in Quantitative Science Studies:

A Supervised Machine Learning Approach for Assessing Grant Peer Review Reports

by Gabriel Okasa, Alberto de León, Michaela Strinzel, Anne Jorstad, Katrin Milzow, Matthias Egger, and Stefan Müller, available open-access: https://doi.org/10.1162/QSS.a.23 .

How to Get Started with the Model

The model can be used to classify sentences from grant peer review reports for addressing negative statements.

Use the code below to get started with the model.

# import transformers library
import transformers

# load tokenizer from specter2_base - the base model
tokenizer = transformers.AutoTokenizer.from_pretrained("allenai/specter2_base")

# load the SNSF fine-tuned model for classification of negative statements in review texts
model = transformers.AutoModelForSequenceClassification.from_pretrained("snsf-data/specter2-review-negative")

# setup the classification pipeline
classification_pipeline = transformers.TextClassificationPipeline(
    model=model,
    tokenizer=tokenizer,
    return_all_scores=True
)

# prediction for an example review sentence addressing negative statement
classification_pipeline("There are a lot of spelling mistakes and references that are misleading or difficult to understand.")

# prediction for an example review sentence not addressing negative statement
classification_pipeline("There are currently several activities on an international level that have identified the issue and activities are underway.")

Model Limitations

  • Human Assessment Required: This model should not be used for automatic classification of grant peer review reports without human oversight.
  • Limited Training Data: The model was fine-tuned on a limited sample of 2,500 annotated sentences. Therefore, its classification accuracy should be critically evaluated before deployment.
  • Specific Training Data: The training data consists of a random sample of SNSF grant peer review reports. As such, the model's external validity to other datasets may be limited.

Citation

BibTeX:

@article{okasa2025supervised,
  title={A supervised machine learning approach for assessing grant peer review reports},
  author={Okasa, Gabriel and de Le{\'o}n, Alberto and Strinzel, Michaela and Jorstad, Anne and Milzow, Katrin and Egger, Matthias and M{\"u}ller, Stefan},
  journal={Quantitative Science Studies},
  volume={6},
  pages={1189--1214},
  year={2025},
  publisher={MIT Press 255 Main Street, 9th Floor, Cambridge, Massachusetts 02142, USA}
}

APA:

Okasa, G., de León, A., Strinzel, M., Jorstad, A., Milzow, K., Egger, M., & Müller, S. (2025). A supervised machine learning approach for assessing grant peer review reports. Quantitative Science Studies, 6, 1189-1214.

Model Card Authors

Gabriel Okasa, Alberto de León, Michaela Strinzel, Anne Jorstad, Katrin Milzow, Matthias Egger, and Stefan Müller

Model Card Contact

gabriel.okasa@snf.ch

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

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

GPU в ailist

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

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

Подбираем GPU…

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

0 моделей