Run this model with HF Jobs

Run ResembleAI/chatterbox on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/ResembleAI/chatterbox. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/ResembleAI/chatterbox on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Is there a way to encode voices directly?

#12
by zoharcozmox - opened

Can we hardcode voices in the model while initializing and make the model to inference faster currently takes around 2 seconds to clone a sentence.

I was thinking exactly the same, Gemini found a solution in single shot for me editing tts.py.
But i usually do not sling ai slop on the internet, and can't really be bother to check it thoroughly.

what I asked was: "Problem: prepare_conditionals is called every time generate is run with an audio_prompt_path. This involves librosa loading/resampling and model inference (VE, S3Gen tokenizer). I frequently use the same audio_prompt_path, I'd like to cache the computed Conditionals object. Can you help me with that? here is the code:"

It came up with a solution for me that if I "warm-up" the model with a reference audio file its faster on subsequent requests.

Sign up or log in to comment