Instructions to use jamesdon/audiogen-medium-endpoint with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jamesdon/audiogen-medium-endpoint with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="jamesdon/audiogen-medium-endpoint")# Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("jamesdon/audiogen-medium-endpoint") model = AutoModelForTextToWaveform.from_pretrained("jamesdon/audiogen-medium-endpoint", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 275 Bytes
59b6503 | 1 2 3 4 5 6 7 8 9 10 11 12 | {
"chunk_length_s": null,
"feature_extractor_type": "EncodecFeatureExtractor",
"feature_size": 1,
"overlap": null,
"padding_side": "left",
"padding_value": 0.0,
"processor_class": "MusicgenProcessor",
"return_attention_mask": true,
"sampling_rate": 32000
}
|