codewithdark commited on
Commit
5ea7f98
·
verified ·
1 Parent(s): d3deb65

Add README

Browse files
Files changed (1) hide show
  1. README.md +71 -23
README.md CHANGED
@@ -1,25 +1,73 @@
1
  ---
2
- dataset_info:
3
- features:
4
- - name: index
5
- dtype: int64
6
- - name: text
7
- dtype: string
8
- - name: audio
9
- dtype:
10
- audio:
11
- sampling_rate: 16000
12
- - name: source_dataset
13
- dtype: string
14
- splits:
15
- - name: train
16
- num_bytes: 2271327696.65
17
- num_examples: 17575
18
- download_size: 2119169934
19
- dataset_size: 2271327696.65
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
17
+
18
+ ## Dataset Description
19
+
20
+ Combined Urdu Text-to-Speech dataset with **17,575 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")
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**: 17,575
66
+ - **Valid Samples**: 17,575
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.