/ Модель

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

Лицензия
bsd-3-clause-clear
Базовая модель
roberta-base
Библиотека
transformers
Опубликована
11 июл 2026

roberta-question-type-classifier-2.0

Классификация текстаТекст → label

Дообученная RoBERTa классифицирует высказывания интервьюера по шести типам вопросов для анализа интервью.

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

Бенчмарки

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

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

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

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

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

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

USC Child Interviewing Lab разработала RoBERTa Question-Type Classifier 2.0 — дообученную модель RoBERTa для классификации высказываний интервьюера по шести типам вопросов. Она помогает анализировать интервью, в том числе размечать вопросы с ответом «да/нет» или выбором из вариантов, директивные вопросы с вопросительными словами и высказывания, которые не являются вопросами.

Модель принимает текст и возвращает категорию классификации. Для пакетной обработки README предлагает CSV с колонкой Question и ноутбук Jupyter; также модель можно подключить через Transformers. В основе — FacebookAI/roberta-base, формат весов — safetensors. Доступ к репозиторию ограничен: для загрузки нужно войти в Hugging Face и принять условия доступа. Лицензия — BSD-3-Clause-Clear.

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

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

Ограничения

Модель предназначена для классификации высказываний интервьюера по заданным категориям и не описана как универсальный классификатор. Загрузка требует авторизации на Hugging Face и принятия условий доступа.

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

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

Открыть на Hugging Face

RoBERTa Question-Type Classifier 2.0

This repository contains a fine-tuned RoBERTa model for classifying interviewer utterances into six question-type categories.

Version 2.0 predicts six categories:

CodeQuestion type
0Non-question
1Option-posing question (yes-no and forced-choice)
2Wh-question (directive)
3Invitation
4Tag question
5Do you know/remember question

Access

This model uses gated access. Before downloading the model files, sign in to Hugging Face and accept the access conditions for this repository.

Access requests are automatically approved.

Getting the Model

After receiving access, you need to download the model files and notebook to your computer.

Option 1: Download from Hugging Face

Open the Files and versions tab and use the download button beside each file to download the repository files.

Keep the downloaded files together in one folder.

The folder should contain:

  • roberta_question_type_predictions_public.ipynb
  • config.json
  • model.safetensors
  • vocab.json
  • merges.txt
  • special_tokens_map.json
  • tokenizer_config.json

Then open the folder in VS Code or another Jupyter-compatible environment and open:

roberta_question_type_predictions_public.ipynb

Option 2: Download with the Hugging Face CLI

If you have the Hugging Face CLI installed and are signed in, you can download the complete repository with:

hf download USCchildinterviewinglab/roberta-question-type-classifier-2.0 --local-dir roberta-question-type-classifier-2.0

Option 3: Clone with Git

If you are familiar with Git, you can instead clone the repository:

git clone https://huggingface.co/USCchildinterviewinglab/roberta-question-type-classifier-2.0

Cloning is optional. You do not need to use Git in order to run the classifier.

Requirements

  • Python 3
  • A Jupyter-compatible environment, such as VS Code with the Python and Jupyter extensions
  • A Hugging Face account with access to this model in order to download the repository

The notebook installs the required Python packages for you.

Input Format

Your input must be a CSV file containing a column named exactly:

Question

Other columns are allowed and will be preserved in the output.

Example:

Question
Tell me everything that happened.
Did you see him?
Where did you go?

Running the Notebook

  1. Download or clone this repository.

  2. Open the repository folder in VS Code or another Jupyter-compatible environment.

  3. Open roberta_question_type_predictions_public.ipynb.

  4. If prompted to select a kernel:

    • Click Select Kernel.
    • Choose Python Environments....
    • Select a Python 3 environment.

    If you are using VS Code, make sure the Python and Jupyter extensions are installed.

  5. Place a copy of your CSV file in the same repository folder as the notebook.

  6. Make sure the CSV contains a column named exactly Question.

  7. If your file is not named input.csv, change input_file in Section 2 of the notebook to match your filename.

  8. Run the notebook cells from top to bottom.

The notebook does not overwrite the original file.

By default, predictions are written to:

input_with_question_type_predictions.csv

Two columns are added:

  • question_type_code: numeric prediction from 0–5
  • question_type_label: corresponding question-type label

Optional: Load the Model Directly with Transformers

Developers can also load the model directly from Hugging Face using the Transformers library instead of using the included notebook.

Because this model uses gated access, the Python environment must be authenticated with a Hugging Face account that has access to the repository.

from transformers import AutoTokenizer, AutoModelForSequenceClassification

model_id = "USCchildinterviewinglab/roberta-question-type-classifier-2.0"

tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForSequenceClassification.from_pretrained(model_id)

This option is intended for users who want to integrate the classifier into their own Python code or workflow.

Citation

Citation information will be added upon publication.

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

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

GPU в ailist

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

Нельзя запустить

Доступ к модели ограничен автором; у платформы нет доступа к весам.

Ревизия весов
769d969

0 моделей