Datasets:

ArXiv:
License:
NamCyan commited on
Commit
c9583e3
1 Parent(s): d12525e
Files changed (1) hide show
  1. the-vault-function.py +1 -1
the-vault-function.py CHANGED
@@ -125,7 +125,7 @@ class TheVaultFunction(datasets.GeneratorBasedBuilder):
125
 
126
  for split in split_set:
127
  for language in languages:
128
- num_shards = num_shard_split[f"{split}{language}/"]
129
  data_files = [
130
  f"data/{split}/{language}-{_index:05d}-of-{num_shards:05d}.parquet"
131
  for _index in range(num_shards)
 
125
 
126
  for split in split_set:
127
  for language in languages:
128
+ num_shards = num_shard_split[f"{split}/{language}"]
129
  data_files = [
130
  f"data/{split}/{language}-{_index:05d}-of-{num_shards:05d}.parquet"
131
  for _index in range(num_shards)