Safetensors format from
here
, with an updated config and code pointing to ungated llama.
Converted from the
original version
to the Safetensors FP16 format. It also tracks downloads.
2025/03/13
- We are releasing the 1B CSM variant. Code is available on GitHub:
SesameAILabs/csm
.
CSM (Conversational Speech Model) is a speech generation model from
Sesame
that generates RVQ audio codes from text and audio inputs. The model architecture employs a
Llama
backbone and a smaller audio decoder that produces
Mimi
audio codes.
CSM sounds best when provided with context. You can prompt or provide context to the model using a
Segment
for each speaker utterance.
speakers = [0, 1, 0, 0]
transcripts = [
"Hey how are you doing.",
"Pretty good, pretty good.",
"I'm great.",
"So happy to be speaking to you.",
]
audio_paths = [
"utterance_0.wav",
"utterance_1.wav",
"utterance_2.wav",
"utterance_3.wav",
]
defload_audio(audio_path):
audio_tensor, sample_rate = torchaudio.load(audio_path)
audio_tensor = torchaudio.functional.resample(
audio_tensor.squeeze(0), orig_freq=sample_rate, new_freq=generator.sample_rate
)
return audio_tensor
segments = [
Segment(text=transcript, speaker=speaker, audio=load_audio(audio_path))
for transcript, speaker, audio_path inzip(transcripts, speakers, audio_paths)
]
audio = generator.generate(
text="Me too, this is some cool stuff huh?",
speaker=1,
context=segments,
max_audio_length_ms=10_000,
)
torchaudio.save("audio.wav", audio.unsqueeze(0).cpu(), generator.sample_rate)
FAQ
Does this model come with any voices?
The model open sourced here is a base generation model. It is capable of producing a variety of voices, but it has not been fine-tuned on any specific voice.
Can I converse with the model?
CSM is trained to be an audio generation model and not a general purpose multimodal LLM. It cannot generate text. We suggest using a separate LLM for text generation.
Does it support other languages?
The model has some capacity for non-English languages due to data contamination in the training data, but it likely won't do well.
Misuse and abuse ⚠️
This project provides a high-quality speech generation model for research and educational purposes. While we encourage responsible and ethical use, we
explicitly prohibit
the following:
Impersonation or Fraud
: Do not use this model to generate speech that mimics real individuals without their explicit consent.
Misinformation or Deception
: Do not use this model to create deceptive or misleading content, such as fake news or fraudulent calls.
Illegal or Harmful Activities
: Do not use this model for any illegal, harmful, or malicious purposes.
By using this model, you agree to comply with all applicable laws and ethical guidelines. We are
not responsible
for any misuse, and we strongly condemn unethical applications of this technology.
Authors
Johan Schalkwyk, Ankit Kumar, Dan Lyth, Sefik Emre Eskimez, Zack Hodari, Cinjon Resnick, Ramon Sanabria, Raven Jiang, and the Sesame team.
Runs of chutesai csm-1b on huggingface.co
16
Total runs
1
24-hour runs
3
3-day runs
6
7-day runs
-1
30-day runs
More Information About csm-1b huggingface.co Model
csm-1b huggingface.co is an AI model on huggingface.co that provides csm-1b's model effect (), which can be used instantly with this chutesai csm-1b model. huggingface.co supports a free trial of the csm-1b model, and also provides paid use of the csm-1b. Support call csm-1b model through api, including Node.js, Python, http.
csm-1b huggingface.co is an online trial and call api platform, which integrates csm-1b's modeling effects, including api services, and provides a free online trial of csm-1b, you can try csm-1b online for free by clicking the link below.
chutesai csm-1b online free url in huggingface.co:
csm-1b is an open source model from GitHub that offers a free installation service, and any user can find csm-1b on GitHub to install. At the same time, huggingface.co provides the effect of csm-1b install, users can directly use csm-1b installed effect in huggingface.co for debugging and trial. It also supports api for free installation.