Update README.md
Browse files
README.md
CHANGED
|
@@ -1,25 +1,44 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc
|
| 3 |
-
configs:
|
| 4 |
-
- config_name: default
|
| 5 |
-
data_files:
|
| 6 |
-
- split: train
|
| 7 |
-
path: data/train-*
|
| 8 |
-
dataset_info:
|
| 9 |
-
features:
|
| 10 |
-
- name: prompt
|
| 11 |
-
dtype: string
|
| 12 |
-
- name: audio_code
|
| 13 |
-
dtype:
|
| 14 |
-
array2_d:
|
| 15 |
-
shape:
|
| 16 |
-
- null
|
| 17 |
-
- 8
|
| 18 |
-
dtype: int16
|
| 19 |
-
splits:
|
| 20 |
-
- name: train
|
| 21 |
-
num_bytes: 357436897
|
| 22 |
-
num_examples: 7916
|
| 23 |
-
download_size: 180406553
|
| 24 |
-
dataset_size: 357436897
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc
|
| 3 |
+
configs:
|
| 4 |
+
- config_name: default
|
| 5 |
+
data_files:
|
| 6 |
+
- split: train
|
| 7 |
+
path: data/train-*
|
| 8 |
+
dataset_info:
|
| 9 |
+
features:
|
| 10 |
+
- name: prompt
|
| 11 |
+
dtype: string
|
| 12 |
+
- name: audio_code
|
| 13 |
+
dtype:
|
| 14 |
+
array2_d:
|
| 15 |
+
shape:
|
| 16 |
+
- null
|
| 17 |
+
- 8
|
| 18 |
+
dtype: int16
|
| 19 |
+
splits:
|
| 20 |
+
- name: train
|
| 21 |
+
num_bytes: 357436897
|
| 22 |
+
num_examples: 7916
|
| 23 |
+
download_size: 180406553
|
| 24 |
+
dataset_size: 357436897
|
| 25 |
+
task_categories:
|
| 26 |
+
- text-to-audio
|
| 27 |
+
- audio-classification
|
| 28 |
+
language:
|
| 29 |
+
- en
|
| 30 |
+
tags:
|
| 31 |
+
- music
|
| 32 |
+
- art
|
| 33 |
+
pretty_name: fmaEncodec
|
| 34 |
+
size_categories:
|
| 35 |
+
- 1K<n<10K
|
| 36 |
+
---
|
| 37 |
+
# Free Music Archive (FMA) small encodec version
|
| 38 |
+
|
| 39 |
+
This dataset is built from Free Music Archive (FMA) small version ( https://huggingface.co/datasets/benjamin-paine/free-music-archive-small ).
|
| 40 |
+
We combine the metadata in the original dataset into prompt, and use Encodec-24kHZ (https://huggingface.co/facebook/encodec_24khz)
|
| 41 |
+
to encode the 30s audio into 2d array of shape (8,2249) or (8,2251) or the like.
|
| 42 |
+
|
| 43 |
+
- "prompt": a description of the music, including title, author, genres, etc.
|
| 44 |
+
- "audio_code": 2d array of shape [T, 8], T≈2249, indices are integers from 0 to 1023, encoded by `encodec_24khz`
|