vamsin07 commited on
Commit
47c9788
·
verified ·
1 Parent(s): 411b685

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +26 -9
README.md CHANGED
@@ -31,6 +31,24 @@ This model uses **simple fine-tuning (Whisper's tokenizer, ASR fine-tuning only)
31
 
32
  ~1.2x CER reduction over Whisper zero-shot on the combined test set.
33
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  ## Usage
35
 
36
  ```python
@@ -42,7 +60,7 @@ proc = WhisperProcessor.from_pretrained("BuzzASR/korean")
42
 
43
  wav, sr = torchaudio.load("audio.wav") # 16 kHz mono
44
  feats = proc(wav[0], sampling_rate=16000, return_tensors="pt").input_features.to("cuda").half()
45
- ids = model.generate(feats, num_beams=1, no_repeat_ngram_size=3, repetition_penalty=1.2)
46
  print(proc.batch_decode(ids, skip_special_tokens=True)[0])
47
  ```
48
  The language/task prompt is baked into the generation config, so no `language=` argument is needed.
@@ -62,11 +80,10 @@ Monolingual (Korean only). Evaluated on FLEURS / Common Voice test splits; other
62
  @misc{buzzasr2026,
63
  title = {BuzzASR: A Swarm of 100+ Monolingual Speech Recognition Models},
64
  author = {Shivam Singh and Aditya Yadavalli and Catherine Arnett and Alex Warstadt},
65
- year = {2026},
66
- eprint = {2609.09554},
67
- archivePrefix = {arXiv},
68
- primaryClass = {cs.CL},
69
- note = {Findings of the Association for Computational Linguistics: EMNLP 2026},
70
- url = {https://arxiv.org/abs/2609.09554}
71
- }
72
- ```
 
31
 
32
  ~1.2x CER reduction over Whisper zero-shot on the combined test set.
33
 
34
+ ### How the scores above were computed
35
+
36
+ CER/WER are computed with jiwer 3.0.4 after applying the same normalization to references and
37
+ hypotheses: lowercase, remove all characters except letters, combining marks, numbers,
38
+ whitespace, apostrophes and hyphens, then collapse whitespace. This removes parentheses but
39
+ keeps the words inside them, so FLEURS scores include parenthesised words that are not spoken
40
+ in the audio. Spacing differences are also counted as errors.
41
+
42
+ ### Recommended decoding settings
43
+
44
+ An independent evaluation by [Kwan-u Choi](https://huggingface.co/Gonow1) with [kocer](https://github.com/Choi-kwan-u/kocer) (v0.5.0), a Korean-specific
45
+ CER that accounts for notation and spacing differences, found that beam search (`num_beams=5`)
46
+ gives the lowest CER on all six Korean test sets evaluated, while the settings this card
47
+ previously recommended (`num_beams=1, no_repeat_ngram_size=3, repetition_penalty=1.2`) gave
48
+ the highest. We now recommend `num_beams=5`. Full results are in the
49
+ [kocer repository](KOCER_REPO_URL); scores are from kocer 0.5.0 and may differ in other versions.
50
+ Thanks to Kwan-u for the evaluation:)
51
+
52
  ## Usage
53
 
54
  ```python
 
60
 
61
  wav, sr = torchaudio.load("audio.wav") # 16 kHz mono
62
  feats = proc(wav[0], sampling_rate=16000, return_tensors="pt").input_features.to("cuda").half()
63
+ ids = model.generate(feats, num_beams=5) # recommended; see "Recommended decoding settings"
64
  print(proc.batch_decode(ids, skip_special_tokens=True)[0])
65
  ```
66
  The language/task prompt is baked into the generation config, so no `language=` argument is needed.
 
80
  @misc{buzzasr2026,
81
  title = {BuzzASR: A Swarm of 100+ Monolingual Speech Recognition Models},
82
  author = {Shivam Singh and Aditya Yadavalli and Catherine Arnett and Alex Warstadt},
83
+ year =
84
+
85
+
86
+
87
+
88
+
89
+