Instructions to use BinaryLight1011/Musicbeat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BinaryLight1011/Musicbeat with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-audio", model="BinaryLight1011/Musicbeat")# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("BinaryLight1011/Musicbeat", device_map="auto") - PEFT
How to use BinaryLight1011/Musicbeat with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
Download processor_config.json from BinaryLight1011/Musicbeat: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/BinaryLight1011/Musicbeat/resolve/main/processor_config.json
- Command line
-
hf download hf://BinaryLight1011/Musicbeat/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/BinaryLight1011/Musicbeat/resolve/main/processor_config.json
320 Bytes
| { | |
| "feature_extractor": { | |
| "chunk_length_s": null, | |
| "feature_extractor_type": "EncodecFeatureExtractor", | |
| "feature_size": 1, | |
| "overlap": null, | |
| "padding_side": "left", | |
| "padding_value": 0.0, | |
| "return_attention_mask": true, | |
| "sampling_rate": 32000 | |
| }, | |
| "processor_class": "MusicgenProcessor" | |
| } | |