Downloads · 30 days
0
filipok/seamless-asr-endpoint
seamless-asr-endpoint is a machine learning model from filipok. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Custom HF Inference Endpoint handler for Meta Seamless-M4T v2 speech-to-text — the endpoint counterpart of src/transcribers/seamless.py (generate(generatespeech=False)).
Downloads · 30 days
0
Access
Public
Updated Jun 21, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py7.3 KB · 76%
From the Hugging Face model README
Custom HF Inference Endpoint handler for Meta Seamless-M4T v2 speech-to-text — the
endpoint counterpart of src/transcribers/seamless.py (generate(generate_speech=False)).
The target language is set per-endpoint via SEAMLESS_TGT_LANG (default som;
gaz=Oromo, amh=Amharic), since the request carries only audio. Model via
SEAMLESS_MODEL (default facebook/seamless-m4t-v2-large); long audio is chunked
into SEAMLESS_CHUNK_SEC (default 30 s) windows. Seamless does NOT support Afar/Tigrinya.
Protocol: POST {"inputs": <base64 audio>} → {"text": ...}. Deploy on a medium GPU,
min replica = 0. See docs/asr-endpoints-deploy.md.