Model reference · open weights
smt-camera-grandstaff is an open-weight language model from antoniorv6. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.
Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.
What it is
| Released by | antoniorv6 |
|---|---|
| Type | Language models |
| Task | Image→text |
| Parameters (lead) | 21M |
| Released | 2024-08-12 |
| Popularity | 879 downloads / month |
| Licence | Open weights |
About
The SMT model fine-tuned on the Camera GrandStaff dataset for pianoform transcription. The code of the model is hosted in this repository.
The SMT model consists of a vision encoder (ConvNext) and a text decoder (classic Transformer). Given an image of a music system, the encoder first encodes the image into a tensor of embeddings (of shape batch_size, seq_len, hidden_size), after which the decoder autoregressively generates text, conditioned on the encoding of the encoder.
This model is fine-tuned on the Camera GrandStaff dataset, its use is limited to transcribe pianoform images only.
@misc{RiosVila2024,
title={Sheet Music Transformer: End-To-End Optical Music Recognition Beyond Monophonic Transcription},
author={Antonio Ríos-Vila and Jorge Calvo-Zaragoza and Thierry Paquet},
year={2024},
eprint={2402.07596},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2402.07596},
}
From the published model card. Full card on the HuggingFace links in the sidebar.
Using it via the API
Once AxForge deploys smt-camera-grandstaff for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (smt-camera-grandstaff below is illustrative; you get the exact model name on deployment.)
$ curl -sS https://api.axforge.ai/v1/chat/completions \
-H "Authorization: Bearer $AXFORGE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"smt-camera-grandstaff","messages":[{"role":"user","content":"Hello"}]}'
Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.