Views
No views yet
| File | Bytes |
|---|---|
model.safetensors | 3,858,931,916 |
config.json | 2,072 |
preprocessor_config.json | 254 |
vocab.json | 430 |
requirements.txt | — |
1# pip install -r requirements.txt (pinned; see Files)
2import librosa, torch
3from transformers import AutoProcessor, Wav2Vec2ForCTC
4
5repo = "DariusTheGeek/waxal-sna-mms-1b"
6processor = AutoProcessor.from_pretrained(repo)
7model = Wav2Vec2ForCTC.from_pretrained(repo).eval().cuda()
8
9audio, _ = librosa.load("clip.wav", sr=16_000, mono=True)
10inputs = processor(audio, sampling_rate=16_000, return_tensors="pt")
11with torch.no_grad():
12 logits = model(inputs.input_values.cuda()).logits
13print(processor.batch_decode(logits.argmax(-1))[0])| Parent | facebook/mms-1b-all |
| Language | Shona |
| Fine-tuning data | Waxal Lingala/Shona supervised split (google/WaxalNLP) |
| Seed | 42 |
Non-commercial. This licence is inherited fromfacebook/mms-1b-alland is binding on anyone who downloads these weights. The OmniASR models in this solution areapache-2.0; only the two MMS models carry the NC restriction.
https://github.com/DariusTheGeek/waxal-asr-solution for the environment locks, decode configuration and the exact
command that reproduces the submission end to end from audio.cc-by-nc-4.0, inherited from the parent model.