Views
No views yet
| Cheez | Full (vdub-hindi-dubbing) | LITE (ye repo) |
|---|---|---|
| TTS core (t3_hi) | 2.14 GB fp32 | 0.65 GB INT8 (Q8_0) ✅ |
| TTS RAM (CPU) | ~3.2 GB | ~1.9 GB ✅ |
| TTS speed (CPU) | baseline | ~3-4x (packed INT8 GEMM) ✅ |
| Translation | NLLB fp32 (2.5 GB) | NLLB ONNX q8 (~0.9 GB) ✅ |
| Separation | Kim 67 MB / MelBand 913 MB | Kim 67 MB (CPU) / MelBand optional |
| S3Gen vocoder | 1.06 GB (upstream se) | 1.06 GB (upstream se, auto-fetch) |
| Repo total | 8.8 GB | ~0.7 GB + runtime fetch ~1.1 GB ✅ |
| Cinematic (Fun-CineForge-style) | pattern transfer | + loudnorm -23 LUFS, pitch (f0) transfer*, lip-sync* |
t3_hi.safetensors (Chatterbox Hindi T3, 30-layer Llama-520M) ka
218 Linear layers GGUF Q8_0 scheme se quantize hue hain
(per-32-block symmetric INT8 — llama.cpp wala standard).lite_loader.py):
VDUB_W8_PACKED=0 se exact
dequant-matmul (quality mode)notebooks/vdub_lite_runner.ipynb kholoINPUT_URL ya INPUT_FILE dovdub_out/dubbed_video.mp41git clone https://huggingface.co/Bbkblo/vdub-hindi-dubbing-lite
2cd vdub-hindi-dubbing-lite
3bash fetch_models_lite.sh # ~1.8 GB models
4pip install -e "git+https://github.com/resemble-ai/chatterbox.git" --no-deps
5pip install librosa safetensors s3tokenizer transformers huggingface_hub soundfile \
6 scipy conformer omegaconf pyloudnorm diffusers ml-collections optimum onnxruntime
7pip install "git+https://github.com/resemble-ai/Perth.git@master"
8# vdub_lite.py ke upar CONFIG me INPUT_URL/INPUT_FILE do, phir:
9python3 vdub_lite.py1from lite_loader import build_t3_lite
2# ya seedha vdub_lite.py ka load_tts_lite() — full MTL TTS wrapper ready milta haiVIDEO (link/file)
→ 1. fetch (yt-dlp ya file)
→ 2. transcript (SRT ya SenseVoice ASR)
→ 3. clip cutting
→ 4. speaker diarization (campplus clustering)
→ 5. emotion (SenseVoice tags)
→ 6. translation → Hindi (NLLB ONNX q8 / nllb / manual json)
→ 7. TTS (Chatterbox HI INT8: speaker clone + emotion exaggeration)
→ 8. pattern transfer (+ loudnorm -23 LUFS, pitch transfer optional)
→ 9. separation (Kim_Vocal_2 CPU / MelBandRoformer)
→ 10. mux (SRT timing + instrumental + keep-original ranges + 2 audio tracks)
→ 11. QC (voice similarity report)
→ 12. dubbed_video.mp4 + vdub_output.zip (+ Drive upload optional)| Param | Default | Kya karta hai |
|---|---|---|
INPUT_URL / INPUT_FILE | — | dubbing ka source |
SRT_FILE | "" | apna subtitle (warna ASR) |
TRANSLATE_MODE | onnx | onnx (lite) / nllb / manual / auto |
QUANT_MODE | int8 | int8 (Q8_0) / fp32 fallback |
SPEAKER_MAP | "" | {"Speaker 1": "Hero"} names |
SONG_RANGES | "" | [[s,e],...] — yahan original audio rahega |
SEP_MODE | kim | kim (67MB CPU) / melband (913MB best) |
CINEMATIC | True | pattern transfer + loudnorm + emotion |
LOUDNORM | True | broadcast -23 LUFS |
PITCH_TRANSFER | False | f0 (pitch) original se match — experimental |
LIP_SYNC | False | Wav2Lip — experimental, CPU slow |
DRIVE_UPLOAD | False | output Drive me bhi bhejo |
exaggeration (ANGRY 1.4 / HAPPY 1.1 / SAD 0.4 / NEUTRAL 0.5),
cfg_weight 0.3, temperature 0.8, MAX_SPEED 2.0 (pattern transfer).⚠️ t3_hi EOS note (22-Aug-2026 live test):mtl_tts.generateke default params (top_p=1.0, temp 0.8) se model kabhi-kabhi EOS nahi marta (loop).vdub_lite.pyme abtts_generate_lite()hai — duration-cap + repetition- tail trim + pattern-transfer fit. Ye Colab/CPU dono jagah use hota hai.
SEP_MODE=melband).| Model | License | Use |
|---|---|---|
| Chatterbox t3_hi (INT8 Q8_0) | MIT (ResembleAI) | TTS core |
| Chatterbox S3Gen + ve + tokenizer | MIT | vocoder / voice encoder |
| Kim_Vocal_2 (UVR5) | MIT | separation default |
| MelBandRoformer (Fun-CineForge) | Apache-2.0 | separation best (optional) |
| NLLB-200-600M ONNX q8 | CC-BY-NC-4.0 | translation (non-commercial) |
| SenseVoice/campplus (funasr) | auto-download | ASR/emotion/speaker QC |
QUANT_MODE=fp32 fallback hai