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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
- hi
|
| 6 |
+
tags:
|
| 7 |
+
- tts
|
| 8 |
+
- text-to-speech
|
| 9 |
+
- indian-english
|
| 10 |
+
- hindi
|
| 11 |
+
- speech
|
| 12 |
+
- single-speaker
|
| 13 |
+
- sarvam
|
| 14 |
+
- audio
|
| 15 |
+
task_categories:
|
| 16 |
+
- text-to-speech
|
| 17 |
+
pretty_name: Sarvam Indian TTS Dataset (en-IN + hi-IN)
|
| 18 |
+
size_categories:
|
| 19 |
+
- 1K<n<10K
|
| 20 |
+
---
|
| 21 |
+
|
| 22 |
+
# Sarvam Indian TTS Dataset
|
| 23 |
+
|
| 24 |
+
A curated Text-to-Speech dataset containing **Indian English** and **Hindi**
|
| 25 |
+
single-speaker audio segments, built as part of the Sarvam AI hiring assignment.
|
| 26 |
+
|
| 27 |
+
## Dataset Summary
|
| 28 |
+
|
| 29 |
+
| Property | Value |
|
| 30 |
+
|---|---|
|
| 31 |
+
| Total duration | 78.8 minutes |
|
| 32 |
+
| English (en-IN) | 57.5 minutes |
|
| 33 |
+
| Hindi (hi-IN) | 21.3 minutes |
|
| 34 |
+
| Total segments | 175 |
|
| 35 |
+
| Human reviewed | 99.4% |
|
| 36 |
+
| Mean quality score | 92.1/100 |
|
| 37 |
+
| Mean SNR | 49.0 dB |
|
| 38 |
+
| Mean ASR confidence | 0.900 |
|
| 39 |
+
|
| 40 |
+
## Dataset Card
|
| 41 |
+
|
| 42 |
+
### Data Collection
|
| 43 |
+
|
| 44 |
+
Audio sourced from YouTube educational and motivational content featuring
|
| 45 |
+
single speakers with minimal background noise. All audio was processed through:
|
| 46 |
+
|
| 47 |
+
1. **Speaker Diarization** (Sarvam API) — isolate dominant speaker
|
| 48 |
+
2. **Segmentation** — 15–60 second clips, no overlap
|
| 49 |
+
3. **Quality Filtering** — SNR ≥ 15 dB, speech ratio ≥ 65%
|
| 50 |
+
4. **ASR Transcription** (Sarvam saarika:v2) — with word timestamps
|
| 51 |
+
5. **Emotion Tagging** (Sarvam LLM) — style/prosody labels
|
| 52 |
+
6. **Human Review** — transcript correction and quality verification
|
| 53 |
+
|
| 54 |
+
### Audio Format
|
| 55 |
+
|
| 56 |
+
- Format: WAV (PCM 16-bit)
|
| 57 |
+
- Sample rate: 16,000 Hz
|
| 58 |
+
- Channels: Mono
|
| 59 |
+
|
| 60 |
+
### Schema
|
| 61 |
+
|
| 62 |
+
```
|
| 63 |
+
id — unique segment identifier
|
| 64 |
+
audio — WAV audio file (HF Audio feature)
|
| 65 |
+
transcript — verbatim speech transcript
|
| 66 |
+
language — en (Indian English) | hi (Hindi)
|
| 67 |
+
emotion — style label (see taxonomy below)
|
| 68 |
+
duration — segment length in seconds
|
| 69 |
+
confidence — ASR confidence score [0, 1]
|
| 70 |
+
source_url — original YouTube URL
|
| 71 |
+
human_reviewed — whether a human verified this segment
|
| 72 |
+
```
|
| 73 |
+
|
| 74 |
+
### Emotion Taxonomy
|
| 75 |
+
|
| 76 |
+
- informative: 158
|
| 77 |
+
- emphatic: 16
|
| 78 |
+
- energetic: 1
|
| 79 |
+
|
| 80 |
+
### Source Videos
|
| 81 |
+
|
| 82 |
+
| Language | Description | Accent |
|
| 83 |
+
|---|---|---|
|
| 84 |
+
| English | Stanford GSB lecture (Matt Abrahams) | American English |
|
| 85 |
+
| English | Indian tech talk | Indian English |
|
| 86 |
+
| Hindi | Hindi motivational speech | Standard Hindi |
|
| 87 |
+
| Hindi | Hindi motivational speech | Standard Hindi |
|
| 88 |
+
|
| 89 |
+
> **Note on English accent**: The primary English source (Stanford lecture)
|
| 90 |
+
> features an American English speaker. This is documented transparently in
|
| 91 |
+
> the `accent` metadata field. The Sarvam en-IN ASR model was used for
|
| 92 |
+
> transcription regardless.
|
| 93 |
+
|
| 94 |
+
### Pipeline
|
| 95 |
+
|
| 96 |
+
Full reproducible pipeline available at: https://github.com/[username]/sarvam-tts-dataset
|
| 97 |
+
|
| 98 |
+
```
|
| 99 |
+
scripts/
|
| 100 |
+
00_setup_env.py # environment validation
|
| 101 |
+
01_download_audio.py # yt-dlp download
|
| 102 |
+
02_convert_audio.py # ffmpeg → 16kHz mono WAV
|
| 103 |
+
03_diarization.py # Sarvam speaker diarization
|
| 104 |
+
04_segment_audio.py # 15–60s segmentation
|
| 105 |
+
05_asr_transcription.py # Sarvam saarika:v2 ASR
|
| 106 |
+
06_emotion_tagging.py # Sarvam LLM emotion labels
|
| 107 |
+
07_quality_scoring.py # composite quality score
|
| 108 |
+
08_human_review.py # interactive CLI review
|
| 109 |
+
09_build_metadata.py # final CSV/JSONL assembly
|
| 110 |
+
10_dataset_statistics.py # stats + visualisations
|
| 111 |
+
11_upload_huggingface.py # HF Hub upload
|
| 112 |
+
```
|
| 113 |
+
|
| 114 |
+
### Licensing
|
| 115 |
+
|
| 116 |
+
- Dataset: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
|
| 117 |
+
- Source videos used under YouTube's fair use provisions for research/education
|
| 118 |
+
- Transcripts are derived works; see individual source URLs for original content
|
| 119 |
+
|
| 120 |
+
### Citation
|
| 121 |
+
|
| 122 |
+
```bibtex
|
| 123 |
+
@dataset{sarvam_tts_dataset_2025,
|
| 124 |
+
title={Sarvam Indian TTS Dataset},
|
| 125 |
+
year={2025},
|
| 126 |
+
url={https://huggingface.co/Avishii0309/sarvam-tts-dataset},
|
| 127 |
+
note={Indian English and Hindi single-speaker TTS dataset}
|
| 128 |
+
}
|
| 129 |
+
```
|