system HF staff commited on
Commit
d83a2d2
1 Parent(s): 8ffe18f

Update files from the datasets library (from 1.2.1)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.2.1

Files changed (1) hide show
  1. README.md +76 -14
README.md CHANGED
@@ -14,8 +14,10 @@ source_datasets:
14
  - original
15
  task_categories:
16
  - other
 
17
  task_ids:
18
  - other-other-relation-extraction
 
19
  ---
20
 
21
  # Dataset Card for [DialogRE]
@@ -45,35 +47,82 @@ task_ids:
45
 
46
  ## Dataset Description
47
 
48
- - **Homepage:** [Github](https://github.com/nlpdata/dialogre)
49
- - **Repository:** [Github](https://github.com/nlpdata/dialogre)
50
  - **Paper:** [Arxiv](https://arxiv.org/abs/2004.08056v1)
51
- - **Leaderboard:**
52
- - **Point of Contact:**
53
 
54
  ### Dataset Summary
55
 
56
- [More Information Needed]
57
 
58
  ### Supported Tasks and Leaderboards
59
 
60
- [More Information Needed]
61
 
62
  ### Languages
63
 
64
- [More Information Needed]
65
 
66
  ## Dataset Structure
67
 
68
  ### Data Instances
69
 
70
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
 
72
  ### Data Fields
73
 
74
  * `dialog`
75
 
76
- * List of dialog spoken between two speakers
77
 
78
  * List of annotations per dialog per argument
79
 
@@ -81,15 +130,19 @@ task_ids:
81
 
82
  * `y` : Second entity
83
 
84
- * `x_type` : First entity type
85
- * `y_type`: Second entity type
86
  * `r` : List of relations
87
  * `rid`: List of relation IDs
88
  * `t`: List of relation Trigger words
89
 
90
  ### Data Splits
91
 
92
- [More Information Needed]
 
 
 
 
93
 
94
  ## Dataset Creation
95
 
@@ -143,8 +196,17 @@ task_ids:
143
 
144
  ### Licensing Information
145
 
146
- [More Information Needed]
147
 
148
  ### Citation Information
149
 
150
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
14
  - original
15
  task_categories:
16
  - other
17
+ - sequence-modeling
18
  task_ids:
19
  - other-other-relation-extraction
20
+ - dialogue-modeling
21
  ---
22
 
23
  # Dataset Card for [DialogRE]
 
47
 
48
  ## Dataset Description
49
 
50
+ - **Homepage:** [DialogRE Homepage](https://dataset.org/dialogre/)
51
+ - **Repository:** [DialogRE Repository](https://github.com/nlpdata/dialogre)
52
  - **Paper:** [Arxiv](https://arxiv.org/abs/2004.08056v1)
53
+ - **Point of Contact:** [dialogre@dataset.org](mailto:dialogre@dataset.org)
 
54
 
55
  ### Dataset Summary
56
 
57
+ The DialogRE dataset is the first human-annotated dialogue-based relation extraction (RE) dataset, aiming to support the prediction of relation(s) between two arguments that appear in a dialogue. DialogRE can also act as a platform for studying cross-sentence RE as most facts span multiple sentences. Specifically, the dataset annotate all occurrences of 36 possible relation types that exist between pairs of arguments in the 1,788 dialogues originating from the complete transcripts of Friends (in English).
58
 
59
  ### Supported Tasks and Leaderboards
60
 
61
+ * `other-other-relation-extraction`: The dataset can be used to train a model for Relation Extraction, which consists of the prediction of relation between two arguments that appear in a dialogue. Success on this task is typically measured by achieving a *high* [F1 Score](https://huggingface.co/metrics/f1).
62
 
63
  ### Languages
64
 
65
+ The dialogues in the dataset is in English originating from the transcripts of Friends. The associated BCP-47 code is `en`.
66
 
67
  ## Dataset Structure
68
 
69
  ### Data Instances
70
 
71
+ A typical data point consists of a dialogue between speakers as a list of sentences. This is followed by the annotations of the relations between the entities in the dialog.
72
+
73
+ An example from the DialogRE train set looks as follows:
74
+
75
+ ```
76
+ {'dialog': ["Speaker 1: It's been an hour and not one of my classmates has shown up! I tell you, when I actually die some people are gonna get seriously haunted!",
77
+ 'Speaker 2: There you go! Someone came!',
78
+ "Speaker 1: Ok, ok! I'm gonna go hide! Oh, this is so exciting, my first mourner!",
79
+ 'Speaker 3: Hi, glad you could come.',
80
+ 'Speaker 2: Please, come in.',
81
+ "Speaker 4: Hi, you're Chandler Bing, right? I'm Tom Gordon, I was in your class.",
82
+ 'Speaker 2: Oh yes, yes... let me... take your coat.',
83
+ "Speaker 4: Thanks... uh... I'm so sorry about Ross, it's...",
84
+ 'Speaker 2: At least he died doing what he loved... watching blimps.',
85
+ 'Speaker 1: Who is he?',
86
+ 'Speaker 2: Some guy, Tom Gordon.',
87
+ "Speaker 1: I don't remember him, but then again I touched so many lives.",
88
+ 'Speaker 3: So, did you know Ross well?',
89
+ "Speaker 4: Oh, actually I barely knew him. Yeah, I came because I heard Chandler's news. D'you know if he's seeing anyone?",
90
+ 'Speaker 3: Yes, he is. Me.',
91
+ 'Speaker 4: What? You... You... Oh! Can I ask you a personal question? Ho-how do you shave your beard so close?',
92
+ "Speaker 2: Ok Tommy, that's enough mourning for you! Here we go, bye bye!!",
93
+ 'Speaker 4: Hey, listen. Call me.',
94
+ 'Speaker 2: Ok!'],
95
+ 'relation_data': {'r': [['per:alternate_names'],
96
+ ['per:alumni'],
97
+ ['per:alternate_names'],
98
+ ['per:alumni', 'per:positive_impression'],
99
+ ['per:alternate_names'],
100
+ ['unanswerable']],
101
+ 'rid': [[30], [4], [30], [4, 1], [30], [37]],
102
+ 't': [[''], [''], [''], ['', 'call me'], [''], ['']],
103
+ 'x': ['Speaker 2',
104
+ 'Speaker 2',
105
+ 'Speaker 4',
106
+ 'Speaker 4',
107
+ 'Speaker 4',
108
+ 'Speaker 1'],
109
+ 'x_type': ['PER', 'PER', 'PER', 'PER', 'PER', 'PER'],
110
+ 'y': ['Chandler Bing',
111
+ 'Speaker 4',
112
+ 'Tom Gordon',
113
+ 'Speaker 2',
114
+ 'Tommy',
115
+ 'Tommy'],
116
+ 'y_type': ['PER', 'PER', 'PER', 'PER', 'PER', 'PER']}}
117
+ ```
118
+
119
+
120
 
121
  ### Data Fields
122
 
123
  * `dialog`
124
 
125
+ * List of dialog spoken between the speakers
126
 
127
  * List of annotations per dialog per argument
128
 
 
130
 
131
  * `y` : Second entity
132
 
133
+ * `x_type` : Type of the first entity
134
+ * `y_type`: Type of the second entity
135
  * `r` : List of relations
136
  * `rid`: List of relation IDs
137
  * `t`: List of relation Trigger words
138
 
139
  ### Data Splits
140
 
141
+ The data is split into a training, validation and test set as per the original dataset split.
142
+
143
+ | | Tain | Valid | Test |
144
+ | --------------------- | ---- | ----- | ---- |
145
+ | Input dialog examples | 1073 | 358 | 357 |
146
 
147
  ## Dataset Creation
148
 
 
196
 
197
  ### Licensing Information
198
 
199
+ DialogRE dataset is intended for non-commercial research purpose only
200
 
201
  ### Citation Information
202
 
203
+ ```
204
+ @inproceedings{yu2020dialogue,
205
+ title={Dialogue-Based Relation Extraction},
206
+ author={Yu, Dian and Sun, Kai and Cardie, Claire and Yu, Dong},
207
+ booktitle={Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics},
208
+ year={2020},
209
+ url={https://arxiv.org/abs/2004.08056v1}
210
+ }
211
+ ```
212
+