Instructions to use sesame/csm-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sesame/csm-1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="sesame/csm-1b")# Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("sesame/csm-1b") model = AutoModelForTextToWaveform.from_pretrained("sesame/csm-1b", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Fine-tuning notebook! π€
#50
by eustlb - opened
Hey all,
We cooked up a fine-tuning notebook for csm-1b! π€
Here's a cool demo:
https://x.com/eustachelb/status/1942643492569899073
and the notebook: https://colab.research.google.com/drive/1m2CFqE4cW_yJHYPQcXM1k4YlPaTmhxQv?usp=sharing#scrollTo=zCNDe6y-_1kI
Canβt wait to see what you build with it! π
Whoa, thank you! This is exactly what I was hoping to find :)
Hi I am getting a runtime error when trying to run the training.