juliehunter commited on
Commit
3f9e066
1 Parent(s): 77cb3f4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -5
README.md CHANGED
@@ -151,13 +151,18 @@ To load the dataset
151
 
152
  import datasets
153
 
154
- exampleset = datasets.load_dataset("linagora/SUMM-RE", "example", split="train")
155
- testset = datasets.load_dataset("linagora/SUMM-RE", "test", split="train")
156
- devset = datasets.load_dataset("linagora/SUMM-RE", "dev", split="train")
157
- trainset = datasets.load_dataset("linagora/SUMM-RE", "train", split="train")
 
 
 
 
 
 
158
  ```
159
 
160
- Note that the `dev`, `train`and `test`splits are treated as configs, where each config has a single split, "train".
161
 
162
  ## Dataset Creation
163
 
 
151
 
152
  import datasets
153
 
154
+ ds = datasets.load_dataset("linagora/SUMM-RE", name="main")
155
+ ```
156
+
157
+ To load a particular split only, e.g. `dev`:
158
+
159
+ ```python
160
+
161
+ import datasets
162
+
163
+ ds = datasets.load_dataset("linagora/SUMM-RE", name="main", split="dev")
164
  ```
165
 
 
166
 
167
  ## Dataset Creation
168