mathiascreutz commited on
Commit
ebbf42b
1 Parent(s): a26f984

Testing configs

Browse files
Files changed (1) hide show
  1. opusparcus.py +1 -2
opusparcus.py CHANGED
@@ -67,7 +67,6 @@ class OpusparcusConfig(datasets.BuilderConfig):
67
  super(OpusparcusConfig, self).__init__(
68
  name="{0}".format(lang),
69
  description="Opusparcus dataset for {0}".format(lang),
70
- version=_VERSION,
71
  **kwargs,
72
  )
73
  self.lang = lang
@@ -88,7 +87,7 @@ class Opusparcus(datasets.GeneratorBasedBuilder):
88
  # data = datasets.load_dataset('my_dataset', 'first_domain')
89
  # data = datasets.load_dataset('my_dataset', 'second_domain')
90
  BUILDER_CONFIGS = [
91
- OpusparcusConfig(lang=lang) for lang in LANGS
92
  ]
93
 
94
  #DEFAULT_CONFIG_NAME = "test" # It's not mandatory to have a default configuration. Just use one if it make sense.
 
67
  super(OpusparcusConfig, self).__init__(
68
  name="{0}".format(lang),
69
  description="Opusparcus dataset for {0}".format(lang),
 
70
  **kwargs,
71
  )
72
  self.lang = lang
 
87
  # data = datasets.load_dataset('my_dataset', 'first_domain')
88
  # data = datasets.load_dataset('my_dataset', 'second_domain')
89
  BUILDER_CONFIGS = [
90
+ OpusparcusConfig(lang=lang, version=_VERSION) for lang in LANGS
91
  ]
92
 
93
  #DEFAULT_CONFIG_NAME = "test" # It's not mandatory to have a default configuration. Just use one if it make sense.