Instructions to use hf-internal-testing/tiny-random-MusicgenForConditionalGeneration with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use hf-internal-testing/tiny-random-MusicgenForConditionalGeneration with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="hf-internal-testing/tiny-random-MusicgenForConditionalGeneration")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForTextToWaveform processor = AutoProcessor.from_pretrained("hf-internal-testing/tiny-random-MusicgenForConditionalGeneration") model = AutoModelForTextToWaveform.from_pretrained("hf-internal-testing/tiny-random-MusicgenForConditionalGeneration", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from hf-internal-testing/tiny-random-MusicgenForConditionalGeneration: direct link, hf CLI and curl.
- Browser
- Download file 7.01 MB
-
https://huggingface.co/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration/resolve/76fd55a7824910aaa531ba5ee515d08fa779885f/pytorch_model.bin
- Command line
-
hf download hf://hf-internal-testing/tiny-random-MusicgenForConditionalGeneration@76fd55a7824910aaa531ba5ee515d08fa779885f/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/hf-internal-testing/tiny-random-MusicgenForConditionalGeneration/resolve/76fd55a7824910aaa531ba5ee515d08fa779885f/pytorch_model.bin
7.01 MB
- Xet hash:
- 35354848f24b1aae5d9e59e36be5b97b9627b430ba7a9f255285f7685324524e
- Size of remote file:
- 7.01 MB
- SHA256:
- d2a78cddca304495eabaf5610d60c412d45e636028d8462ad3a4ca672715cddf
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.