Datasets:
The dataset viewer is not available for this dataset.
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Empathetic Dialogues for LLM
This repository contains a reformatted version of the Empathetic Dialogues dataset, tailored for seamless integration with Language Model (LLM) training and inference. The original dataset's format posed challenges for direct application in LLM tasks, prompting us to restructure and clean the data.
Data Restructuring
We have implemented the following changes to enhance the dataset's usability:
- Merged dialogues with the same
conv_id, treating eachconv_idas an independent dialogue session. - Assigned the
userrole to the initiator of each dialogue session, followed byassistantfor the subsequent message, and so on, alternating between the two roles. - Retained the original
conv_id,emotion, andsituationfields to facilitate the construction of instructions. - Removed the
utterance_id,selfeval, andtagsfields to streamline the data. - Replaced instances of
'_comma_'with','for improved readability.
Data Format
Each entry in the reformatted dataset consists of the following fields:
conversations: A list of dictionaries, where each dictionary represents a turn in the dialogue and contains:role: A string indicating the speaker's role, eitheruserorassistant.content: A string containing the dialogue content.
conv_id: A string representing the unique identifier for the dialogue session.emotion: A string indicating the emotional label associated with the dialogue (corresponds to thecontextfield in the original dataset).situation: A string describing the situational label for the dialogue (corresponds to thepromptfield in the original dataset).
Important Note
In the original Empathetic Dialogues dataset, not all dialogue sessions have an even number of conversation turns. To maintain the integrity of the dataset, we have preserved this characteristic in our reformatted version. However, this peculiarity may lead to potential bugs when directly applying the dataset to LLM training or inference. Users should be mindful of this aspect when working with the data.
Dataset Statistics
| Dataset | Total Turn | Average Turn | Average Length |
|---|---|---|---|
| Train | 84,167 | 4.309 | 13.589 |
| Validation | 12,077 | 4.360 | 14.685 |
| Test | 10,972 | 4.308 | 15.499 |
- Downloads last month
- 695