Estwld commited on
Commit
89b3ede
1 Parent(s): bcee991

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -0
README.md CHANGED
@@ -34,4 +34,47 @@ configs:
34
  path: data/validation-*
35
  - split: test
36
  path: data/test-*
 
 
 
 
 
 
 
 
 
 
 
37
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  path: data/validation-*
35
  - split: test
36
  path: data/test-*
37
+ license: apache-2.0
38
+ task_categories:
39
+ - text-generation
40
+ language:
41
+ - en
42
+ tags:
43
+ - empathetic
44
+ - ED
45
+ - dialogue
46
+ size_categories:
47
+ - 10K<n<100K
48
  ---
49
+
50
+
51
+ # Empathetic Dialogues for LLM
52
+ 
53
+ 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.
54
+ 
55
+ ## Data Restructuring
56
+ 
57
+ We have implemented the following changes to enhance the dataset's usability:
58
+ 
59
+ 1. Merged dialogues with the same `conv_id`, treating each `conv_id` as an independent dialogue session.
60
+ 2. Assigned the `user` role to the initiator of each dialogue session, followed by `assistant` for the subsequent message, and so on, alternating between the two roles.
61
+ 3. Retained the original `conv_id`, `emotion`, and `situation` fields to facilitate the construction of instructions.
62
+ 4. Removed the `utterance_id`, `selfeval`, and `tags` fields to streamline the data.
63
+ 5. Replaced instances of `'_comma_'` with `','` for improved readability.
64
+ 
65
+ ## Data Format
66
+ 
67
+ Each entry in the reformatted dataset consists of the following fields:
68
+ 
69
+ - `conversations`: A list of dictionaries, where each dictionary represents a turn in the dialogue and contains:
70
+ - `role`: A string indicating the speaker's role, either `user` or `assistant`.
71
+ - `content`: A string containing the dialogue content.
72
+ - `conv_id`: A string representing the unique identifier for the dialogue session.
73
+ - `emotion`: A string indicating the emotional label associated with the dialogue (corresponds to the `context` field in the original dataset).
74
+ - `situation`: A string describing the situational label for the dialogue (corresponds to the `prompt` field in the original dataset).
75
+ 
76
+ ## Important Note
77
+ 
78
+ 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.
79
+ 
80
+