Kevin Zhao commited on
Commit
8daa708
·
1 Parent(s): 468405d

Fix version

Browse files
Files changed (1) hide show
  1. oLMpics.py +1 -3
oLMpics.py CHANGED
@@ -56,8 +56,6 @@ _URLS = {task: [f"{_URL}{task}/train.jsonl", f"{_URL}{task}/test.jsonl"] for tas
56
  class OLMpicsDataset(datasets.GeneratorBasedBuilder):
57
  """TODO: Short description of my dataset."""
58
 
59
- VERSION = datasets.Version("1.0.0")
60
-
61
  # This is an example of a dataset with multiple configurations.
62
  # If you don't want/need to define several sub-sets in your dataset,
63
  # just remove the BUILDER_CONFIG_CLASS and the BUILDER_CONFIGS attributes.
@@ -70,7 +68,7 @@ class OLMpicsDataset(datasets.GeneratorBasedBuilder):
70
  # data = datasets.load_dataset('my_dataset', 'first_domain')
71
  # data = datasets.load_dataset('my_dataset', 'second_domain')
72
  BUILDER_CONFIGS = [
73
- datasets.BuilderConfig(name=task, version=VERSION, description=f"{task} description") for task in TASKS
74
  ]
75
 
76
  def _info(self):
 
56
  class OLMpicsDataset(datasets.GeneratorBasedBuilder):
57
  """TODO: Short description of my dataset."""
58
 
 
 
59
  # This is an example of a dataset with multiple configurations.
60
  # If you don't want/need to define several sub-sets in your dataset,
61
  # just remove the BUILDER_CONFIG_CLASS and the BUILDER_CONFIGS attributes.
 
68
  # data = datasets.load_dataset('my_dataset', 'first_domain')
69
  # data = datasets.load_dataset('my_dataset', 'second_domain')
70
  BUILDER_CONFIGS = [
71
+ datasets.BuilderConfig(name=task, version=datasets.Version("1.0.0"), description=f"{task} description") for task in TASKS
72
  ]
73
 
74
  def _info(self):