Aybee5 commited on
Commit
f42ee14
·
verified ·
1 Parent(s): f581d70

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +38 -0
README.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: text
5
+ dtype: string
6
+ - name: source
7
+ dtype: string
8
+ - name: audio
9
+ dtype: audio
10
+ ---
11
+
12
+ # Hausa TTS Dataset
13
+
14
+ Multi-speaker Hausa text-to-speech dataset.
15
+
16
+ ## Usage
17
+
18
+ ```python
19
+ from datasets import load_dataset, Audio
20
+
21
+ # Load the dataset
22
+ ds = load_dataset("parquet", data_files="hausa_tts_embedded.parquet", split="train")
23
+
24
+ # Cast audio column to Audio type with 24kHz sampling rate
25
+ ds = ds.cast_column("audio", Audio(sampling_rate=24000))
26
+
27
+ # Use with Unsloth TTS
28
+ from transformers import AutoProcessor
29
+ processor = AutoProcessor.from_pretrained("unsloth/csm-1b")
30
+
31
+ # Your training code here...
32
+ ```
33
+
34
+ ## Dataset Structure
35
+
36
+ - **text**: The Hausa text to be spoken
37
+ - **source**: Speaker identifier (multi-speaker)
38
+ - **audio**: Audio recording (embedded as bytes)