Ссылки:
основной
Используйте следующую команду, чтобы загрузить этот набор данных в TFDS:
ds = tfds.load('huggingface:cedr/main')
- Описание :
This new dataset is designed to solve emotion recognition task for text data in Russian. The Corpus for Emotions Detecting in
Russian-language text sentences of different social sources (CEDR) contains 9410 sentences in Russian labeled for 5 emotion
categories. The data collected from different sources: posts of the LiveJournal social network, texts of the online news
agency Lenta.ru, and Twitter microblog posts. There are two variants of the corpus: main and enriched. The enriched variant
is include tokenization and lemmatization. Dataset with predefined train/test splits.
- Лицензия : http://www.apache.org/licenses/LICENSE-2.0.
- Версия : 0.1.1
- Расколы :
Расколоть | Примеры |
---|---|
'test' | 1882 г. |
'train' | 7528 |
- Функции :
{
"text": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"labels": {
"feature": {
"num_classes": 5,
"names": [
"joy",
"sadness",
"surprise",
"fear",
"anger"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"length": -1,
"id": null,
"_type": "Sequence"
},
"source": {
"dtype": "string",
"id": null,
"_type": "Value"
}
}
обогащенный
Используйте следующую команду, чтобы загрузить этот набор данных в TFDS:
ds = tfds.load('huggingface:cedr/enriched')
- Описание :
This new dataset is designed to solve emotion recognition task for text data in Russian. The Corpus for Emotions Detecting in
Russian-language text sentences of different social sources (CEDR) contains 9410 sentences in Russian labeled for 5 emotion
categories. The data collected from different sources: posts of the LiveJournal social network, texts of the online news
agency Lenta.ru, and Twitter microblog posts. There are two variants of the corpus: main and enriched. The enriched variant
is include tokenization and lemmatization. Dataset with predefined train/test splits.
- Лицензия : http://www.apache.org/licenses/LICENSE-2.0.
- Версия : 0.1.1
- Расколы :
Расколоть | Примеры |
---|---|
'test' | 1882 г. |
'train' | 7528 |
- Функции :
{
"text": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"labels": {
"feature": {
"num_classes": 5,
"names": [
"joy",
"sadness",
"surprise",
"fear",
"anger"
],
"names_file": null,
"id": null,
"_type": "ClassLabel"
},
"length": -1,
"id": null,
"_type": "Sequence"
},
"source": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"sentences": [
[
{
"forma": {
"dtype": "string",
"id": null,
"_type": "Value"
},
"lemma": {
"dtype": "string",
"id": null,
"_type": "Value"
}
}
]
]
}