Datasets:
Create README.md
Browse files
README.md
CHANGED
|
@@ -1,27 +1,35 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
dtype: string
|
| 8 |
-
- name: audio
|
| 9 |
-
dtype:
|
| 10 |
-
audio:
|
| 11 |
-
sampling_rate: 16000
|
| 12 |
-
- name: text
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: gender
|
| 15 |
-
dtype: string
|
| 16 |
-
splits:
|
| 17 |
-
- name: train
|
| 18 |
-
num_bytes: 20994806204.918
|
| 19 |
-
num_examples: 17798
|
| 20 |
-
download_size: 20944633904
|
| 21 |
-
dataset_size: 20994806204.918
|
| 22 |
-
configs:
|
| 23 |
-
- config_name: default
|
| 24 |
-
data_files:
|
| 25 |
-
- split: train
|
| 26 |
-
path: data/train-*
|
| 27 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- hi
|
| 5 |
+
size_categories:
|
| 6 |
+
- 10K<n<100K
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 7 |
---
|
| 8 |
+
# 🗣️ Hindi Text-to-Speech (TTS) Model
|
| 9 |
+
|
| 10 |
+
This repository hosts a Hindi TTS model trained on a custom Hindi dataset. The model converts Hindi text into natural-sounding speech and is suitable for various applications such as voice assistants, audiobooks, and accessibility tools.
|
| 11 |
+
|
| 12 |
+
## 📌 Model Details
|
| 13 |
+
|
| 14 |
+
- **Model Type**: [Insert TTS architecture, e.g., Tacotron2 + HiFi-GAN / VITS]
|
| 15 |
+
- **Language**: Hindi (`hi`)
|
| 16 |
+
- **Dataset**: Custom Hindi speech dataset (uploaded by the author)
|
| 17 |
+
- **Sampling Rate**: 22050 Hz (or specify your sample rate)
|
| 18 |
+
- **License**: [Apache License 2.0 x, e.g., MIT, CC-BY-4.0, etc.]
|
| 19 |
+
|
| 20 |
+
## 🏁 Usage
|
| 21 |
+
|
| 22 |
+
### Inference using `transformers` + `datasets` (if applicable)
|
| 23 |
+
|
| 24 |
+
```python
|
| 25 |
+
from transformers import pipeline
|
| 26 |
+
|
| 27 |
+
# Load the model
|
| 28 |
+
tts = pipeline("text-to-speech", model="Saurabh4509/TSS_Hindi_Data")
|
| 29 |
+
|
| 30 |
+
# Generate speech
|
| 31 |
+
output = tts("नमस्ते, आप कैसे हैं?")
|
| 32 |
+
|
| 33 |
+
# Save to file
|
| 34 |
+
with open("output.wav", "wb") as f:
|
| 35 |
+
f.write(output["audio"])
|