数据集:
语言:
许可:
计算机处理:
monolingual语言创建人:
crowdsourced批注创建人:
crowdsourced源数据集:
original大小:
10K<n<100K任务:
The corpus for the author profiling analysis contains texts in Russian-language which labeled for 5 tasks:
gender -- 13448 texts with the labels, who wrote this: text female or male;
age -- 13448 texts with the labels, how old the person who wrote the text. This is a number from 12 to 80. In addition, for the classification task we added 5 age groups: 0-19; 20-29; 30-39; 40-49; 50+;
age imitation -- 8460 texts, where crowdsource authors is asked to write three texts: a) in their natural manner, b) imitating the style of someone younger, c) imitating the style of someone older;
gender imitation -- 4988 texts, where the crowdsource authors is asked to write texts: in their origin gender and pretending to be the opposite gender;
style imitation -- 4988 texts, where crowdsource authors is asked to write a text on behalf of another person of your own gender, with a distortion of the authors usual style.
Dataset is collected sing the Yandex.Toloka service link .
You can read the data using the following python code:
def load_jsonl(input_path: str) -> list:
"""
Read list of objects from a JSON lines file.
"""
data = []
with open(input_path, 'r', encoding='utf-8') as f:
for line in f:
data.append(json.loads(line.rstrip('\n|\r')))
print('Loaded {} records from {}/n'.format(len(data), input_path))
return data
path_to_file = "./data/train.jsonl"
data = load_jsonl(path_to_file)
or you can use HuggingFace style:
from datasets import load_dataset
train_df = load_dataset('sagteam/author_profiling', split='train')
valid_df = load_dataset('sagteam/author_profiling', split='validation')
test_df = load_dataset('sagteam/author_profiling', split='test')
Here are some statistics:
This dataset is intended for multi-class and multi-label text classification.
The baseline models currently achieve the following F1-weighted metrics scores (table):
| Model name | gender | age_group | gender_imitation | age_imitation | style_imitation | no_imitation | average |
|---|---|---|---|---|---|---|---|
| Dummy-stratified | 0.49 | 0.29 | 0.56 | 0.32 | 0.57 | 0.55 | 0.46 |
| Dummy-uniform | 0.49 | 0.23 | 0.51 | 0.32 | 0.51 | 0.51 | 0.43 |
| Dummy-most_frequent | 0.34 | 0.27 | 0.53 | 0.17 | 0.53 | 0.53 | 0.40 |
| LinearSVC + TF-IDF | 0.67 | 0.37 | 0.62 | 0.72 | 0.71 | 0.71 | 0.63 |
The text in the dataset is in Russian.
Each instance is a text in Russian with some author profiling annotations.
An example for an instance from the dataset is shown below:
{
'id': 'crowdsource_4916',
'text': 'Ты очень симпатичный, Я давно не с кем не встречалась. Ты мне сильно понравился, ты умный интересный и удивительный, приходи ко мне в гости , у меня есть вкусное вино , и приготовлю вкусный ужин, посидим пообщаемся, узнаем друг друга поближе.',
'account_id': 'account_#1239',
'author_id': 411,
'age': 22,
'age_group': '20-29',
'gender': 'male',
'no_imitation': 'with_any_imitation',
'age_imitation': 'None',
'gender_imitation': 'with_gender_imitation',
'style_imitation': 'no_style_imitation'
}
Data Fields includes:
id -- unique identifier of the sample;
text -- authors text written by a crowdsourcing user;
author_id -- unique identifier of the user;
account_id -- unique identifier of the crowdsource account;
age -- age annotations;
age_group -- age group annotations;
no_imitation -- imitation annotations. Label codes:
age_imitation -- age imitation annotations. Label codes:
gender_imitation -- gender imitation annotations. Label codes:
style_imitation -- style imitation annotations. Label codes:
The dataset includes a set of train/valid/test splits with 9564, 1320 and 2564 texts respectively. The unique authors do not overlap between the splits.
The formed dataset of examples consists of texts in Russian using a crowdsourcing platform. The created dataset can be used to improve the accuracy of supervised classifiers in author profiling tasks.
Data was collected from crowdsource platform. Each text was written by the author specifically for the task provided.
Who are the source language producers?Russian-speaking Yandex.Toloka users.
We used a crowdsourcing platform to collect texts. Each respondent is asked to fill a questionnaire including their gender, age and native language.
For age imitation task the respondents are to choose a topic out of a few suggested, and write three texts on it:
For gender and style imitation task each author wrote three texts in certain different styles:
The topics to choose from are the following.
The task does not pass checking and is considered improper work if it contains:
Texts checking is performed firstly by automated search for borrowings (by an anti-plagiarism website), and then by manual review of compliance to the task.
Who are the annotators?Russian-speaking Yandex.Toloka users.
All personal data was anonymized. Each author has been assigned an impersonal, unique identifier.
[Needs More Information]
[Needs More Information]
[Needs More Information]
Researchers at AI technology lab at NRC "Kurchatov Institute". See the website .
Apache License 2.0.
If you have found our results helpful in your work, feel free to cite our publication.
@article{сбоев2022сравнение,
title={СРАВНЕНИЕ ТОЧНОСТЕЙ МЕТОДОВ НА ОСНОВЕ ЯЗЫКОВЫХ И ГРАФОВЫХ НЕЙРОСЕТЕВЫХ МОДЕЛЕЙ ДЛЯ ОПРЕДЕЛЕНИЯ ПРИЗНАКОВ АВТОРСКОГО ПРОФИЛЯ ПО ТЕКСТАМ НА РУССКОМ ЯЗЫКЕ},
author={Сбоев, АГ and Молошников, ИА and Рыбка, РБ and Наумов, АВ and Селиванов, АА},
journal={Вестник Национального исследовательского ядерного университета МИФИ},
volume={10},
number={6},
pages={529--539},
year={2021},
publisher={Общество с ограниченной ответственностью МАИК "Наука/Интерпериодика"}
}
Thanks to @naumov-al for adding this dataset.