Instructions to use Ronin48LLC/generic-science-professor-chatterbox-lora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Ronin48LLC/generic-science-professor-chatterbox-lora with PEFT:
Task type is invalid.
- Chatterbox
How to use Ronin48LLC/generic-science-professor-chatterbox-lora with Chatterbox:
# pip install chatterbox-tts import torchaudio as ta from chatterbox.tts import ChatterboxTTS model = ChatterboxTTS.from_pretrained(device="cuda") text = "Ezreal and Jinx teamed up with Ahri, Yasuo, and Teemo to take down the enemy's Nexus in an epic late-game pentakill." wav = model.generate(text) ta.save("test-1.wav", wav, model.sr) # If you want to synthesize with a different voice, specify the audio prompt AUDIO_PROMPT_PATH="YOUR_FILE.wav" wav = model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH) ta.save("test-2.wav", wav, model.sr) - Notebooks
- Google Colab
- Kaggle
sample.wav: monologue as one run-on sentence (two long generate() calls)
Browse filesFiles changed (2)
- README.md+9-10
- samples/sample.wav+2-2
34 unmodified lines3536373839404142434445464748495034 unmodified lines## Sample`samples/sample.wav` is a 59-second v2 render of a short original monologue("Hello, Solutions Architect. Are you tired?"), made with the settings in the usageexample: exaggeration 0.5, cfg_weight 0.3, temperature 0.8, repetition penalty 1.4,one sentence or short group of sentences per `generate()` call, joined with shortpauses and loudness-normalized (EBU R128, I = -16 LUFS). Each chunk was re-seededuntil it passed two checks: Whisper `small.en` reads it back exactly, and the last30 ms of speech before the pause has decayed to 5% of speech level or less, so nosentence is cut off mid-sound. All 15 chunks pass both; most took one to threeseeds, the hardest took 26. This is take selection, not editing: no audio wasspliced or faded by hand.<audio controls src="https://huggingface.co/Ronin48LLC/generic-science-professor-chatterbox-lora/resolve/main/samples/sample.wav"></audio>34 unmodified lines35363738394041424344454647484934 unmodified lines## Sample`samples/sample.wav` is a 35-second v2 render of a short original monologue("Hello, Solutions Architect, are you tired..."), written as one comma-splicedrun-on sentence so it is read as two long `generate()` calls rather than manyshort ones. Settings are those in the usage example: exaggeration 0.5, cfg_weight0.3, temperature 0.8, repetition penalty 1.4, loudness-normalized (EBU R128,I = -16 LUFS). Each call was re-seeded until Whisper `small.en` read it back at0.95 or better and the last 30 ms of speech had decayed to 5% of speech level orless (first call: 1 seed, second: 9). Take selection only: no audio was spliced orfaded by hand.<audio controls src="https://huggingface.co/Ronin48LLC/generic-science-professor-chatterbox-lora/resolve/main/samples/sample.wav"></audio>
123version https://git-lfs.github.com/spec/v1oid sha256:d62bbeadc77565f8544aa4dc610fcdbcf6fa1b66d487d066f28c94f224378ee4size 2811918123version https://git-lfs.github.com/spec/v1oid sha256:c3e7a7050e9adae92f90d1d4c4d46dc84cc959cb9663db795948365dd98773bcsize 1666638
README.md+9-10
samples/sample.wav+2-2