luweigen commited on
Commit
56d3f21
·
verified ·
1 Parent(s): ce6ac2e

Upload models for the Android app

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ encoder.static.onnx.data filter=lfs diff=lfs merge=lfs -text
37
+ lm-q4_0.gguf filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ base_model: microsoft/VibeVoice-ASR-Streaming-1.5B
4
+ tags:
5
+ - automatic-speech-recognition
6
+ - streaming
7
+ - onnx
8
+ - gguf
9
+ - android
10
+ - qnn
11
+ ---
12
+
13
+ # VibeVoice-ASR-Streaming-1.5B — models prepared for Android
14
+
15
+ Derived from [microsoft/VibeVoice-ASR-Streaming-1.5B](https://huggingface.co/microsoft/VibeVoice-ASR-Streaming-1.5B) (MIT)
16
+ for the native Android app in the `vibevoice-android` project. Files are downloaded by the app and checked against sha256 values compiled into the APK.
17
+ See the original model card for intended use, limitations and the license.
18
+
19
+ | File | What | Runs on |
20
+ |---|---|---|
21
+ | `encoder.ns_ctx.onnx` + `encoder.ns_ctx_qnn.bin` | Speech encoder (acoustic + semantic tokenizer encoders and connectors), audio[1,83200] → feats[1,26,1536], fp16, QNN HTP context binary compiled offline with onnxruntime-qnn 2.7.0 (QNN 2.51). RMSNorm inputs are pre-scaled by powers of two (eps scaled to match) so that fp16 on the HTP does not flush eps to zero | Snapdragon 8 Elite (SM8750, HTP v79) only; device needs qnn-runtime ≥ 2.51 |
22
+ | `encoder.static.onnx` + `encoder.static.onnx.data` | The same encoder, fp32, static shapes, FFN as 1×1 convolutions | Any device, ONNX Runtime CPU EP |
23
+ | `lm-q4_0.gguf` | The Qwen2-1.5B language model as GGUF (Q4_0), Qwen2 BPE tokenizer included. The token embedding table is the model's own; no other changes | llama.cpp (CPU, OpenCL, Hexagon) |
24
+ | `special_embeds.bin` | float32 [2, 1536]: embeddings of the speech start / end tokens that wrap each chunk's audio features | — |
25
+
26
+ The acoustic latent uses the mean of the VAE posterior (no sampling), which matches the official sampling mode in WER (docs/models.md of the project).
27
+ Streaming protocol: every 2.93 s of audio (window 3.47 s incl. lookahead), prefill `[speech_start, 26 features, speech_end]`, decode greedily to `<|text_chunk_end|>`, feed it back; the KV cache is kept across chunks.
encoder.ns_ctx.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6844ae5a2e5500c7da94bf9dc0c191ff9c736625f4ba876c946ba3db14758389
3
+ size 707
encoder.ns_ctx_qnn.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:55501692b4db8e4c0607d7c741b65ea29629e6071990de51b84f5ed39ec3e467
3
+ size 1583525888
encoder.static.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4000ef70a29299f4f0b76f8c9f5c3cb7a9f9696a7f54a5701d68a86f53f95990
3
+ size 271231
encoder.static.onnx.data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07a057b6af6b0c97148609c5583681633172c44eaefea203a5eab3a16e6f3ef5
3
+ size 2772992000
lm-q4_0.gguf ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49936d515d8f02d1a1ca8e2fd39cbdaf2f324fba98d07eeeed23b7493d83efaa
3
+ size 934955680
special_embeds.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c59879339b189df5fbcfb390fdfac6ae2c1381718161dbd43ab1614b537e3b0d
3
+ size 12288