Instructions to use facebook/musicgen-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/musicgen-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="facebook/musicgen-large")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("facebook/musicgen-large") model = AutoModelForTextToWaveform.from_pretrained("facebook/musicgen-large", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Upload state_dict.bin
Browse filesUpload the model's state dict
- state_dict.bin +3 -0
state_dict.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1f0cf17b5e65c5dd8ba71767371c377f174e4ce1db44bc4d6657825769f26ffd
|
| 3 |
+
size 6514108999
|