Dr. Jorge Abreu Vicente commited on
Commit
d1a8022
1 Parent(s): f92eb08

Solving multiple version values

Browse files
Files changed (1) hide show
  1. BLURB.py +1 -3
BLURB.py CHANGED
@@ -73,7 +73,7 @@ class BlurbConfig(datasets.BuilderConfig):
73
  **kwargs: keyword arguments forwarded to super.
74
  """
75
  # Version history:
76
- super(BlurbConfig, self).__init__(version=datasets.Version("1.0.0"), **kwargs)
77
  self.task = task
78
  self.label_classes = label_classes
79
  self.data_url = data_url
@@ -97,11 +97,9 @@ class BlurbConfig(datasets.BuilderConfig):
97
  class Blurb(datasets.GeneratorBasedBuilder):
98
  """BLURB benchmark dataset for Biomedical Language Understanding and Reasoning Benchmark."""
99
 
100
- VERSION = datasets.Version("1.0.0")
101
 
102
  BUILDER_CONFIGS = [
103
  BlurbConfig(name='BC5CDR-chem-IOB', task='ner', label_classes=['O', 'B-Chemical', 'I-Chemical'],
104
- version=datasets.Version(_VERSION),
105
  data_url = "https://github.com/cambridgeltl/MTL-Bioinformatics-2016/tree/master/data/",
106
  description='BC5-CHEM',
107
  citation=CITATION_BC5_CHEM)
 
73
  **kwargs: keyword arguments forwarded to super.
74
  """
75
  # Version history:
76
+ super(BlurbConfig, self).__init__(version=datasets.Version(_VERSION), **kwargs)
77
  self.task = task
78
  self.label_classes = label_classes
79
  self.data_url = data_url
 
97
  class Blurb(datasets.GeneratorBasedBuilder):
98
  """BLURB benchmark dataset for Biomedical Language Understanding and Reasoning Benchmark."""
99
 
 
100
 
101
  BUILDER_CONFIGS = [
102
  BlurbConfig(name='BC5CDR-chem-IOB', task='ner', label_classes=['O', 'B-Chemical', 'I-Chemical'],
 
103
  data_url = "https://github.com/cambridgeltl/MTL-Bioinformatics-2016/tree/master/data/",
104
  description='BC5-CHEM',
105
  citation=CITATION_BC5_CHEM)