Instructions to use susnato/pop2piano_dev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use susnato/pop2piano_dev with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="susnato/pop2piano_dev")# Load model directly from transformers import AutoModelForSpeechSeq2Seq model = AutoModelForSpeechSeq2Seq.from_pretrained("susnato/pop2piano_dev", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 361 Bytes
e34474e d9655c6 8d5ba4b 9639ce2 d9655c6 80d9440 147beb8 db58163 3c7e8de 76cf234 8d5ba4b 8631d37 e34474e | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | {
"feature_extractor_type": "Pop2PianoFeatureExtractor",
"start_token_id": 0,
"target_length": 256,
"input_length": 1024,
"num_bars": 2,
"sampling_rate": 22050,
"mel_is_conditioned": true,
"padding_value": 0,
"eos_token_id": 1,
"default_velocity": 77,
"window_size":4096,
"hop_length":1024,
"min_frequency":10.0,
"feature_size":512
} |