Commit
•
b79e015
1
Parent(s):
07081e8
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
- pangloss.py +0 -3
pangloss.py
CHANGED
@@ -17,7 +17,6 @@ import csv
|
|
17 |
import json
|
18 |
import os
|
19 |
import datasets
|
20 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
21 |
|
22 |
_CITATION = {
|
23 |
"yong1288": """
|
@@ -137,8 +136,6 @@ class PanglossDataset(datasets.GeneratorBasedBuilder):
|
|
137 |
license=_LICENSE,
|
138 |
# Citation for the dataset
|
139 |
citation=_CITATION,
|
140 |
-
task_templates=[AutomaticSpeechRecognition(audio_column="audio", transcription_column="forme")],
|
141 |
-
|
142 |
)
|
143 |
|
144 |
def _split_generators(self, dl_manager):
|
|
|
17 |
import json
|
18 |
import os
|
19 |
import datasets
|
|
|
20 |
|
21 |
_CITATION = {
|
22 |
"yong1288": """
|
|
|
136 |
license=_LICENSE,
|
137 |
# Citation for the dataset
|
138 |
citation=_CITATION,
|
|
|
|
|
139 |
)
|
140 |
|
141 |
def _split_generators(self, dl_manager):
|