Datasets:
updated readme
Browse files
README.md
CHANGED
|
@@ -5,8 +5,76 @@ tags:
|
|
| 5 |
- vad
|
| 6 |
- humming
|
| 7 |
---
|
|
|
|
| 8 |
|
| 9 |
-
|
|
|
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
- vad
|
| 6 |
- humming
|
| 7 |
---
|
| 8 |
+
# HumVAD Dataset: Humming vs Speech Detection
|
| 9 |
|
| 10 |
+
## π Overview
|
| 11 |
+
**HumVAD** is a dataset designed to fine-tune **Voice Activity Detection (VAD) models** to distinguish between **humming** and actual speech. Current VAD models often misclassify humming as speech, leading to incorrect segmentation in speech processing tasks. This dataset provides a structured collection of humming audio interspersed with speech to help improve model accuracy.
|
| 12 |
|
| 13 |
+
## π― Purpose
|
| 14 |
+
The dataset was created to address the challenge where **humming is mistakenly detected as speech** by existing VAD models. By fine-tuning a VAD model with this dataset, we aim to:
|
| 15 |
+
- Improve **humming detection** accuracy.
|
| 16 |
+
- Ensure **clear differentiation between humming and speech**.
|
| 17 |
+
- Enhance **real-world speech activity detection**.
|
| 18 |
+
|
| 19 |
+
## π Dataset Creation Strategy
|
| 20 |
+
To build this dataset, the following methodology was used:
|
| 21 |
+
1. **Humming Audio Collection**: Various humming recordings were sourced from the "MLEnd-Hums-and-Whistles" dataset.
|
| 22 |
+
2. **Speech Insertion**: Short speech segments were extracted from "Global Recordings Network" datasets.
|
| 23 |
+
3. **Mixing Strategy**:
|
| 24 |
+
- Humming is the dominant sound in each sample.
|
| 25 |
+
- Speech is **randomly inserted** at different timestamps in the humming audio.
|
| 26 |
+
- Speech timestamps were carefully annotated to facilitate supervised learning.
|
| 27 |
+
|
| 28 |
+
### πΉ Metadata Explanation
|
| 29 |
+
The dataset includes the following metadata columns:
|
| 30 |
+
|
| 31 |
+
| Column Name | Description |
|
| 32 |
+
|----------------------------------|-------------|
|
| 33 |
+
| `humming_song` | The song or source from which the humming was derived. |
|
| 34 |
+
| `humming_Interpreter` | The individual or source providing the humming. |
|
| 35 |
+
| `humming_audio_used` | Index of the humming audio in the original dataset. |
|
| 36 |
+
| `humming_transcript` | Transcription of the humming (if available). |
|
| 37 |
+
| `globalrecordings_audio_used` | Speech segment sourced from Global Recordings Network. |
|
| 38 |
+
| `globalrecordings_audio_ts_used` | The start and end timestamps of the speech segment in the original recording. |
|
| 39 |
+
| `mixed_audio_path` | The path to the final mixed audio file (humming + speech). |
|
| 40 |
+
| `mixed_audio_speech_ts` | The timestamps where speech appears within the mixed audio file. |
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
## π₯ Download and Usage
|
| 44 |
+
|
| 45 |
+
### π οΈ Loading the Dataset
|
| 46 |
+
Since the dataset does not have predefined splits, you can load it using the following code:
|
| 47 |
+
|
| 48 |
+
```python
|
| 49 |
+
import pandas as pd
|
| 50 |
+
from datasets import load_dataset
|
| 51 |
+
|
| 52 |
+
# Load dataset from Hugging Face
|
| 53 |
+
dataset = load_dataset("YOUR_USERNAME/HumVAD", split=None) # No predefined splits
|
| 54 |
+
|
| 55 |
+
# Load metadata
|
| 56 |
+
metadata = pd.read_feather("metadata.feather") # Load the Feather metadata
|
| 57 |
+
print(metadata.head())
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
### π Loading Audio Files
|
| 61 |
+
To work with the audio files:
|
| 62 |
+
```python
|
| 63 |
+
import torchaudio
|
| 64 |
+
|
| 65 |
+
waveform, sample_rate = torchaudio.load("data/audio1.wav")
|
| 66 |
+
print(f"Sample Rate: {sample_rate}, Waveform Shape: {waveform.shape}")
|
| 67 |
+
```
|
| 68 |
+
|
| 69 |
+
## π Citation
|
| 70 |
+
If you use this dataset, please cite it accordingly.
|
| 71 |
+
|
| 72 |
+
```
|
| 73 |
+
@dataset{HumVAD2025,
|
| 74 |
+
author = {Sourabh Saini},
|
| 75 |
+
title = {HumVAD: Humming vs Speech Dataset},
|
| 76 |
+
year = {2025},
|
| 77 |
+
publisher = {Hugging Face},
|
| 78 |
+
url = {https://huggingface.co/datasets/CuriousMonkey7/HumAwareVAD}
|
| 79 |
+
}
|
| 80 |
+
```
|