Fix the code snippet in README
Browse files
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
|
99 |
mc4es = load_dataset(
|
100 |
"bertin-project/mc4-es-sampled",
|
101 |
-
|
102 |
-
split=
|
103 |
streaming=True
|
104 |
).shuffle(buffer_size=1000)
|
105 |
for sample in mc4es:
|
106 |
-
print(
|
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>
|