polinaeterna HF staff commited on
Commit
bada9ae
1 Parent(s): 169a91d

Deprecate canonical Multilingual Librispeech (#4060)

Browse files

Commit from https://github.com/huggingface/datasets/commit/2df3e2b08cf845553601f8d7f1776107ef28686d

Files changed (1) hide show
  1. multilingual_librispeech.py +10 -0
multilingual_librispeech.py CHANGED
@@ -19,6 +19,7 @@
19
 
20
  import glob
21
  import os
 
22
 
23
  import datasets
24
  from datasets.tasks import AutomaticSpeechRecognition
@@ -70,6 +71,15 @@ class MultilingualLibrispeech(datasets.GeneratorBasedBuilder):
70
  ]
71
 
72
  def _info(self):
 
 
 
 
 
 
 
 
 
73
  return datasets.DatasetInfo(
74
  description=_DESCRIPTION,
75
  features=datasets.Features(
19
 
20
  import glob
21
  import os
22
+ import warnings
23
 
24
  import datasets
25
  from datasets.tasks import AutomaticSpeechRecognition
71
  ]
72
 
73
  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
+
83
  return datasets.DatasetInfo(
84
  description=_DESCRIPTION,
85
  features=datasets.Features(