Instructions to use litert-community/ZONOS3-Mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use litert-community/ZONOS3-Mini with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download host/build_android.sh from litert-community/ZONOS3-Mini: direct link, hf CLI and curl.
- Browser
- Download file 588 Bytes
-
https://huggingface.co/litert-community/ZONOS3-Mini/resolve/main/host/build_android.sh
- Command line
-
hf download hf://litert-community/ZONOS3-Mini/host/build_android.sh
-
curl -L -o build_android.sh https://huggingface.co/litert-community/ZONOS3-Mini/resolve/main/host/build_android.sh
588 Bytes
| set -eu | |
| : "${NDK_BIN:?set NDK_BIN to the NDK LLVM bin directory}" | |
| : "${LITERT_PUBLIC_SRC:?set LITERT_PUBLIC_SRC to the LiteRT source root containing tflite/}" | |
| root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd) | |
| cd "$root" | |
| # Optional output path lets a rebuild be checked alongside the installed runner. | |
| exec "$NDK_BIN/aarch64-linux-android28-clang++" -std=c++17 -O2 -ffp-contract=off \ | |
| -Iinclude -I"$LITERT_PUBLIC_SRC" host/main.cpp host/audio.cpp host/graphs.cpp \ | |
| -static-libstdc++ -Landroid -lz -ldl -lLiteRt '-Wl,-rpath,$ORIGIN' \ | |
| -o "${1:-android/zonos_host}" | |