Datasets:

ArXiv:
License:
NamCyan commited on
Commit
59f2ea7
·
1 Parent(s): d4cc259
Files changed (1) hide show
  1. the-vault.py +1 -0
the-vault.py CHANGED
@@ -57,6 +57,7 @@ class TheVaultConfig(datasets.BuilderConfig):
57
  )
58
 
59
  languages = set(languages)
 
60
 
61
  assert all([language in _LANG_CONFIGS for language in languages]), f"languages {languages} contains language not in {_LANG_CONFIGS}."
62
  assert all([split in _SPLIT_CONFIGS for split in split_set]), "split_set {} contains element not in {}.".format(split_set, _SPLIT_CONFIGS)
 
57
  )
58
 
59
  languages = set(languages)
60
+ split_set = set(split_set)
61
 
62
  assert all([language in _LANG_CONFIGS for language in languages]), f"languages {languages} contains language not in {_LANG_CONFIGS}."
63
  assert all([split in _SPLIT_CONFIGS for split in split_set]), "split_set {} contains element not in {}.".format(split_set, _SPLIT_CONFIGS)