A LoRA adapter for the audio encoder of BuzzASR/armenian (Whisper-large-v3 fine-tuned on Armenian), trained to keep working over phone lines. It was built for the Veritas AI International High School Hackathon 2026 (AI + Languages track).
Training: FLEURS Armenian training clips, half of them sent through a randomised telephone channel (8 kHz narrow band, G.711 μ-law/A-law or Opus codecs, packet loss, white/pink/babble noise, echo, speed and volume changes) plus SpecAugment. LoRA r=16 on encoder attention and MLP layers (~1.5% of parameters), lr 5e-5, 2 epochs, free Kaggle T4.
Results (FLEURS Armenian test, 932 clips, word error rate):
| Audio | BuzzASR | + this adapter |
|---|---|---|
| Clean | 13.7% | 13.8% |
| Phone (G.711 simulation) | 17.4% | 17.2% |
| Unseen GSM mobile codec + packet loss + noise | 24.3% | 23.3% (95% CI of change: -1.5 to -0.5) |
Numbers that survive transcription over the unseen codec: 72.1% → 78.2%.
import json, torch
from huggingface_hub import hf_hub_download
from peft import PeftModel
from transformers import WhisperForConditionalGeneration, WhisperProcessor
proc = WhisperProcessor.from_pretrained("BuzzASR/armenian")
base = WhisperForConditionalGeneration.from_pretrained("BuzzASR/armenian", torch_dtype=torch.float16)
gcj = json.load(open(hf_hub_download("BuzzASR/armenian", "generation_config.json")))
for k in ["lang_to_id", "task_to_id", "language", "task", "no_timestamps_token_id"]:
setattr(base.generation_config, k, gcj[k]) # newer transformers drop this table when loading
model = PeftModel.from_pretrained(base, "davitlive5/lsir-buzzasr-armenian-phone-lora").to("cuda").eval()
# decode only ordinary text tokens (ids below the end-of-text id); see the project notebooks
Code, notebooks and write-up: https://github.com/davie2009kh/lsir · Live demo: https://huggingface.co/spaces/davitlive5/lsir-armenian-phone-asr
Prototype from a high-school hackathon, not a medical or safety-critical tool.