Datasets:
Remove deprecated tasks (#9)
Browse files- Remove deprecated tasks (b9cf3ba95d4fe2514d13f919f4b979793631202c)
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):
|