patriziobellan commited on
Commit
3742211
1 Parent(s): bc4eb06

Update PET.py

Browse files
Files changed (1) hide show
  1. PET.py +3 -3
PET.py CHANGED
@@ -142,12 +142,12 @@ class PET(datasets.GeneratorBasedBuilder):
142
  ))
143
  BUILDER_CONFIGS = [ PETConfig(
144
  name=_NER,
145
- version=datasets.Version("1.0.1"),
146
  description="The PET Dataset for Token Classification"
147
  ),
148
  PETConfig(
149
  name=_RELATIONS_EXTRACTION,
150
- version=datasets.Version("1.0.1"),
151
  description="The PET Dataset for Relation Extraction"
152
  ),
153
  # PETConfig(
@@ -189,7 +189,7 @@ class PET(datasets.GeneratorBasedBuilder):
189
  )
190
 
191
  def _split_generators(self, dl_manager):
192
- print(f"{self.config.version}")
193
  if self.config.name == _NER:
194
  if self.config.version=='1.0.1':
195
  urls_to_download = {
 
142
  ))
143
  BUILDER_CONFIGS = [ PETConfig(
144
  name=_NER,
145
+ # version=datasets.Version("1.0.1"),
146
  description="The PET Dataset for Token Classification"
147
  ),
148
  PETConfig(
149
  name=_RELATIONS_EXTRACTION,
150
+ # version=datasets.Version("1.0.1"),
151
  description="The PET Dataset for Relation Extraction"
152
  ),
153
  # PETConfig(
 
189
  )
190
 
191
  def _split_generators(self, dl_manager):
192
+ print(f"{self.config.version=}")
193
  if self.config.name == _NER:
194
  if self.config.version=='1.0.1':
195
  urls_to_download = {