juliehunter commited on
Commit
7ee5956
1 Parent(s): 6b5492d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -10
README.md CHANGED
@@ -44,7 +44,7 @@ dataset_info:
44
  download_size: 120234623488
45
  dataset_size: 102802035597
46
  configs:
47
- - config_name: all
48
  data_files:
49
  - split: dev
50
  path: data/dev/*
@@ -53,7 +53,6 @@ configs:
53
  - split: train
54
  path: data/train/*
55
  - config_name: example
56
- default: true
57
  data_files:
58
  - split: example
59
  path: data/example/*
@@ -150,13 +149,13 @@ The corpus contains the following information for each .wav file:
150
 
151
  ## Example Use
152
 
153
- To load the dataset
154
 
155
  ```python
156
 
157
  import datasets
158
 
159
- ds = datasets.load_dataset("linagora/SUMM-RE", name="all")
160
  ```
161
 
162
  To load a particular split only, e.g. `dev`:
@@ -165,24 +164,25 @@ To load a particular split only, e.g. `dev`:
165
 
166
  import datasets
167
 
168
- ds = datasets.load_dataset("linagora/SUMM-RE", name="all", data_files={'dev': 'data/dev/*'})
169
 
170
  print(ds['dev'][0])
171
  ```
172
 
173
- or with streaming:
174
 
175
  ```python
176
 
177
  import datasets
178
 
179
- ds = datasets.load_dataset("linagora/SUMM-RE", name="all", split="dev", streaming=True)
180
 
181
- for recording in ds:
182
- rec_id = recording["meeting_id"]
183
- print(rec_id)
184
  ```
185
 
 
186
 
187
  ## Dataset Creation
188
 
 
44
  download_size: 120234623488
45
  dataset_size: 102802035597
46
  configs:
47
+ - config_name: default
48
  data_files:
49
  - split: dev
50
  path: data/dev/*
 
53
  - split: train
54
  path: data/train/*
55
  - config_name: example
 
56
  data_files:
57
  - split: example
58
  path: data/example/*
 
149
 
150
  ## Example Use
151
 
152
+ To load the full dataset
153
 
154
  ```python
155
 
156
  import datasets
157
 
158
+ ds = datasets.load_dataset("linagora/SUMM-RE")
159
  ```
160
 
161
  To load a particular split only, e.g. `dev`:
 
164
 
165
  import datasets
166
 
167
+ ds = datasets.load_dataset("linagora/SUMM-RE", data_files={'dev': 'data/dev/*'})
168
 
169
  print(ds['dev'][0])
170
  ```
171
 
172
+ Use streaming to avoid downloading the full dataset:
173
 
174
  ```python
175
 
176
  import datasets
177
 
178
+ ds = datasets.load_dataset("linagora/SUMM-RE", split="dev", streaming=True)
179
 
180
+ for sample in ds:
181
+ print(sample)
182
+ break
183
  ```
184
 
185
+ Note: if the data viewer is not working, use the "example" subset.
186
 
187
  ## Dataset Creation
188