modelscope / modelscope/ms-swift

关于自定义多模态音频数据集的疑惑

Open
#6,497 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

stale
Dominant language
Python
Stars
15.7k
Forks
1.7k
Avg merge
1d 16h
Merged PRs (30d)
136

Description

你好!我想咨询一下:
对于从huggingface上下载的音频数据集,features: ['audio', 'user', 'assistant'],其中audio字段为音频数组,在定义自定义数据集前,是否需要先将音频数组保存为文件

换句话说,自定义数据集时的audios字段是否只能传入文件路径,而不能是音频数组

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by locating the custom dataset audio handling and its Hugging Face dataset conversion path, then trace how the audios field is validated. Done means documenting whether in-memory audio arrays are supported or whether file paths are required.

Written by the indexing model from the issue text.

Assessment

Tech stack
huggingface, python
Domain
data, machine-learning
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.