Commit
•
0b644d5
1
Parent(s):
0849275
Remove deprecated tasks
Browse filesThis 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
- VoxDIY-RusNews.py +0 -6
VoxDIY-RusNews.py
CHANGED
@@ -20,7 +20,6 @@
|
|
20 |
import json
|
21 |
|
22 |
import datasets
|
23 |
-
from datasets.tasks import Summarization
|
24 |
|
25 |
|
26 |
logger = datasets.logging.get_logger(__name__)
|
@@ -72,11 +71,6 @@ class VoxDIYRusNews(datasets.GeneratorBasedBuilder):
|
|
72 |
supervised_keys=None,
|
73 |
homepage="https://github.com/pilot7747/VoxDIY/",
|
74 |
# citation=_CITATION,
|
75 |
-
task_templates=[
|
76 |
-
Summarization(
|
77 |
-
text_column="transcriptions", summary_column="gt"
|
78 |
-
)
|
79 |
-
],
|
80 |
)
|
81 |
|
82 |
def _split_generators(self, dl_manager):
|
|
|
20 |
import json
|
21 |
|
22 |
import datasets
|
|
|
23 |
|
24 |
|
25 |
logger = datasets.logging.get_logger(__name__)
|
|
|
71 |
supervised_keys=None,
|
72 |
homepage="https://github.com/pilot7747/VoxDIY/",
|
73 |
# citation=_CITATION,
|
|
|
|
|
|
|
|
|
|
|
74 |
)
|
75 |
|
76 |
def _split_generators(self, dl_manager):
|