Instructions to use hf-audio/xcodec2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-audio/xcodec2 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("hf-audio/xcodec2", dtype="auto") - Notebooks
- Google Colab
- Kaggle
ImportError: cannot import name 'Xcodec2Model' from 'transformers'
3
#1 opened 6 months ago
by
anandaswarup