Gstam21/live-translator-packs
Live Translator — Offline Model Packs On-demand offline model packs for the Live Translator app. Downloaded per language pair; the shared common/ bundle installs once on the first pair. Layout common/ # downloaded ONCE, on the first pair asr/ # Whisper tiny int8 (multilingual ASR + language id), sherpa-onnx whisper-encoder.onnx whisper-decoder.onnx whisper-tokens.txt vad/silero_vad.onnx # Silero… See the full description on the dataset page: https://huggingface.co/datasets/Gstam21/live-translator-packs.
Live Translator — Offline Model Packs
On-demand offline model packs for the Live Translator app. Downloaded per language pair; the shared common/ bundle installs once on the first pair.
Layout
common/ # downloaded ONCE, on the first pair
asr/ # Whisper tiny int8 (multilingual ASR + language id), sherpa-onnx
whisper-encoder.onnx
whisper-decoder.onnx
whisper-tokens.txt
vad/silero_vad.onnx # Silero VAD
denoiser/gtcrn.onnx # GTCRN speech denoiser
espeak-ng-data.tar # shared phonemizer data (untar to common/espeak-ng-data/)
tts-kokoro/ # Kokoro-82M int8 — shared multilingual voice
model.onnx # covers en, es, fr, it, pt, hi, ja, zh
voices.bin
tokens.txt
lexicon-us-en.txt
<pair>/ # e.g. en-el/, en-es/ — downloaded per pair
nmt-<a>-<b>/ # CTranslate2 int8 NMT, one dir per direction
model.bin
config.json
shared_vocabulary.json
source.spm # SentencePiece tokenizers (Marian/OPUS-MT)
target.spm
nmt-<b>-<a>/
tts-<lang>/ # ONLY for languages Kokoro does NOT cover (e.g. Greek → Piper)
model.onnx # en/es come from common/tts-kokoro, so en-es has no tts dir
tokens.txtPipeline / runtimes
- ASR: Whisper tiny int8 via sherpa-onnx (onnxruntime).
- NMT: CTranslate2 int8 (OPUS-MT / Marian). Requires the CT2 runtime on device (dart:ffi → libctranslate2). Tokenize with the
.spmSentencePiece models; decode with beam search (beam=5, no-repeat-ngram, length penalty). Feed one sentence per call — Marian emits a single sentence per translate. - TTS: Kokoro int8 (sherpa-onnx) for en/es/…; Piper medium for Greek.
Sizes
Source models
Served at https://huggingface.co/datasets/Gstam21/live-translator-packs/resolve/main/<path>.
