Commit
•
3af3f03
1
Parent(s):
1e6f1c0
Remove deprecated tasks (#1)
Browse files- Remove deprecated tasks (571dd831fe2f77aeb33ef5cf8a6b89e4b8aac3ef)
Uyghur.py
CHANGED
@@ -1,6 +1,5 @@
|
|
1 |
import datasets
|
2 |
from datasets import DownloadManager, DatasetInfo
|
3 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
4 |
import os
|
5 |
import csv
|
6 |
import json
|
@@ -85,7 +84,6 @@ class UyghurASR(datasets.GeneratorBasedBuilder):
|
|
85 |
supervised_keys=None,
|
86 |
homepage='https://huggingface.co/datasets/sunlixu/Uyghur/',
|
87 |
citation=_CITATION,
|
88 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="text")],
|
89 |
)
|
90 |
|
91 |
def _split_generators(self, dl_manager: DownloadManager):
|
|
|
1 |
import datasets
|
2 |
from datasets import DownloadManager, DatasetInfo
|
|
|
3 |
import os
|
4 |
import csv
|
5 |
import json
|
|
|
84 |
supervised_keys=None,
|
85 |
homepage='https://huggingface.co/datasets/sunlixu/Uyghur/',
|
86 |
citation=_CITATION,
|
|
|
87 |
)
|
88 |
|
89 |
def _split_generators(self, dl_manager: DownloadManager):
|