Commit
•
8ae204d
1
Parent(s):
b37f502
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
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):
|