Skip to content

Commit 58e47a5

Browse files
committed
deepmind/code_contests
1 parent 402f64a commit 58e47a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/about_mapstyle_vs_iterable.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ But using a shuffle buffer is not enough to provide a satisfactory shuffling for
138138

139139
```python
140140
# Stream from the internet
141-
my_iterable_dataset = load_dataset("c4", "en", split="train", streaming=True)
142-
my_iterable_dataset.n_shards # 1024
141+
my_iterable_dataset = load_dataset("deepmind/code_contests", split="train", streaming=True)
142+
my_iterable_dataset.n_shards # 39
143143

144144
# Stream from local files
145145
data_files = {"train": [f"path/to/data_{i}.csv" for i in range(1024)]}

0 commit comments

Comments
 (0)