Feature Extraction
Transformers
Safetensors
mert2
audio
music
music-understanding
representation-learning
custom_code
Instructions to use Supbatomic/MERT-v2-30s with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Supbatomic/MERT-v2-30s with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Supbatomic/MERT-v2-30s", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Supbatomic/MERT-v2-30s", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download preprocessor_config.json from Supbatomic/MERT-v2-30s: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/Supbatomic/MERT-v2-30s/resolve/main/preprocessor_config.json
- Command line
-
hf download hf://Supbatomic/MERT-v2-30s/preprocessor_config.json
-
curl -L -o preprocessor_config.json https://huggingface.co/Supbatomic/MERT-v2-30s/resolve/main/preprocessor_config.json
215 Bytes
| { | |
| "feature_extractor_type": "Wav2Vec2FeatureExtractor", | |
| "feature_size": 1, | |
| "sampling_rate": 24000, | |
| "padding_value": 0.0, | |
| "padding_side": "right", | |
| "return_attention_mask": true, | |
| "do_normalize": false | |
| } | |