Automatic Speech Recognition
Transformers
Safetensors
Sakizaya
whisper
formosanbank
formosan
endangered-languages
speech
asr
whisper-small
tacl
Instructions to use FormosanBank/formosan-asr-sakizaya with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FormosanBank/formosan-asr-sakizaya with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="FormosanBank/formosan-asr-sakizaya")# Load model directly from transformers import AutoProcessor, AutoModelForSpeechSeq2Seq processor = AutoProcessor.from_pretrained("FormosanBank/formosan-asr-sakizaya") model = AutoModelForSpeechSeq2Seq.from_pretrained("FormosanBank/formosan-asr-sakizaya", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| language: | |
| - "szy" | |
| library_name: transformers | |
| pipeline_tag: automatic-speech-recognition | |
| tags: | |
| - formosanbank | |
| - formosan | |
| - endangered-languages | |
| - speech | |
| - asr | |
| - whisper-small | |
| - tacl | |
| base_model: openai/whisper-small | |
| base_model_relation: finetune | |
| license: cc-by-4.0 | |
| metrics: | |
| - wer | |
| - cer | |
| # Formosan ASR — Sakizaya | |
| This is FormosanBank's current general-purpose automatic speech recognition | |
| checkpoint for **Sakizaya**. It was selected by the lowest normalized | |
| micro word error rate among the completed language-level TACL systems evaluated | |
| on the same frozen all-corpora test partition. | |
| ## Model | |
| - Repository: `FormosanBank/formosan-asr-sakizaya` | |
| - Architecture family: **Whisper Small** | |
| - Training path: **pan-Formosan supervised fine-tuning followed by language adaptation** | |
| - Base model: `openai/whisper-small` | |
| - Parameters are stored in `model.safetensors` | |
| ### Training lineage | |
| 1. Base checkpoint: `openai/whisper-small`. | |
| 2. Supervised pan-Formosan ASR training, then adaptation to the target language's pooled training corpora. | |
| The target-language supervised stage used `ILRDF`, `NTU`, `ePark1`, `ePark2`, `ePark3`. The experiment used | |
| `dataset_v1`, frozen `split_v2`, normalization `formosan_safe_v1`, and seed | |
| `13`. Full machine-readable provenance is included in | |
| `training_config.json`. | |
| ## Evaluation | |
| Evaluation uses the frozen, leakage-controlled `split_v2` test manifests and | |
| normalized text. Metrics are computed by summing edit counts across all | |
| available Sakizaya test corpora, so larger corpora contribute in | |
| proportion to their reference tokens. | |
| - Normalized micro WER: **12.39%** | |
| - Normalized micro CER: **3.50%** | |
| - Test utterances: **1,106** | |
| - Test corpora: **5** | |
| - Automated readiness: **pass** | |
| | Corpus | Utterances | WER | CER | | |
| |---|---:|---:|---:| | |
| | ILRDF | 527 | 8.94% | 1.98% | | |
| | NTU | 86 | 39.20% | 17.10% | | |
| | ePark1 | 101 | 10.94% | 2.78% | | |
| | ePark2 | 63 | 6.08% | 1.86% | | |
| | ePark3 | 329 | 9.80% | 2.21% | | |
| Detailed edit counts are provided in `evaluation_results.json` and | |
| `metrics_by_corpus.tsv`. | |
| These figures are specific to the frozen TACL evaluation protocol. They should | |
| not be compared directly with the April 2026 stage-one releases, which used a | |
| different experiment snapshot. | |
| ## Usage | |
| ```python | |
| from transformers import pipeline | |
| repo_id = "FormosanBank/formosan-asr-sakizaya" | |
| transcribe = pipeline("automatic-speech-recognition", model=repo_id) | |
| result = transcribe("path/to/16khz_audio.wav") | |
| print(result["text"]) | |
| ``` | |
| For long recordings, segment the audio before inference. The training recipe | |
| used utterances between 2 and 20 seconds. | |
| ## Intended use | |
| This checkpoint supports research, education, language documentation, and | |
| revitalization work involving Sakizaya. Human review is recommended | |
| before using transcriptions in archives, publications, teaching materials, or | |
| other consequential settings. | |
| ## Limitations | |
| Performance varies substantially across corpora, speakers, recording | |
| conditions, dialects, speaking styles, and orthographic conventions. The | |
| aggregate score can hide weak performance on a particular corpus. The model | |
| may omit, substitute, or hallucinate words and should not be treated as an | |
| authoritative transcription source. | |
| ## Data provenance | |
| Training and evaluation artifacts come from the frozen Hunter Formosan TACL | |
| pipeline. Source corpus IDs can include Bible, ILRDF, NTU, ePark1, ePark2, | |
| ePark3, Xuan, YeddaPalemeqBlog, Youtube, and YutasWilang, depending on language | |
| availability. Audio is not redistributed in this repository. Underlying | |
| recordings retain their original rights and access conditions. | |
| ## License and attribution | |
| This model release and FormosanBank annotations/metadata are provided under | |
| **CC BY 4.0**. The upstream `openai/whisper-small` checkpoint is distributed under | |
| Apache 2.0. Users remain responsible for respecting the terms associated with | |
| underlying source recordings. | |
| Please cite FormosanBank: | |
| ```bibtex | |
| @misc{mohamed2024formosanbank, | |
| author = {Mohamed, W. and Le Ferrand, É. and Sung, L.-M. and Prud'hommeaux, E. and Hartshorne, J. K.}, | |
| title = {FormosanBank}, | |
| year = {2024}, | |
| note = {Electronic Resource}, | |
| url = {https://ai4commsci.gitbook.io/formosanbank} | |
| } | |
| ``` | |