Commit
•
33a2878
1
Parent(s):
53920e5
Remove deprecated tasks (#6)
Browse files- Remove deprecated tasks (24c43aee00da59046de16da3200b5ce12d471406)
- tedlium.py +0 -2
tedlium.py
CHANGED
@@ -24,7 +24,6 @@ import numpy as np
|
|
24 |
import soundfile as sf
|
25 |
|
26 |
import datasets
|
27 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
28 |
|
29 |
|
30 |
_DL_URL = "https://huggingface.co/datasets/LIUM/tedlium/resolve/main/"
|
@@ -241,7 +240,6 @@ class TedLium(datasets.GeneratorBasedBuilder):
|
|
241 |
homepage=self.config.url,
|
242 |
license=_LICENSE,
|
243 |
citation=self.config.citation,
|
244 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
245 |
)
|
246 |
|
247 |
def _split_generators(self, dl_manager):
|
|
|
24 |
import soundfile as sf
|
25 |
|
26 |
import datasets
|
|
|
27 |
|
28 |
|
29 |
_DL_URL = "https://huggingface.co/datasets/LIUM/tedlium/resolve/main/"
|
|
|
240 |
homepage=self.config.url,
|
241 |
license=_LICENSE,
|
242 |
citation=self.config.citation,
|
|
|
243 |
)
|
244 |
|
245 |
def _split_generators(self, dl_manager):
|