Views
No views yet
1 - (WER + CER) / 2 on
raw text. Private leaderboard 0.771848284.Code, full method and one-command verification: yehoshua0/waxal-asr-phase2 The repository reproduces the submitted CSV byte for byte on a laptop in about a minute, and re-decodes every input from the audio on rented GPUs in about four hours.
init_adapter_layers() randomises an adapter the checkpoint already provides — that call is what made MMS fine-tuning look dead.1from transformers import Wav2Vec2ForCTC, AutoProcessor
2import torch, soundfile as sf, torchaudio.functional as AF
3
4proc = AutoProcessor.from_pretrained("yehoshua01/waxal-mms-1b-lin-fullmeta")
5model = Wav2Vec2ForCTC.from_pretrained("yehoshua01/waxal-mms-1b-lin-fullmeta").eval().cuda()
6
7wav, sr = sf.read("clip.wav", dtype="float32")
8wav = AF.resample(torch.from_numpy(wav), sr, 16_000).numpy()
9
10f = proc(wav, sampling_rate=16_000, return_tensors="pt", padding=True)
11# mms-1b-all is feat_extract_norm="layer": the attention mask is REQUIRED on batched input
12logits = model(f.input_values.cuda(), attention_mask=f.attention_mask.cuda()).logits
13print(proc.decode(logits[0].argmax(-1).cpu().numpy()))| code, method, verification | yehoshua0/waxal-asr-phase2 |
| cached decodes and chain inputs | yehoshua01/waxal-phase2-chain-inputs |
| all checkpoints | yehoshua01 on the Hub |
waxal-mms-1b-lin-pl2-spk · waxal-sunbird51-sna-pl2-spk · waxal-whisper-turbo-lin-r1 · waxal-whisper-turbo-lin-r2 · waxal-qlora-largev3-lin · waxal-omni-ctc1b-lin · waxal-omni-ctc1b-sna · waxal-sunbird51-lin-ft-r2 · waxal-sunbird51-lin-ft-light · waxal-mms-1b-lin-full · waxal-ssa-hubert-lincc-by-nc-4.0. Training data is google/WaxalNLP
(CC-BY-SA-4.0, share-alike), so derivatives carry that too.