system HF staff commited on
Commit
f6a014c
1 Parent(s): ab33ab2

Update files from the datasets library (from 1.18.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.18.0

Files changed (1) hide show
  1. mc4.py +1 -1
mc4.py CHANGED
@@ -299,7 +299,7 @@ class Mc4(datasets.GeneratorBasedBuilder):
299
  for split in ["train", "validation"]:
300
  data_urls[split] = [
301
  _DATA_URL.format(
302
- language=self.config.name,
303
  split_suffix="-validation" if split == "validation" else "",
304
  index=index,
305
  n_shards=_N_SHARDS_PER_SPLIT[lang][split],
 
299
  for split in ["train", "validation"]:
300
  data_urls[split] = [
301
  _DATA_URL.format(
302
+ language=lang,
303
  split_suffix="-validation" if split == "validation" else "",
304
  index=index,
305
  n_shards=_N_SHARDS_PER_SPLIT[lang][split],