Datasets:
Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,24 +1,114 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
-
|
| 5 |
-
|
| 6 |
-
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
configs:
|
| 18 |
-
- config_name: default
|
| 19 |
-
data_files:
|
| 20 |
-
- split: train
|
| 21 |
-
path: data/train-*
|
| 22 |
-
- split: test
|
| 23 |
-
path: data/test-*
|
| 24 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- automatic-speech-recognition
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
tags:
|
| 8 |
+
- phoneme-recognition
|
| 9 |
+
- arpabet
|
| 10 |
+
- pronunciation
|
| 11 |
+
- wav2vec2
|
| 12 |
+
- ctc
|
| 13 |
+
- speech
|
| 14 |
+
pretty_name: LibriSpeech ARPAbet Phonemes
|
| 15 |
+
size_categories:
|
| 16 |
+
- 10K<n<100K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
+
|
| 19 |
+
# LibriSpeech ARPAbet Processed Dataset
|
| 20 |
+
|
| 21 |
+
Pre-processed dataset for training ARPAbet phoneme recognition models using CTC loss.
|
| 22 |
+
|
| 23 |
+
## Dataset Description
|
| 24 |
+
|
| 25 |
+
This dataset is derived from [LibriSpeech](https://huggingface.co/datasets/librispeech_asr) (train-clean-100 split) with the following preprocessing:
|
| 26 |
+
|
| 27 |
+
- **Audio**: Resampled to 16kHz, normalized using Wav2Vec2 feature extractor
|
| 28 |
+
- **Labels**: Text transcriptions converted to ARPAbet phoneme sequences using CMU Pronouncing Dictionary
|
| 29 |
+
- **Filtering**: Samples with out-of-vocabulary words are excluded
|
| 30 |
+
|
| 31 |
+
### Features
|
| 32 |
+
|
| 33 |
+
| Feature | Type | Description |
|
| 34 |
+
|---------|------|-------------|
|
| 35 |
+
| `input_values` | `Sequence[float]` | Normalized audio waveform (16kHz) |
|
| 36 |
+
| `labels` | `Sequence[int]` | ARPAbet phoneme token IDs |
|
| 37 |
+
|
| 38 |
+
### ARPAbet Vocabulary (72 tokens)
|
| 39 |
+
|
| 40 |
+
The vocabulary includes:
|
| 41 |
+
- **Special tokens (3)**: `<pad>`, `<unk>`, `|` (word boundary)
|
| 42 |
+
- **Consonants (24)**: B, CH, D, DH, F, G, HH, JH, K, L, M, N, NG, P, R, S, SH, T, TH, V, W, Y, Z, ZH
|
| 43 |
+
- **Vowels with stress markers (45)**: 15 base vowels x 3 stress levels (0, 1, 2)
|
| 44 |
+
- Example: AA0 (no stress), AA1 (primary), AA2 (secondary)
|
| 45 |
+
|
| 46 |
+
### Splits
|
| 47 |
+
|
| 48 |
+
| Split | Samples | Description |
|
| 49 |
+
|-------|---------|-------------|
|
| 50 |
+
| train | ~25,600 | Training data (90%) |
|
| 51 |
+
| test | ~2,850 | Evaluation data (10%) |
|
| 52 |
+
|
| 53 |
+
## Usage
|
| 54 |
+
|
| 55 |
+
```python
|
| 56 |
+
from datasets import load_dataset
|
| 57 |
+
|
| 58 |
+
# Load the dataset
|
| 59 |
+
dataset = load_dataset("davidggphy/librispeech-arpabet-processed")
|
| 60 |
+
|
| 61 |
+
# Access samples
|
| 62 |
+
sample = dataset["train"][0]
|
| 63 |
+
print(f"Audio shape: {len(sample['input_values'])}")
|
| 64 |
+
print(f"Labels: {sample['labels']}")
|
| 65 |
+
```
|
| 66 |
+
|
| 67 |
+
### Training with Wav2Vec2
|
| 68 |
+
|
| 69 |
+
```python
|
| 70 |
+
from transformers import Wav2Vec2ForCTC, Wav2Vec2Processor
|
| 71 |
+
|
| 72 |
+
# Load model and processor
|
| 73 |
+
model = Wav2Vec2ForCTC.from_pretrained("facebook/wav2vec2-base", vocab_size=72)
|
| 74 |
+
processor = Wav2Vec2Processor.from_pretrained("davidggphy/wav2vec2-arpabet-phoneme")
|
| 75 |
+
|
| 76 |
+
# The dataset is ready for CTC training
|
| 77 |
+
# input_values: normalized audio
|
| 78 |
+
# labels: phoneme token IDs
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
## Intended Use
|
| 82 |
+
|
| 83 |
+
This dataset is designed for:
|
| 84 |
+
- Training phoneme recognition models for English pronunciation assessment
|
| 85 |
+
- Fine-tuning Wav2Vec2 for ARPAbet output
|
| 86 |
+
- Research in automatic pronunciation evaluation
|
| 87 |
+
|
| 88 |
+
## Source Data
|
| 89 |
+
|
| 90 |
+
- **Audio**: LibriSpeech train-clean-100 (read English speech)
|
| 91 |
+
- **Phoneme Dictionary**: [CMU Pronouncing Dictionary](https://github.com/cmusphinx/cmudict)
|
| 92 |
+
|
| 93 |
+
## Limitations
|
| 94 |
+
|
| 95 |
+
- Only covers words present in CMU Dictionary (~126k words)
|
| 96 |
+
- Based on American English pronunciation
|
| 97 |
+
- Does not include phonetic variations or connected speech phenomena
|
| 98 |
+
|
| 99 |
+
## Citation
|
| 100 |
+
|
| 101 |
+
If you use this dataset, please cite LibriSpeech:
|
| 102 |
+
|
| 103 |
+
```bibtex
|
| 104 |
+
@inproceedings{panayotov2015librispeech,
|
| 105 |
+
title={Librispeech: an ASR corpus based on public domain audio books},
|
| 106 |
+
author={Panayotov, Vassil and Chen, Guoguo and Povey, Daniel and Khudanpur, Sanjeev},
|
| 107 |
+
booktitle={ICASSP},
|
| 108 |
+
year={2015}
|
| 109 |
+
}
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
## License
|
| 113 |
+
|
| 114 |
+
Apache 2.0 (same as LibriSpeech)
|