--- language: - hi - en license: cc-by-4.0 task_categories: - automatic-speech-recognition tags: - hindi - asr - youtube - transcripts - parakeet - tts - hinglish size_categories: - 10K/ videos.json # Video metadata (id, title, duration) manifest.csv # Maps video_id → transcript files subs/ .hi.vtt # Hindi auto-generated subtitles .en.vtt # English (rare) scripts/ youtube_download_subs.py # Download more transcripts youtube_scout.py # Estimate channel hours vtt_to_training_data.py # VTT → audio segments → NeMo manifest ``` ## Pipeline: Transcripts → Training Data ```bash # 1. Download audio + segment for one video (dry run) python scripts/vtt_to_training_data.py --video-id --channel # 2. Download transcripts for more channels python scripts/youtube_download_subs.py --channel --workers 6 # 3. List all available channels python scripts/youtube_download_subs.py --list ``` ## VTT Format YouTube VTT includes word-level timestamps: ``` 00:00:02.560 --> 00:00:05.590 ईरान युद्ध में पूरी दुनिया के लिहाज से आज<00:00:02.879> का<00:00:03.120> दिन ``` ## Quality (from 132 sample analysis) - **Words/sec**: 2.75 (normal Hindi: 2-3) - **Hindi chars**: 100% - **Auto-caption accuracy**: ~85-95% (studio), ~60-75% (field) ## Use Cases - **ASR**: Train Parakeet-TDT-0.6B or fine-tune Whisper for Hindi - **TTS**: Fine-tune IndicF5 or Chatterbox with paired audio - **NLP**: Hindi language modeling, code-switching research ## Add More Channels ```python # In scripts/youtube_download_subs.py, add to DEFAULT_CHANNELS: "NewChannel": {"name": "Channel Name", "category": "news"} ``` Then run: ```bash python scripts/youtube_download_subs.py --channel NewChannel --workers 6 ```