Remove deprecated tasks
#1
by albertvillanova HF Staff - opened
- lrl_transfer_hubert.py +0 -2
lrl_transfer_hubert.py
CHANGED
|
@@ -4,7 +4,6 @@ import os
|
|
| 4 |
from pathlib import Path
|
| 5 |
|
| 6 |
import datasets
|
| 7 |
-
from datasets.tasks import AutomaticSpeechRecognition
|
| 8 |
import csv
|
| 9 |
|
| 10 |
_CITATION = """\
|
|
@@ -71,7 +70,6 @@ class LRL_Transfer(datasets.GeneratorBasedBuilder):
|
|
| 71 |
supervised_keys=("file", "text"),
|
| 72 |
homepage=_HOMEPAGE,
|
| 73 |
citation=_CITATION,
|
| 74 |
-
task_templates=[AutomaticSpeechRecognition(transcription_column="text")],
|
| 75 |
)
|
| 76 |
|
| 77 |
def _split_generators(self, dl_manager):
|
|
|
|
| 4 |
from pathlib import Path
|
| 5 |
|
| 6 |
import datasets
|
|
|
|
| 7 |
import csv
|
| 8 |
|
| 9 |
_CITATION = """\
|
|
|
|
| 70 |
supervised_keys=("file", "text"),
|
| 71 |
homepage=_HOMEPAGE,
|
| 72 |
citation=_CITATION,
|
|
|
|
| 73 |
)
|
| 74 |
|
| 75 |
def _split_generators(self, dl_manager):
|