Instructions to use sweetcocoa/pop2piano with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sweetcocoa/pop2piano with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="sweetcocoa/pop2piano")# Load model directly from transformers import AutoModelForSpeechSeq2Seq model = AutoModelForSpeechSeq2Seq.from_pretrained("sweetcocoa/pop2piano", dtype="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "tokenizer_class": "Pop2PianoTokenizer", | |
| "default_velocity" : 77, | |
| "unk_token": "-1", | |
| "eos_token": "1", | |
| "pad_token": "0", | |
| "bos_token": "2", | |
| "num_bars" : 2 | |
| } | |