versae commited on
Commit
20aa2fe
1 Parent(s): 8c50e78

Update mc4-sampling.py

Browse files
Files changed (1) hide show
  1. mc4-sampling.py +1 -1
mc4-sampling.py CHANGED
@@ -387,7 +387,7 @@ class Mc4Sampling(datasets.GeneratorBasedBuilder):
387
  for split in ["train", "validation"]:
388
  data_urls[split] = [
389
  _DATA_URL.format(
390
- language=self.config.name,
391
  split_suffix="-validation" if split == "validation" else "",
392
  index=index,
393
  n_shards=_N_SHARDS_PER_SPLIT[lang][split],
 
387
  for split in ["train", "validation"]:
388
  data_urls[split] = [
389
  _DATA_URL.format(
390
+ language=lang,
391
  split_suffix="-validation" if split == "validation" else "",
392
  index=index,
393
  n_shards=_N_SHARDS_PER_SPLIT[lang][split],