Datasets:
pmc
/

Languages:
English
License:
albertvillanova HF staff commited on
Commit
c567ffa
1 Parent(s): 3568620

Remove deprecated tasks

Browse files

This dataset uses `tasks`, which are deprecated and will raise an error after the next major release of `datasets`. See: https://github.com/huggingface/datasets/pull/6999

Files changed (1) hide show
  1. open_access.py +0 -2
open_access.py CHANGED
@@ -21,7 +21,6 @@ import fsspec
21
  import pandas as pd
22
 
23
  import datasets
24
- from datasets.tasks import LanguageModeling
25
 
26
 
27
  _CITATION = """\
@@ -133,7 +132,6 @@ class OpenAccess(datasets.GeneratorBasedBuilder):
133
  homepage=_HOMEPAGE,
134
  license=_LICENSE,
135
  citation=_CITATION,
136
- task_templates=[LanguageModeling(text_column="text")],
137
  )
138
 
139
  def _split_generators(self, dl_manager):
 
21
  import pandas as pd
22
 
23
  import datasets
 
24
 
25
 
26
  _CITATION = """\
 
132
  homepage=_HOMEPAGE,
133
  license=_LICENSE,
134
  citation=_CITATION,
 
135
  )
136
 
137
  def _split_generators(self, dl_manager):