Instructions to use facebook/musicgen-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/musicgen-medium with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="facebook/musicgen-medium")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("facebook/musicgen-medium") model = AutoModelForTextToWaveform.from_pretrained("facebook/musicgen-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md (#9)
- Update README.md (fe86836c0b933dc24bd5a53e33483eb5696650cf)d3bd7b0
-
Update TTA widget with example prompts (#8)
- Update TTA widget with example prompts (260ea266ccef56aeb739acbabea898adff47c7bb)ecb62cc
-
Update README.md
0288784
-
Update README.md
8c38514
-
Update README.md (#5)
- Update README.md (12547f3ab30e662c198273ea22994e3c1a98131b) - Update README.md (f910df651fc7fb070ae3d4ecb8edb8a74c932807) Co-authored-by: Jade Copet <JadeCopet@users.noreply.huggingface.co>7ea3bf8
-
add `inference: false` tag (#4)
- add `inference: false` tag (ce30004262fb8a2c31fcc0858e7ec42707c4a35a) Co-authored-by: Vaibhav Srivastav <reach-vb@users.noreply.huggingface.co>222cf3e
-
Update generation config (#3)
- update generation config (b93459a35f80c2985009cdf9789e8458a4ff3698) - update readme (aef8e3f57b55578fcea41d17a1d44321dd3dcb1b)f65fe41
-
Update with HF Implementation (#2)
- Update README.md with HF implementation (5ba3c8ae692e3d8153d42883111a252c55d34bdc)e5c69f2
-
add-transformers-weights-and-configs (#1)
- Add transformers weights & configs (1a1230af8bf17ba90bfff0ff3f5696b249ce0041) - Correct transformers weights & configs (bd459f9eaa88a67efa4fdfdf4922fbe87510f67a) - Correct transformers weights & configs (0aa40424096014ab8ff0ee77ffe7b084ae2bc773)fe1f36e
-
Update README.md
4d44dad -
Update README.md
6fc96a6 -
Update README.md
0018d60 -
Update README.md
0875911
-
Adding files for the new `get_pretrained` method
9353369 -
Update README.md
a993c16 -
Create README.md
ce8c824 -
initial commit
2517683