Automatic Speech Recognition
MLX
ONNX
GGUF
Rust
English
Chinese
audio8
streaming-asr
quantized
experimental
Instructions to use Reza2kn/Audio8-ASR-Infinite-Compressed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use Reza2kn/Audio8-ASR-Infinite-Compressed with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download Reza2kn/Audio8-ASR-Infinite-Compressed --local-dir Audio8-ASR-Infinite-Compressed
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
File size: 973 Bytes
21fd722 52ecfff | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
# Generated from the declared experimental execution profile; no arbitrary option forwarding.
set -eu
fail() { printf '%s\n' "$1" >&2; exit 64; }
usage() { fail 'run-mlx.sh INPUT.f32le|- en|zh'; }
[ "$(uname -s)" = Darwin ] && [ "$(uname -m)" = arm64 ] || fail 'This launcher requires macos-arm64.'
ROOT=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
[ "$#" -eq 2 ] || usage
INPUT=$1; LANGUAGE=$2
case "$LANGUAGE" in en|zh) ;; *) usage ;; esac
[ -n "$INPUT" ] || usage
case "$INPUT" in -|/*) ;; *) INPUT="$PWD/$INPUT" ;; esac
cd "$ROOT"
exec python3 -m mlx_runtime --bundle "$ROOT/model" --config "$ROOT/assets/config.json" --frontend "$ROOT/assets/frontend.a8m" --tokenizer "$ROOT/assets/tokenizer.a8tok" --input "$INPUT" --language "$LANGUAGE" --startup realtime18 --delay-ms 240 --dtype float16 --cache-dtype bfloat16 --batch-windows 2 --math-mode compiled --warmup-projections --fuse-projections --memory-limit-gib 4 --silero-vad "$ROOT/assets/silero_vad.onnx"
|