system HF staff commited on
Commit
7403845
1 Parent(s): ab84b33

Update files from the datasets library (from 1.7.0)

Browse files

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

Files changed (2) hide show
  1. README.md +17 -4
  2. crd3.py +2 -2
README.md CHANGED
@@ -1,4 +1,5 @@
1
  ---
 
2
  ---
3
 
4
  # Dataset Card for "crd3"
@@ -6,12 +7,12 @@
6
  ## Table of Contents
7
  - [Dataset Description](#dataset-description)
8
  - [Dataset Summary](#dataset-summary)
9
- - [Supported Tasks](#supported-tasks)
10
  - [Languages](#languages)
11
  - [Dataset Structure](#dataset-structure)
12
  - [Data Instances](#data-instances)
13
  - [Data Fields](#data-fields)
14
- - [Data Splits Sample Size](#data-splits-sample-size)
15
  - [Dataset Creation](#dataset-creation)
16
  - [Curation Rationale](#curation-rationale)
17
  - [Source Data](#source-data)
@@ -46,7 +47,7 @@ abstractive summaries collected from the Fandom wiki. The dataset is linguistica
46
  collaboration and spoken interaction. For each dialogue, there are a large number of turns, multiple abstractive summaries with varying levels of detail,
47
  and semantic ties to the previous dialogues.
48
 
49
- ### Supported Tasks
50
 
51
  [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
52
 
@@ -97,7 +98,7 @@ The data fields are the same among all splits.
97
  - `names`: a `string` feature.
98
  - `utterances`: a `string` feature.
99
 
100
- ### Data Splits Sample Size
101
 
102
  | name | train |validation| test |
103
  |-------|------:|---------:|------:|
@@ -111,10 +112,22 @@ The data fields are the same among all splits.
111
 
112
  ### Source Data
113
 
 
 
 
 
 
 
114
  [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
115
 
116
  ### Annotations
117
 
 
 
 
 
 
 
118
  [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
119
 
120
  ### Personal and Sensitive Information
 
1
  ---
2
+ paperswithcode_id: crd3
3
  ---
4
 
5
  # Dataset Card for "crd3"
 
7
  ## Table of Contents
8
  - [Dataset Description](#dataset-description)
9
  - [Dataset Summary](#dataset-summary)
10
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
11
  - [Languages](#languages)
12
  - [Dataset Structure](#dataset-structure)
13
  - [Data Instances](#data-instances)
14
  - [Data Fields](#data-fields)
15
+ - [Data Splits](#data-splits)
16
  - [Dataset Creation](#dataset-creation)
17
  - [Curation Rationale](#curation-rationale)
18
  - [Source Data](#source-data)
 
47
  collaboration and spoken interaction. For each dialogue, there are a large number of turns, multiple abstractive summaries with varying levels of detail,
48
  and semantic ties to the previous dialogues.
49
 
50
+ ### Supported Tasks and Leaderboards
51
 
52
  [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
53
 
 
98
  - `names`: a `string` feature.
99
  - `utterances`: a `string` feature.
100
 
101
+ ### Data Splits
102
 
103
  | name | train |validation| test |
104
  |-------|------:|---------:|------:|
 
112
 
113
  ### Source Data
114
 
115
+ #### Initial Data Collection and Normalization
116
+
117
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
118
+
119
+ #### Who are the source language producers?
120
+
121
  [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
122
 
123
  ### Annotations
124
 
125
+ #### Annotation process
126
+
127
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
128
+
129
+ #### Who are the annotators?
130
+
131
  [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
132
 
133
  ### Personal and Sensitive Information
crd3.py CHANGED
@@ -126,7 +126,7 @@ class CRD3(datasets.GeneratorBasedBuilder):
126
  def _generate_examples(self, files_path):
127
  """Yields examples."""
128
 
129
- for file in files_path:
130
  with open(file, encoding="utf-8") as f:
131
  data = json.load(f)
132
  for id1, row in enumerate(data):
@@ -139,7 +139,7 @@ class CRD3(datasets.GeneratorBasedBuilder):
139
  turn_names = turn["NAMES"]
140
  turn_utterances = turn["UTTERANCES"]
141
  turn_num = turn["NUMBER"]
142
- yield str(id1) + "_" + str(id2), {
143
  "chunk": chunk,
144
  "chunk_id": chunk_id,
145
  "turn_start": turn_start,
 
126
  def _generate_examples(self, files_path):
127
  """Yields examples."""
128
 
129
+ for id0, file in enumerate(files_path):
130
  with open(file, encoding="utf-8") as f:
131
  data = json.load(f)
132
  for id1, row in enumerate(data):
 
139
  turn_names = turn["NAMES"]
140
  turn_utterances = turn["UTTERANCES"]
141
  turn_num = turn["NUMBER"]
142
+ yield str(id0) + "_" + str(id1) + "_" + str(id2), {
143
  "chunk": chunk,
144
  "chunk_id": chunk_id,
145
  "turn_start": turn_start,