Download README.md from ai-sage/GigaEdge-Models: direct link, hf CLI and curl.
- Browser
- Download file 3.16 kB
-
https://huggingface.co/ai-sage/GigaEdge-Models/resolve/main/README.md
- Command line
-
hf download hf://ai-sage/GigaEdge-Models/README.md
-
curl -L -o README.md https://huggingface.co/ai-sage/GigaEdge-Models/resolve/main/README.md
license: mit
language:
- ru
base_model:
- ai-sage/GigaAM-v4
base_model_relation: quantized
tags:
- gigaedge
- onnx
- tflite
- wake-word
- automatic-speech-recognition
- end-of-utterance
- text-to-speech
GigaEdge Models 🦔
The speech models of the offline voice assistant of the GigaEdge SDK: wake word, speech recognition, end of utterance and speech synthesis, and the graphs that join them into the assistant. They run on the device, without a network. The language is Russian. The LLM of the assistant is a repository of its own, GigaEdge LLM.
Each directory is a part of the SDK model: meta.json, the graph model/config.yaml and the weights next to it.
core/ and offline_assistant/ hold graphs only.
| Directory | Version | What | Runs on | Size |
|---|---|---|---|---|
spotter/ |
spotter.gigaezh.1.0.0 |
wake word: «Гига Ёж», «Гига Ёжик», «Ёж», «Ёжик» | TensorFlow Lite | 11 MB |
asr/ |
asr.oss.1.0.0 |
speech recognition: GigaAM v4 e2e RNN-T with the int8 encoder | ONNX Runtime | 249 MB |
eou/ |
eou.oss.1.0.0 |
end of utterance, by audio only | ONNX Runtime | 2 MB |
tts/ |
tts.oss.1.0.0 |
speech synthesis: a female voice voice_1 and a male voice voice_2 |
ONNX Runtime | 280 MB |
offline_assistant/ |
offline_assistant |
the session graph: activation, end of utterance, recognition and function calling | ||
core/ |
the core graph of the assistant: the wake word, the sessions and the speech output |
The wake word, the recognition and the end of utterance take 16 kHz mono audio. The synthesis gives 24 kHz.
How to use
The parts are loaded by the offline assistant demo of the
GigaEdge SDK, example/offline_assistant. From the root of
the SDK:
pip install -U huggingface_hub
M=example/offline_assistant/model
hf download ai-sage/GigaEdge-Models --include "*/*" --local-dir $M
hf download ai-sage/GigaEdge-LLM --include "*/*" --local-dir $M
Then build and run the demo as its README says.
Speech recognition
The part asr/ is GigaAM v4, the e2e RNN-T model, in ONNX. The encoder
and the greedy decoding loop are one graph, model.onnx, with the weights in model.weights next to it. The
weights of the encoder are quantized to 8 bits with the standard dynamic quantization of ONNX Runtime, and the
decoding loop stays in fp32. vocab.txt is the vocabulary of the model with one token per line.
Licenses
The models and the files made for the SDK are under the MIT license, LICENSE.txt. What comes from other sources
keeps its own license:
asr/is GigaAM v4, MIT:asr/model/LICENSE.txt.tts/has files under Apache-2.0 (the first layer of ruBert-base), MIT (RUAccent, Silero Stress), CC BY-SA 4.0 (the dictionariesyo.dictandmorph.dict), a BSD-style license (the CMU Pronouncing Dictionary) and CC0 (Wikidata).tts/model/NOTICElists them by file, and the full texts are intts/model/licenses/.