albertvillanova HF staff commited on
Commit
7bbdc61
1 Parent(s): 8712f2e

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. dblp-discovery-dataset.py +0 -1
dblp-discovery-dataset.py CHANGED
@@ -20,7 +20,6 @@ import os
20
  from typing import Any, Dict, Generator, List, Optional, Tuple, Union
21
 
22
  import datasets
23
- from datasets.tasks import TextClassification
24
  from lxml import etree
25
 
26
  logger = datasets.logging.get_logger(__name__)
 
20
  from typing import Any, Dict, Generator, List, Optional, Tuple, Union
21
 
22
  import datasets
 
23
  from lxml import etree
24
 
25
  logger = datasets.logging.get_logger(__name__)