AbijahKaj/whisper-telephony-amd
Audio Classification • 8.31M • Updated • 129
audio audioduration (s) 0.36 63.8 | label class label 4
classes |
|---|---|
0human | |
3answering_machine | |
1voicemail | |
0human | |
1voicemail | |
3answering_machine | |
2ivr | |
3answering_machine | |
0human | |
3answering_machine | |
2ivr | |
3answering_machine | |
2ivr | |
3answering_machine | |
2ivr | |
3answering_machine | |
0human | |
1voicemail | |
2ivr | |
3answering_machine | |
2ivr | |
0human | |
1voicemail | |
2ivr | |
0human | |
0human | |
3answering_machine | |
2ivr | |
2ivr | |
3answering_machine | |
1voicemail | |
0human | |
0human | |
0human | |
1voicemail | |
0human | |
0human | |
2ivr | |
2ivr | |
3answering_machine | |
1voicemail | |
2ivr | |
2ivr | |
0human | |
2ivr | |
1voicemail | |
0human | |
0human | |
0human | |
2ivr | |
1voicemail | |
3answering_machine | |
2ivr | |
2ivr | |
3answering_machine | |
1voicemail | |
1voicemail | |
1voicemail | |
3answering_machine | |
2ivr | |
2ivr | |
3answering_machine | |
3answering_machine | |
0human | |
0human | |
1voicemail | |
1voicemail | |
3answering_machine | |
0human | |
2ivr | |
2ivr | |
1voicemail | |
2ivr | |
1voicemail | |
0human | |
2ivr | |
1voicemail | |
0human | |
1voicemail | |
0human | |
1voicemail | |
3answering_machine | |
0human | |
1voicemail | |
3answering_machine | |
3answering_machine | |
2ivr | |
3answering_machine | |
0human | |
0human | |
0human | |
0human | |
0human | |
0human | |
2ivr | |
2ivr | |
0human | |
2ivr | |
2ivr | |
3answering_machine |
A multilingual 4-class telephony audio classification dataset for training streaming Answering Machine Detection models. Contains real human speech (PolyAI/MINDS14) mixed with TTS-generated audio (Microsoft Neural TTS / edge-tts) across English, French, Spanish, and German.
Key design principle: Voicemail greetings are recorded by real humans and sound acoustically identical to live speech. This dataset includes real spoken content with semantic cues so models learn to distinguish them by WHAT is being said, not just HOW it sounds.
| Label | ID | Description | Semantic Cues |
|---|---|---|---|
human |
0 | Live human speech on phone | "Hello?", "Allô?", "¿Aló?", "Hallo?" |
voicemail |
1 | Voicemail greeting + beep | "Leave a message", "Laissez un message", "Deja un mensaje" |
ivr |
2 | IVR system (automated menus) | "Press 1 for...", "Tapez 1 pour...", "Pulse 1 para..." |
answering_machine |
3 | Generic automated message + beep | "The person you are calling is not available..." |
| Class | Train | Test | Total |
|---|---|---|---|
| human | 574 | 101 | 675 |
| voicemail | 417 | 73 | 490 |
| ivr | 415 | 74 | 489 |
| answering_machine | 416 | 74 | 490 |
| Language | Real Speech (MINDS14) | TTS Generated | Total |
|---|---|---|---|
| English (en) | 200 | ~1,399 | ~1,599 |
| French (fr) | 75 | ~170 | ~245 |
| Spanish (es) | 50 | ~100 | ~150 |
| German (de) | 50 | ~100 | ~150 |
French has extra weight since it's the primary European market.
from datasets import load_dataset, Audio
dataset = load_dataset("AbijahKaj/telephony-amd-dataset")
dataset = dataset.cast_column("audio", Audio(sampling_rate=16000))
sample = dataset["train"][0]
audio = sample["audio"]["array"] # numpy float32 @ 16kHz
label = sample["label"] # 0-3
Designed for WhisperForAudioClassification (Whisper encoder + classification head):
pip install transformers datasets evaluate torch torchaudio soundfile accelerate
huggingface-cli login
python scripts/train_local.py
scripts/train_local.py — Full training script (5090-ready, CLI args)scripts/streaming_amd.py — Streaming inference modulescripts/build_dataset.py — English dataset builder (real speech + TTS)scripts/add_multilingual.py — French/Spanish/German expansion script