Remove deprecated tasks
#1
by
albertvillanova
HF Staff
- opened
nota.py
CHANGED
|
@@ -3,7 +3,6 @@ import re
|
|
| 3 |
|
| 4 |
import datasets
|
| 5 |
import requests
|
| 6 |
-
from datasets import AutomaticSpeechRecognition
|
| 7 |
|
| 8 |
_DATA_URLS = ["https://sprogtek-ressources.digst.govcloud.dk/nota/Inspiration%202016%20-%202021/",
|
| 9 |
"https://sprogtek-ressources.digst.govcloud.dk/nota/Inspiration%202008%20-%202016/",
|
|
@@ -77,7 +76,6 @@ class NotaDanishSoundAndTextDataset(datasets.GeneratorBasedBuilder):
|
|
| 77 |
supervised_keys=None,
|
| 78 |
homepage=_HOMEPAGE,
|
| 79 |
license=_LICENSE,
|
| 80 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="sentence")],
|
| 81 |
)
|
| 82 |
|
| 83 |
def _split_generators(self, dl_manager):
|
|
|
|
| 3 |
|
| 4 |
import datasets
|
| 5 |
import requests
|
|
|
|
| 6 |
|
| 7 |
_DATA_URLS = ["https://sprogtek-ressources.digst.govcloud.dk/nota/Inspiration%202016%20-%202021/",
|
| 8 |
"https://sprogtek-ressources.digst.govcloud.dk/nota/Inspiration%202008%20-%202016/",
|
|
|
|
| 76 |
supervised_keys=None,
|
| 77 |
homepage=_HOMEPAGE,
|
| 78 |
license=_LICENSE,
|
|
|
|
| 79 |
)
|
| 80 |
|
| 81 |
def _split_generators(self, dl_manager):
|