first commit for takway.ai
This commit is contained in:
commit
d7a6de771c
3256 files changed
+795173
No files matched your search
@@ -0,0 +1,14 @@
|
||||
def download_dataset():
|
||||
pass
|
||||
|
||||
|
||||
def download_dataset_from_ms(**kwargs):
|
||||
from modelscope.msdatasets import MsDataset
|
||||
|
||||
dataset_name = kwargs.get("dataset_name", "speech_asr/speech_asr_aishell1_trainsets")
|
||||
subset_name = kwargs.get("subset_name", "default")
|
||||
split = kwargs.get("split", "train")
|
||||
data_dump_dir = kwargs.get("data_dump_dir", None)
|
||||
ds = MsDataset.load(
|
||||
dataset_name=dataset_name, subset_name=subset_name, split=split, cache_dir=data_dump_dir
|
||||
)
|
||||
Reference in new issue
Block a user