Datasets:

Modalities:
Text
Languages:
English
Libraries:
Datasets
License:
gabrielaltay commited on
Commit
5ef3af6
·
1 Parent(s): 0fc3dba

update pairs_features typo (#1)

Browse files

- update pairs_features typo (13d74a477365e49245d465932488f70c001a8ed1)

Files changed (1) hide show
  1. scifact.py +2 -2
scifact.py CHANGED
@@ -22,7 +22,7 @@ import datasets
22
  from datasets import Value
23
  import pandas as pd
24
 
25
- from .bigbiohub import pairs.features
26
  from .bigbiohub import BigBioConfig
27
  from .bigbiohub import Tasks
28
 
@@ -170,7 +170,7 @@ class SciFact(datasets.GeneratorBasedBuilder):
170
  )
171
 
172
  elif self.config.schema == "bigbio_pairs":
173
- features = pairs.features
174
 
175
  else:
176
  raise NotImplementedError(f"{self.config.schema} schema not implemented")
 
22
  from datasets import Value
23
  import pandas as pd
24
 
25
+ from .bigbiohub import pairs_features
26
  from .bigbiohub import BigBioConfig
27
  from .bigbiohub import Tasks
28
 
 
170
  )
171
 
172
  elif self.config.schema == "bigbio_pairs":
173
+ features = pairs_features
174
 
175
  else:
176
  raise NotImplementedError(f"{self.config.schema} schema not implemented")