Datasets:
Add README
Browse files
README.md
CHANGED
|
@@ -1,25 +1,73 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
splits:
|
| 15 |
-
- name: train
|
| 16 |
-
num_bytes: 1323398600.9
|
| 17 |
-
num_examples: 10534
|
| 18 |
-
download_size: 1274826031
|
| 19 |
-
dataset_size: 1323398600.9
|
| 20 |
-
configs:
|
| 21 |
-
- config_name: default
|
| 22 |
-
data_files:
|
| 23 |
-
- split: train
|
| 24 |
-
path: data/train-*
|
| 25 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- ur
|
| 5 |
+
tags:
|
| 6 |
+
- tts
|
| 7 |
+
- urdu
|
| 8 |
+
- speech-synthesis
|
| 9 |
+
- audio
|
| 10 |
+
task_categories:
|
| 11 |
+
- text-to-speech
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
---
|
| 15 |
+
|
| 16 |
+
# XCollab/urdu-tts-fast
|
| 17 |
+
|
| 18 |
+
## Dataset Description
|
| 19 |
+
|
| 20 |
+
Combined Urdu Text-to-Speech dataset with **10,534 high-quality audio-text pairs**.
|
| 21 |
+
|
| 22 |
+
## Dataset Structure
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
{
|
| 26 |
+
'index': int, # Sample index
|
| 27 |
+
'text': str, # Urdu text transcription
|
| 28 |
+
'audio': { # Audio data
|
| 29 |
+
'path': str, # Path to audio file
|
| 30 |
+
'sampling_rate': 16000
|
| 31 |
+
},
|
| 32 |
+
'source_dataset': str # Original dataset name
|
| 33 |
+
}
|
| 34 |
+
```
|
| 35 |
+
|
| 36 |
+
## Usage
|
| 37 |
+
|
| 38 |
+
```python
|
| 39 |
+
from datasets import load_dataset
|
| 40 |
+
import soundfile as sf
|
| 41 |
+
|
| 42 |
+
# Load dataset
|
| 43 |
+
dataset = load_dataset("XCollab/urdu-tts-fast")
|
| 44 |
+
|
| 45 |
+
# Get a sample
|
| 46 |
+
sample = dataset['train'][0]
|
| 47 |
+
print("Text:", sample['text'])
|
| 48 |
+
print("Audio path:", sample['audio']['path'])
|
| 49 |
+
|
| 50 |
+
# Save audio file
|
| 51 |
+
sf.write("sample.wav", sample['audio']['array'], sample['audio']['sampling_rate'])
|
| 52 |
+
|
| 53 |
+
# Play in notebook
|
| 54 |
+
import IPython.display as ipd
|
| 55 |
+
ipd.Audio(sample['audio']['array'], rate=sample['audio']['sampling_rate'])
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
## Audio Specifications
|
| 59 |
+
- **Sampling Rate**: 16,000 Hz
|
| 60 |
+
- **Format**: Float32 arrays
|
| 61 |
+
- **Channels**: Mono
|
| 62 |
+
- **Quality**: Normalized and validated
|
| 63 |
+
|
| 64 |
+
## Statistics
|
| 65 |
+
- **Total Samples**: 10,534
|
| 66 |
+
- **Valid Samples**: 10,534
|
| 67 |
+
- **Processing Errors**: 0
|
| 68 |
+
|
| 69 |
+
## Source Datasets
|
| 70 |
+
This dataset combines samples from multiple Urdu TTS datasets for improved coverage and quality.
|
| 71 |
+
|
| 72 |
+
## License
|
| 73 |
+
Please refer to individual dataset licenses for usage terms.
|