Instructions to use facebook/hf-seamless-m4t-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/hf-seamless-m4t-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="facebook/hf-seamless-m4t-medium")# Load model directly from transformers import AutoProcessor, AutoModel processor = AutoProcessor.from_pretrained("facebook/hf-seamless-m4t-medium") model = AutoModel.from_pretrained("facebook/hf-seamless-m4t-medium") - Notebooks
- Google Colab
- Kaggle