Skip to content

Commit 2df3e2b

Browse files
author
Polina Kazakova
authored
Deprecate canonical Multilingual Librispeech (#4060)
1 parent f3c47c4 commit 2df3e2b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

datasets/multilingual_librispeech/multilingual_librispeech.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import glob
2121
import os
22+
import warnings
2223

2324
import datasets
2425
from datasets.tasks import AutomaticSpeechRecognition
@@ -70,6 +71,15 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
7071
]
7172

7273
def _info(self):
74+
75+
warnings.warn(
76+
"""
77+
This version of the Multilingual Librispeech dataset doesn't support streaming and is deprecated.
78+
You can download the latest one with
79+
>>> load_dataset(\"facebook/multilingual_librispeech\", \"polish\")
80+
"""
81+
)
82+
7383
return datasets.DatasetInfo(
7484
description=_DESCRIPTION,
7585
features=datasets.Features(

0 commit comments

Comments
 (0)