Datasets:
Commit
•
b9cf3ba
1
Parent(s):
e61ab46
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
vctk.py
CHANGED
@@ -21,7 +21,6 @@ import os
|
|
21 |
import re
|
22 |
|
23 |
import datasets
|
24 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
25 |
|
26 |
|
27 |
_CITATION = """\
|
@@ -69,7 +68,6 @@ class VCTK(datasets.GeneratorBasedBuilder):
|
|
69 |
supervised_keys=("file", "text"),
|
70 |
homepage=_URL,
|
71 |
citation=_CITATION,
|
72 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
73 |
)
|
74 |
|
75 |
def _split_generators(self, dl_manager):
|
|
|
21 |
import re
|
22 |
|
23 |
import datasets
|
|
|
24 |
|
25 |
|
26 |
_CITATION = """\
|
|
|
68 |
supervised_keys=("file", "text"),
|
69 |
homepage=_URL,
|
70 |
citation=_CITATION,
|
|
|
71 |
)
|
72 |
|
73 |
def _split_generators(self, dl_manager):
|