real-persona-chat / README.md
yamasy1549's picture
:memo: Add README
a5be0f5
---
language:
- ja
license: cc-by-sa-4.0
tags:
- nlp
- japanese
- dialogue
- dialogue-corpus
- dialogue-system
language_creators:
- crowdsourced
pretty_name: RealPersonaChat
size_categories:
- 10K<n<100K
task_categories:
- text-generation
- text-classification
task_ids:
- dialogue-modeling
- dialogue-generation
multilinguality:
- monolingual
source_datasets:
- original
---
[![CC BY-SA 4.0](https://img.shields.io/badge/License-CC%20BY%20SA%204.0-green.svg)](https://creativecommons.org/licenses/by-sa/4.0/deed.ja)
[![RealPersonaChatのバージョン](https://img.shields.io/github/v/release/nu-dialogue/real-persona-chat)](https://github.com/nu-dialogue/real-persona-chat)
# Dataset Card for RealPersonaChat
## Dataset Description
- **Homepage:** [nu-dialogue/real-persona-chat](https://github.com/nu-dialogue/real-persona-chat)
- **Repository:** [nu-dialogue/real-persona-chat](https://github.com/nu-dialogue/real-persona-chat)
- **Paper:** [RealPersonaChat: A realistic persona chat corpus with interlocutors' own personalities](https://aclanthology.org/2023.paclic-1.85)
### Dataset Summary
RealPersonaChat は,話者本人のペルソナと性格特性を含む,約14,000件の日本語雑談対話からなるコーパスです.詳細は [GitHub](https://github.com/nu-dialogue/real-persona-chat) をご覧ください.
> [!CAUTION]
> **本コーパスの使用にあたっては,次のことに十分注意してください.**
> * 本コーパスのデータから個人を特定しようとしないこと.
> * 本コーパスを,特定の話者へのなりすましに用いないこと.
> * 本コーパスを話者の属性や性格特性の推定などに用いる際は,自身の情報を推定されたくない話者の権利についても留意すること [(Tatman, 2020)](https://www.rctatman.com/files/Tatman_2020_WiNLP_Keynote.pdf).
## Dataset Usage
```python
from datasets import load_dataset
dialogue_dataset = load_dataset(
"nu-dialogue/real-persona-chat",
name="dialogue",
trust_remote_code=True
)
interlocutor_dataset = load_dataset(
"nu-dialogue/real-persona-chat",
name="interlocutor",
trust_remote_code=True
)
```
## Dataset Structure
### Data Instances
本コーパスは,対話データと話者データからなります.
対話データには,対話ID,話者ID,発話,および,話者ごとの評価スコアが含まれます.評価スコアは,1が低いことを,5が高いことを示します.
```json
{
"dialogue_id": 1,
"interlocutors": ["AA", "AB"],
"utterances": {
"utterance_id": [0, 1, 2, 3, 4, 5, ...],
"interlocutor_id": ["AA", "AB", "AA", "AB", "AA", "AB", ...],
"text": ["よろしくお願いいたします。", "よろしくお願いします!", "今日は涼しいですね", "雨が降って、何か涼しくなりましたね。", "そうですね、明日も涼しいと聞きました", "そうなんですか!でも、ちょっと湿度が高い気がします。", ...],
"timestamp": [datetime.datetime(2022, 8, 6, 14, 51, 18, 360000), datetime.datetime(2022, 8, 6, 14, 51, 48, 482000), datetime.datetime(2022, 8, 6, 14, 51, 55, 538000), datetime.datetime(2022, 8, 6, 14, 52, 07, 388000), datetime.datetime(2022, 8, 6, 14, 52, 16, 400000), datetime.datetime(2022, 8, 6, 14, 52, 31, 076000), ...]
},
"evaluations": {
"interlocutor_id": ["AA", "AB"],
"informativeness": [5, 5],
"comprehension": [5, 5],
"familiarity": [5, 5],
"interest": [5, 5],
"proactiveness": [5, 5],
"satisfaction": [5, 5]
}
}
```
話者データには,話者IDをキーとして,話者ID,ペルソナ,性格特性,属性,テキストチャットの経験が含まれます.性格特性スコアが高いほど,その性格的な傾向が強いことを示します.
```json
{
"interlocutor_id": "AH",
"persona": [
"私は学生である。",
"埼玉県出身である。",
"私は毎日朝食を食べない。",
"私は毎日ウォーキングをする。",
"私はよくコンビニに行く。",
"私はタイピングが早い。",
"自分は物覚えが悪い。",
"自分は将来の目標が明確に決まっている。",
"毎日楽しいことを見つけられる。",
"自分は好きなものにはとことんこだわる。"
],
"personality": {
"BigFive_Openness": 5.25,
"BigFive_Conscientiousness": 3.1666667461395264,
"BigFive_Extraversion": 3.3333332538604736,
"BigFive_Agreeableness": 4.166666507720947,
"BigFive_Neuroticism": 4.416666507720947,
"KiSS18_BasicSkill": 4.0,
"KiSS18_AdvancedSkill": 4.333333492279053,
"KiSS18_EmotionalManagementSkill": 4.0,
"KiSS18_OffenceManagementSkill": 4.0,
"KiSS18_StressManagementSkill": 4.0,
"KiSS18_PlanningSkill": 4.666666507720947,
"IOS": 4,
"ATQ_Fear": 5.0,
"ATQ_Frustration": 3.5,
"ATQ_Sadness": 3.0,
"ATQ_Discomfort": 3.3333332538604736,
"ATQ_ActivationControl": 3.7142856121063232,
"ATQ_AttentionalControl": 3.799999952316284,
"ATQ_InhibitoryControl": 3.142857074737549,
"ATQ_Sociability": 4.0,
"ATQ_HighIntensityPleasure": 4.5714287757873535,
"ATQ_PositiveAffect": 3.4000000953674316,
"ATQ_NeutralPerceptualSensitivity": 4.199999809265137,
"ATQ_AffectivePerceptualSensitivity": 4.400000095367432,
"ATQ_AssociativeSensitivity": 4.800000190734863,
"SMS_Extraversion": 2.5999999046325684,
"SMS_OtherDirectedness": 3.5833332538604736,
"SMS_Acting": 3.75
},
"demographic_information": {
"gender": 0,
"age": 0,
"education": 4,
"employment_status": 2,
"region_of_residence": 10
},
"text_chat_experience": {
"age_of_first_chat": 0,
"frequency": 0,
"chatting_partners": [0, 1],
"typical_chat_content": "学校に関すること、事務連絡など"
}
}
```
### Data Fields
対話データの構造は次の通りです.
- `dialogue_id` (int32): 対話ID.
- `interlocutors` (sequence): 話者IDのリスト.
- `utterances` (sequence): 発話のリスト.
- `utterance_id` (int32): 発話ID.対話内で固有.0始まりのインデックス.
- `interlocutor_id` (string): 話者ID.
- `text` (string): 発話テキスト.
- `timestamp` (timestamp[us]): 発話終了時のタイムスタンプ.不明な場合は `0001-01-01T00:00:00.000000`
- `evaluations` (sequence): 話者ごとの評価スコアのリスト.
- `interlocutor_id` (string): 話者ID.
- `informativeness` (int32): 情報量の評価スコア (1~5).
- `comprehension` (int32): 理解度の評価スコア (1~5).
- `familiarity` (int32): 親しみやすさの評価スコア (1~5).
- `interest` (int32): 興味の評価スコア (1~5).
- `proactiveness` (int32): 積極性の評価スコア (1~5).
- `satisfaction` (int32): 満足度の評価スコア (1~5).
話者データの構造は次の通りです.
- `interlocutor_id` (strint): 話者ID.
- `persona` (sequence): ペルソナ.10文からなる.
- `personality` (struct): 性格特性.
- `BigFive_*` (float32): Big Five のスコア (1~7).
- `KiSS18_*` (float32): Kikuchi's Scale of Social Skills のスコア (1~5).
- `IOS` (int32): Inclusion of Others in the Self のスコア (1~7).
- `ATQ_*` (float32): Adult Temperament Questionnaire のスコア (1~7).
- `SMS_*` (float32): Self-Monitoring Scale のスコア (1~5).
- `demographic_information` (struct): 属性.
- `gender` (string): 性別.`Male`, `Female`, `Other` のいずれか.
- `age` (string): 年齢.`-19`, `20-29`, `30-39`, `40-49`, `50-59`, `60-69` のいずれか.
- `education` (string): 教育歴.`High school graduate`, `Two-year college`, `Four-year college`, `Postgraduate`, `Other` のいずれか.
- `employment_status` (string): 就労状況.`Employed`, `Homemaker`, `Student`, `Retired`, `Unable to work`, `None` のいずれか.
- `region_of_residence` (string): 居住地域.日本の都道府県名.
- `text_chat_experience` (struct): テキストチャットの経験.
- `age_of_first_chat` (string): 初めてテキストチャットをした時の年齢.`-9`, `10-19`, `20-29`, `30-39`, `40-49`, `50-59` のいずれか.
- `frequency` (string): 普段のテキストチャットの頻度.`Every day`, `Once every few days`, `Once a week`, `Less frequent than these` のいずれか.
- `chatting_partners` (sequence): 普段のテキストチャットの相手.`Family`, `Friend`, `Colleague`, `Other` のいずれか.
- `typical_chat_content` (string): 普段のテキストチャットの内容.
### Data Splits
対話データの分割は次の通りです.
| | train | validation | test |
| --- | --- | --- | --- |
| 対話数 | 13,583 | - | - |
| 発話数 | 408,619 | - | - |
話者データの分割は次の通りです.
| | train | validation | test |
| --- | --- | --- | --- |
| 話者数 | 233 | - | - |
### Citation Information
```bibtex
@inproceedings{yamashita-etal-2023-realpersonachat,
title = "{R}eal{P}ersona{C}hat: A Realistic Persona Chat Corpus with Interlocutors{'} Own Personalities",
author = "Yamashita, Sanae and
Inoue, Koji and
Guo, Ao and
Mochizuki, Shota and
Kawahara, Tatsuya and
Higashinaka, Ryuichiro",
booktitle = "Proceedings of the 37th Pacific Asia Conference on Language, Information and Computation",
year = "2023",
pages = "852--861"
}
@inproceedings{yamashita-etal-2024-realpersonachat-ja,
title = "{R}eal{P}ersona{C}hat: 話者本人のペルソナと性格特性を含んだ雑談対話コーパス",
author = "山下 紗苗 and 井上 昂治 and 郭 傲 and 望月 翔太 and 河原 達也 and 東中 竜一郎",
booktitle = "言語処理学会第30回年次大会発表論文集",
year = "2024",
pages = "2738--2743"
}
```
## Acknowledgment
本コーパスは,[JSTムーンショット型研究開発事業,JPMJMS2011](https://www.avatar-ss.org/) の支援を受けて構築しました.
<img src="https://github.com/nu-dialogue/real-persona-chat/blob/main/Moonshot_Logo.png?raw=true" alt="ムーンショットのロゴ" style="max-width: 100%; width: 300px;">
## License
本コーパスは [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/deed.ja) の下で提供されます.
[![CC BY-SA 4.0](https://i.creativecommons.org/l/by-sa/4.0/88x31.png)](https://creativecommons.org/licenses/by-sa/4.0/deed.ja)