clemsadand commited on
Commit
42404d2
·
verified ·
1 Parent(s): f7c4648

Update small_mc4.py

Browse files
Files changed (1) hide show
  1. small_mc4.py +2 -2
small_mc4.py CHANGED
@@ -109,13 +109,13 @@ class Mc4(datasets.GeneratorBasedBuilder):
109
  n_shards=_N_SHARDS_PER_SPLIT[lang][split],
110
  )
111
  for lang in self.config.languages
112
- for index in range(_N_SHARDS_PER_SPLIT[lang][split])
113
  if check_file_exists(
114
  _DATA_URL.format(
115
  language=lang,
116
  split_suffix="-validation" if split == "validation" else "",
117
  index=index,
118
- n_shards=_N_SHARDS_PER_SPLIT[lang][split],
119
  )
120
  )
121
  ]
 
109
  n_shards=_N_SHARDS_PER_SPLIT[lang][split],
110
  )
111
  for lang in self.config.languages
112
+ for index in range(10)
113
  if check_file_exists(
114
  _DATA_URL.format(
115
  language=lang,
116
  split_suffix="-validation" if split == "validation" else "",
117
  index=index,
118
+ n_shards= 10,
119
  )
120
  )
121
  ]