billingsmoore commited on
Commit
52fb71f
·
verified ·
1 Parent(s): f4bb557

Add model card with paper results and citation

Browse files
Files changed (1) hide show
  1. README.md +122 -19
README.md CHANGED
@@ -1,37 +1,127 @@
1
  ---
 
 
 
 
 
 
 
 
 
 
 
2
  base_model: openai/whisper-tiny
3
  datasets:
4
  - billingsmoore/tibetan-asr
5
- language:
6
- - bo
7
- license: cc-by-4.0
8
- tags:
9
- - asr
10
- - tibetan
11
- - speech-recognition
 
 
 
 
 
 
 
 
 
 
 
 
 
12
  ---
13
 
14
- # tibetan-asr-whisper-tiny-lora-8bit
15
 
16
- Fine-tuned on the [NICT-Tib1](https://huggingface.co/datasets/billingsmoore/tibetan-asr) Tibetan speech dataset,
17
- one of five architectures (Whisper Tiny/Base/Small, Wav2Vec2, HuBERT) and six adaptation strategies
18
- (standard fine-tuning, 8-bit/4-bit quantization, LoRA, and 8-bit/4-bit QLoRA) benchmarked in:
19
 
20
  > J. Moore, S. Li and P. Lauren, "Evaluating Tibetan ASR With Segmented Word Error Rate: Beyond Character-Level Metrics," in *IEEE Access*, vol. 14, pp. 101790-101805, 2026, doi: 10.1109/ACCESS.2026.3709206.
21
 
22
- The paper introduces Segmented Word Error Rate (SWER) a word-level evaluation framework for
23
- Tibetan ASR built on automatic segmentation — and reports CER, SER, and SWER results for every
24
- model/adaptation combination. See the paper for full benchmark tables and metric analysis.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
- - **Base model:** `openai/whisper-tiny`
27
- - **Dataset:** `billingsmoore/tibetan-asr`
28
- - **Language:** Tibetan (`bo`)
29
 
30
- This repo contains a LoRA adapter (via [PEFT](https://github.com/huggingface/peft)) fine-tuned on top of the base model above. Load it with `peft`'s `PeftModel.from_pretrained(base_model, this_repo)`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
 
32
  ## Citation
33
 
34
- If you use this model, please cite:
35
 
36
  ```bibtex
37
  @ARTICLE{moore2026tibetanasr,
@@ -43,4 +133,17 @@ If you use this model, please cite:
43
  pages={101790-101805},
44
  doi={10.1109/ACCESS.2026.3709206}
45
  }
 
 
 
 
 
 
 
 
 
46
  ```
 
 
 
 
 
1
  ---
2
+ language: bo
3
+ license: apache-2.0
4
+ library_name: peft
5
+ tags:
6
+ - automatic-speech-recognition
7
+ - tibetan
8
+ - low-resource
9
+ - whisper
10
+ - lora
11
+ - peft
12
+ - 8bit
13
  base_model: openai/whisper-tiny
14
  datasets:
15
  - billingsmoore/tibetan-asr
16
+ metrics:
17
+ - cer
18
+ - wer
19
+ model-index:
20
+ - name: tibetan-asr-whisper-tiny-lora-8bit
21
+ results:
22
+ - task:
23
+ type: automatic-speech-recognition
24
+ name: Automatic Speech Recognition
25
+ dataset:
26
+ type: billingsmoore/tibetan-asr
27
+ name: NICT-Tib1 (Lhasa Tibetan)
28
+ split: test
29
+ metrics:
30
+ - type: cer
31
+ value: 0.7555
32
+ name: CER
33
+ - type: wer
34
+ value: 1.0461
35
+ name: BoTok-SWER (Segmented WER)
36
  ---
37
 
38
+ # Whisper Tiny — Tibetan ASR (QLoRA, 8-bit)
39
 
40
+ Fine-tuned **`openai/whisper-tiny`** for automatic speech recognition (ASR) on **Lhasa Tibetan**, released alongside:
 
 
41
 
42
  > J. Moore, S. Li and P. Lauren, "Evaluating Tibetan ASR With Segmented Word Error Rate: Beyond Character-Level Metrics," in *IEEE Access*, vol. 14, pp. 101790-101805, 2026, doi: 10.1109/ACCESS.2026.3709206.
43
 
44
+ This repo is one of 14 model checkpoints released with the paper, benchmarking 5 ASR architectures (Whisper Tiny/Base/Small, Wav2Vec 2.0 Base, HuBERT Base) under full fine-tuning, LoRA, and QLoRA (8-bit/4-bit) adaptation. See [billingsmoore/tibetan-asr-*](https://huggingface.co/billingsmoore) for the full set.
45
+
46
+ ## Model description
47
+
48
+ Whisper is an encoder–decoder transformer, originally pre-trained by OpenAI on 680,000 hours of weakly-labeled multilingual speech-text data, fine-tuned here for sequence-to-sequence Tibetan transcription. This checkpoint uses **QLoRA fine-tuning (LoRA adapters trained on top of an 8-bit quantized base model)**.
49
+
50
+ **LoRA configuration:** r=8, alpha=16, dropout=0.1, targeting the attention projections (`k_proj`, `q_proj`, `v_proj`, `out_proj`) and both feed-forward layers (`fc1`, `fc2`) of every Whisper transformer block.
51
+
52
+ Base model weights are loaded in 8-bit precision (symmetric rounding, double quantization) via `bitsandbytes` before LoRA adapters are applied.
53
+
54
+ ## Training data
55
+
56
+ Fine-tuned on [NICT-Tib1](https://huggingface.co/datasets/billingsmoore/tibetan-asr), a corpus of transcribed Lhasa Tibetan speech from 20 speakers (Soky, Gong & Li, 2022). The data was split by speaker (85/15, not by utterance) so that no speaker appears in both splits: 15,099 training utterances from 17 speakers, 1,547 test utterances from the remaining 3 speakers.
57
+
58
+ ## Training procedure
59
+
60
+ - Base model: `openai/whisper-tiny`
61
+ - Learning rate: 3.75e-5
62
+ - Max steps: 4000 (warmup 500)
63
+ - Effective batch size: 16 (per-device batch size 2, gradient accumulation 8)
64
+ - Mixed precision: fp16, with gradient checkpointing
65
+ - Generation max length: 225
66
+
67
+ ## Evaluation results
68
+
69
+ Evaluated on the 1,547-utterance NICT-Tib1 test set under five metrics: Character Error Rate (CER), Syllable Error Rate (SER), and three Segmented Word Error Rate (SWER) variants using different automatic word segmenters (BoTok-SWER, BERT-SWER, and Gem-SWER, the last computed on a 500-utterance subset for API cost reasons). All values are micro-averaged. See the paper for full bootstrap confidence intervals.
70
+
71
+ | Metric | Value |
72
+ |---|---|
73
+ | CER (micro) | 0.7555 |
74
+ | SER (micro) | 0.9908 |
75
+ | BoTok-SWER (micro) | 1.0461 |
76
+ | BERT-SWER (micro, full 1,547-utt. test set) | 0.558 |
77
+ | Gem-SWER (micro, 500-utt. subset) | 1.2158 |
78
 
 
 
 
79
 
80
+
81
+ ### Full model family comparison (standard fine-tuning)
82
+
83
+ | Model | Repo | CER | SER | BoTok-SWER | BERT-SWER | Gem-SWER |
84
+ |---|---|---|---|---|---|---|
85
+ | HuBERT Base | [tibetan-asr-hubert-base](https://huggingface.co/billingsmoore/tibetan-asr-hubert-base) | 0.1352 | 0.3690 | 0.4477 | 0.161 | 0.9653 |
86
+ | Wav2Vec 2.0 Base | [tibetan-asr-wav2vec2-base](https://huggingface.co/billingsmoore/tibetan-asr-wav2vec2-base) | 0.0745 | 0.2152 | 0.2747 | 0.097 | 0.7447 |
87
+ | Whisper Tiny | [tibetan-asr-whisper-tiny](https://huggingface.co/billingsmoore/tibetan-asr-whisper-tiny) | 0.1560 | 0.2351 | 0.2975 | 0.118 | 0.6759 |
88
+ | Whisper Base | [tibetan-asr-whisper-base](https://huggingface.co/billingsmoore/tibetan-asr-whisper-base) | 0.1417 | 0.2083 | 0.2600 | 0.105 | 0.6314 |
89
+ | **Whisper Small** | [tibetan-asr-whisper-small](https://huggingface.co/billingsmoore/tibetan-asr-whisper-small) | **0.1185** | **0.1692** | **0.2042** | **0.086** | **0.5337** |
90
+
91
+
92
+ > [!WARNING]
93
+ > **This is a LoRA/QLoRA fine-tuned checkpoint. In the paper's benchmark, all LoRA and QLoRA configurations showed catastrophic word-level degradation** relative to full fine-tuning of the same base model, despite retaining partial character-level accuracy. This repo is published for reproducibility of that (negative) result, not as a recommended deployment artifact. If you need a usable Tibetan ASR model, use the [standard fine-tuned checkpoint](https://huggingface.co/billingsmoore/tibetan-asr-whisper-tiny) instead.
94
+
95
+ ## How to use
96
+
97
+ ```python
98
+ from transformers import WhisperForConditionalGeneration, WhisperProcessor
99
+ from transformers import BitsAndBytesConfig
100
+ from peft import PeftModel
101
+
102
+ bnb_config = BitsAndBytesConfig(load_in_8bit=True, llm_int8_skip_modules=None)
103
+ base_model = WhisperForConditionalGeneration.from_pretrained(
104
+ "openai/whisper-tiny", quantization_config=bnb_config, device_map="auto"
105
+ )
106
+ model = PeftModel.from_pretrained(base_model, "billingsmoore/tibetan-asr-whisper-tiny-lora-8bit")
107
+ processor = WhisperProcessor.from_pretrained("openai/whisper-tiny", language="bo", task="transcribe")
108
+
109
+ # generate as usual, e.g.:
110
+ # inputs = processor(audio, sampling_rate=16000, return_tensors="pt")
111
+ # predicted_ids = model.generate(**inputs)
112
+ # transcription = processor.batch_decode(predicted_ids, skip_special_tokens=True)
113
+ ```
114
+
115
+ ## Limitations
116
+
117
+ - Trained and evaluated only on read-speech, modern **Lhasa (Central) Tibetan** news recordings; performance on Amdo or Kham dialects, Classical Tibetan, or spontaneous/conversational speech is unknown.
118
+ - The test set contains only 3 speakers (by design, to prevent speaker leakage), which limits how confidently results generalize across speaker, age, and prosodic variation.
119
+ - CER alone understates errors that matter at the word level for Tibetan; see the paper for why SER and SWER are necessary complements when judging output quality.
120
+ - LoRA/QLoRA adapters showed severe sequence-level collapse in this study (SWER often exceeding 1.0, i.e. worse than a random-length hypothesis) despite retaining moderate CER — treat this checkpoint as a research artifact documenting that failure mode, not as a usable transcription model.
121
 
122
  ## Citation
123
 
124
+ If you use this model, please cite the paper and the source NICT-Tib1 corpus:
125
 
126
  ```bibtex
127
  @ARTICLE{moore2026tibetanasr,
 
133
  pages={101790-101805},
134
  doi={10.1109/ACCESS.2026.3709206}
135
  }
136
+
137
+ @inproceedings{soky2022nict,
138
+ title={Nict-tib1: A public speech corpus of lhasa dialect for benchmarking tibetan language speech recognition systems},
139
+ author={Soky, Kak and Gong, Zhuo and Li, Sheng},
140
+ booktitle={2022 25th Conference of the Oriental COCOSDA International Committee for the Co-ordination and Standardisation of Speech Databases and Assessment Techniques (O-COCOSDA)},
141
+ pages={1--5},
142
+ year={2022},
143
+ organization={IEEE}
144
+ }
145
  ```
146
+
147
+ ## License
148
+
149
+ Released under Apache License 2.0, inherited from the base model `openai/whisper-tiny`.