Downloads · 30 days
21
42% of all-time downloads
EmreAkgul/omniASR-CTC-3B-ONNX
omniASR-CTC-3B-ONNX is a automatic speech recognition model from EmreAkgul. Use it when you need speech turned into text. The card lists the license as apache-2.0.
A dynamic-shape ONNX export of Meta's omniASRCTC3B for inference with fast-omniasr.
Downloads · 30 days
21
42% of all-time downloads
All-time downloads
50
Public
Repo size
24.9 GB
Likes
0
Public
Click a slice to open those files.
.data12.5 GB · 50%
From the Hugging Face model README
A dynamic-shape ONNX export of Meta's omniASR_CTC_3B for inference with
fast-omniasr.
Install the ONNX Runtime and Hugging Face Hub extras:
python -m pip install "fast-omniasr[onnx,hub]"
from fast_omniasr import OmniASR
model = OmniASR.from_pretrained("EmreAkgul/omniASR-CTC-3B-ONNX", backend="onnx")
result = model.transcribe("speech.wav")
print(result.text)
The input must be mono audio. fast-omniasr resamples supported audio files to 16 kHz and
normalizes them before inference. Larger model variants require substantially more memory.
omniASR_CTC_3Btorch.onnx.export, opset 18,
dynamo=False; no retraining or intentional weight modificationomniASR_tokenizer.model, included unmodified as tokenizer.modelaudio, float32, shape [1, samples]logits, float32, shape [1, frames, 10288]config.json records SHA-256 hashes and sizes for every runtime asset.
OmniASR.from_pretrained() downloads and verifies that manifest. Large exports store tensor
data in companion files referenced by model.onnx; all such files are required and are
downloaded automatically.
This repository is a format conversion intended for inference with fast-omniasr. It does not
change the upstream model's capabilities, language coverage, accuracy, or limitations. Consult
the upstream repository for model details,
training data, evaluation results, and responsible-use considerations.
ONNX FP32 is the verified runtime path. TensorRT support in fast-omniasr is experimental;
FP16 can change recognition results. This repository contains a CTC model and does not support
the OmniASR LLM/seq2seq inference path.
from_pretrained(..., precision=...) downloads only the requested variant (plus the shared
tokenizer) and needs fast-omniasr 0.3.0 or newer.
precision | Devices | Files | GPU memory (resident, CUDA) | Transcripts vs fp32 |
|---|---|---|---|---|
fp32 (default) | CPU, CUDA | top level | 13.5 GiB | reference |
fp16 | CPU, CUDA | fp16/ | 7.4 GiB | 3/3 identical |
bf16 | CUDA (Ampere or newer) | bf16/ | 7.5 GiB | 3/3 identical |
from fast_omniasr import OmniASR
model = OmniASR.from_pretrained("EmreAkgul/omniASR-CTC-3B-ONNX", device="cuda", precision="fp16")
print(model.transcribe("speech.wav").text)
fp16 and bf16 store the MatMul weights in half precision, roughly halving the download and
the weight memory. Convolutions, normalization, softmax and all inputs and outputs stay
float32. On CPU fp16 saves memory but is not faster; ONNX Runtime has no CPU bf16 kernels.
Agreement was measured on English, Turkish and Central Kurdish clips
(parity/precision_agreement.json); half precision can change individual words where fp32
itself is close to a tie, as upstream's bf16 default does.
| File | Description |
|---|---|
model.onnx | Dynamic ONNX graph; may reference companion external tensor-data files |
tokenizer.model | Matching upstream SentencePiece tokenizer |
config.json | Runtime asset manifest with sizes and SHA-256 hashes |
The upstream Omnilingual ASR code and model weights are licensed under Apache-2.0. This repository redistributes a format-converted version under the same license and identifies the conversion above. It is an independent distribution and is not affiliated with or endorsed by Meta.