Format Requirements for Audio Datasets
ModelArts supports the creation of audio datasets. Table 1 lists the format requirements.
Constraints
- Import from OBS: The size of a single file or compressed package cannot exceed 20 GB. If multiple files are imported, the total file size cannot exceed 20 GB.
- Local import: The size of a single file cannot exceed 1 GB, and the number of files cannot exceed 20.
- JSONL files support only UTF-8 encoding.
| File Content | File Format | Requirement |
|---|---|---|
| Audio | Audio + JSONL (optional) |
The following is an example.
For details about the annotation file in JSONL format, refer to the following: {"audio_name":"dir/001.mp3","caption":"1"}
{"audio_name":"dir/002.flac","caption":"2"}
{"audio_name":"dir/003.wav","caption":"3"} |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot
