Downloads · 30 days
7
21% of all-time downloads
Adlllord/kazakh-omniASR-CTC-300M
kazakh-omniASR-CTC-300M is a machine learning model from Adlllord. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as cc-by-4.0.
Fine-tuned Meta omniASR CTC 300M on KSC2 + FLEURS Kazakh data (20,000 steps).
Downloads · 30 days
7
21% of all-time downloads
All-time downloads
33
Public
Repo size
1.3 GB
Likes
2
Public
Click a slice to open those files.
.pt1.3 GB · 100%
From the Hugging Face model README
Fine-tuned Meta omniASR CTC 300M on KSC2 + FLEURS Kazakh data (20,000 steps).
| Language | Samples | WER | CER |
|---|---|---|---|
| Kazakh | 856 | 16.42% | 3.45% |
| English | 647 | 21.47% | 7.13% |
| Russian | 775 | 28.51% | 5.87% |
Requires fairseq2 0.6 and the cached omniASR tokenizer.
import torch
from fairseq2.models import load_model
from fairseq2.data.tokenizers import load_tokenizer
# Load base model and apply fine-tuned weights
model = load_model("omniASR_CTC_300M")
state_dict = torch.load("model.pt", map_location="cpu", weights_only=True)
# Strip FSDP prefix if present
clean = {}
for k, v in state_dict.items():
k2 = k
while k2.startswith("fsdp.") or k2.startswith("module."):
k2 = k2[len("fsdp."):].lstrip("module.")
clean[k2] = v
model.load_state_dict(clean, strict=False)
model.eval()
# Load tokenizer
tokenizer = load_tokenizer("omniASR_tokenizer_v1")
decoder = tokenizer.create_decoder()
sp_model = tokenizer._model