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
Download run-mlx.sh from Reza2kn/Audio8-ASR-Infinite-Compressed: direct link, hf CLI and curl.
- Browser
- Download file 973 Bytes
-
https://huggingface.co/Reza2kn/Audio8-ASR-Infinite-Compressed/resolve/main/run-mlx.sh
- Command line
-
hf download hf://Reza2kn/Audio8-ASR-Infinite-Compressed/run-mlx.sh
-
curl -L -o run-mlx.sh https://huggingface.co/Reza2kn/Audio8-ASR-Infinite-Compressed/resolve/main/run-mlx.sh
973 Bytes
| # 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" | |