richiejp commited on
Commit
406ddb3
·
verified ·
1 Parent(s): 09ec528

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +55 -0
README.md ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - audio-classification
5
+ tags:
6
+ - speech
7
+ - noise
8
+ - room-impulse-response
9
+ - acoustic-echo-cancellation
10
+ - dns-challenge
11
+ pretty_name: DNS5 16kHz (resampled)
12
+ ---
13
+
14
+ # DNS5 16kHz
15
+
16
+ Resampled subset of the [ICASSP 2022 DNS Challenge](https://github.com/microsoft/DNS-Challenge) dataset.
17
+
18
+ All audio files resampled from 48kHz to **16kHz** and stored as **FLAC** (lossless compression),
19
+ packed into tar shards.
20
+
21
+ ## Structure
22
+
23
+ ```
24
+ clean/shard_0000.tar # Clean speech (VCTK and other corpora)
25
+ clean/shard_0001.tar
26
+ ...
27
+ noise/shard_0000.tar # Environmental noise (AudioSet, Freesound)
28
+ ...
29
+ impulse_responses/shard_0000.tar # Room impulse responses
30
+ ...
31
+ ```
32
+
33
+ Each tar contains FLAC files with their original directory structure preserved.
34
+
35
+ ## Usage
36
+
37
+ ```python
38
+ from huggingface_hub import snapshot_download
39
+ import tarfile
40
+ from pathlib import Path
41
+
42
+ # Download
43
+ local = snapshot_download("richiejp/dns5-16k", local_dir="/data/dns5", repo_type="dataset")
44
+
45
+ # Extract all shards
46
+ for tar_path in sorted(Path(local).rglob("*.tar")):
47
+ with tarfile.open(tar_path) as tf:
48
+ tf.extractall(tar_path.parent)
49
+ ```
50
+
51
+ ## Source
52
+
53
+ Original data from Microsoft's DNS Challenge:
54
+ - https://github.com/microsoft/DNS-Challenge
55
+ - License: CC-BY-4.0 (see original repo for details)