Remove deprecated tasks (#1)
Browse files- Remove deprecated tasks (11d101707165a25f8062ab04efa66fc2cd6307cb)
- speechdat.py +0 -4
speechdat.py
CHANGED
|
@@ -17,7 +17,6 @@
|
|
| 17 |
import datasets
|
| 18 |
import json
|
| 19 |
import os
|
| 20 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
| 21 |
from pathlib import Path
|
| 22 |
|
| 23 |
_DESCRIPTION = """\
|
|
@@ -53,9 +52,6 @@ class SpeechDat(datasets.GeneratorBasedBuilder):
|
|
| 53 |
supervised_keys=None,
|
| 54 |
homepage=_HOMEPAGE,
|
| 55 |
license=_LICENSE,
|
| 56 |
-
task_templates=[
|
| 57 |
-
AutomaticSpeechRecognition(audio_file_path_column="path", transcription_column="sentence")
|
| 58 |
-
],
|
| 59 |
)
|
| 60 |
|
| 61 |
def _split_generators(self, dl_manager):
|
|
|
|
| 17 |
import datasets
|
| 18 |
import json
|
| 19 |
import os
|
|
|
|
| 20 |
from pathlib import Path
|
| 21 |
|
| 22 |
_DESCRIPTION = """\
|
|
|
|
| 52 |
supervised_keys=None,
|
| 53 |
homepage=_HOMEPAGE,
|
| 54 |
license=_LICENSE,
|
|
|
|
|
|
|
|
|
|
| 55 |
)
|
| 56 |
|
| 57 |
def _split_generators(self, dl_manager):
|