versae commited on
Commit
7bf4003
1 Parent(s): 96fc0c7

Fix the code snippet in README

Browse files
Files changed (1) hide show
  1. README.md +5 -5
README.md CHANGED
@@ -95,16 +95,16 @@ each of the executed subsampling procedures. All subsets can be easily accessed
95
  ```python
96
  from datasets import load_dataset
97
 
98
- for split in ("random", "stepwise", "gaussian"):
99
  mc4es = load_dataset(
100
  "bertin-project/mc4-es-sampled",
101
- "train",
102
- split=split,
103
  streaming=True
104
  ).shuffle(buffer_size=1000)
105
  for sample in mc4es:
106
- print(split, sample)
107
- break
108
  ```
109
 
110
  <figure>
 
95
  ```python
96
  from datasets import load_dataset
97
 
98
+ for config in ("random", "stepwise", "gaussian"):
99
  mc4es = load_dataset(
100
  "bertin-project/mc4-es-sampled",
101
+ config,
102
+ split="train",
103
  streaming=True
104
  ).shuffle(buffer_size=1000)
105
  for sample in mc4es:
106
+ print(config, sample)
107
+ break
108
  ```
109
 
110
  <figure>