Run this model with HF Jobs
Run Luigi/VibeVoice-ASR-BitNet-LiteRT on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Luigi/VibeVoice-ASR-BitNet-LiteRT. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Luigi/VibeVoice-ASR-BitNet-LiteRT on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use Luigi/VibeVoice-ASR-BitNet-LiteRT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use Luigi/VibeVoice-ASR-BitNet-LiteRT 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
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- README.mdAdded+85
- dec_28L_manifest.txtAdded+282
- decoder_28L_512_c.tfliteAdded+3
- embd_table.binAdded+3
- head_q8.tfliteAdded+3
- prefill_512_t16_c.tfliteAdded+3
- vibe_front_10s_q8.tfliteAdded+3
- vocab.jsonAdded
- weights/dec_w000.binAdded+3
- weights/dec_w001.binAdded+3
- weights/dec_w002.binAdded+3
- weights/dec_w003.binAdded+3
- weights/dec_w004.binAdded+3
- weights/dec_w005.binAdded+3
- weights/dec_w006.binAdded+3
- weights/dec_w007.binAdded+3
- weights/dec_w008.binAdded+3
- weights/dec_w009.binAdded+3
- weights/dec_w010.binAdded+3
- weights/dec_w011.binAdded+3
- weights/dec_w012.binAdded+3
- weights/dec_w013.binAdded+3
- weights/dec_w014.binAdded+3
- weights/dec_w015.binAdded+3
- weights/dec_w016.binAdded+3
- weights/dec_w017.binAdded+3
- weights/dec_w018.binAdded+3
- weights/dec_w019.binAdded+3
- weights/dec_w020.binAdded+3
- weights/dec_w021.binAdded+3
- weights/dec_w022.binAdded+3
- weights/dec_w023.binAdded+3
- weights/dec_w024.binAdded+3
- weights/dec_w025.binAdded+3
- weights/dec_w026.binAdded+3
- weights/dec_w027.binAdded+3
- weights/dec_w028.binAdded+3
- weights/dec_w029.binAdded+3
- weights/dec_w030.binAdded+3
- weights/dec_w031.binAdded+3
- weights/dec_w032.binAdded+3
- weights/dec_w033.binAdded+3
- weights/dec_w034.binAdded+3
- weights/dec_w035.binAdded+3
- weights/dec_w036.binAdded+3
- weights/dec_w037.binAdded+3
- weights/dec_w038.binAdded+3
- weights/dec_w039.binAdded+3
- weights/dec_w040.binAdded+3
- weights/dec_w041.binAdded+3
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485---license: mitbase_model: microsoft/VibeVoice-ASR-BitNettags: - litert - tflite - bitnet - ternary - automatic-speech-recognition - on-device - androidlanguage: [en, zh, fr, it, ko, pt, vi]library_name: litertpipeline_tag: automatic-speech-recognition---
# VibeVoice-ASR-BitNet — LiteRT export
LiteRT (TFLite) conversion of [microsoft/VibeVoice-ASR-BitNet](https://huggingface.co/microsoft/VibeVoice-ASR-BitNet),so the model runs on Android and Linux with **no ggml / llama.cpp dependency**.
The decoder is ternary (BitNet I2_S). LiteRT has no ternary kernel, and a normalexport turns it into an int8 matmul — keeping the *values*, discarding the*packing*. Packing is the performance: batch-1 decode is memory-bandwidth-bound, soa 1.31 B-parameter decoder moves ~328 MB per token at 2 bits versus ~1310 MB atint8. These files keep the 2-bit packing, and the runtime consumes it through a**custom op**.
Engine, kernel and export scripts:[vieenrose/LiteRT · samples/asr/vibevoice](https://github.com/vieenrose/LiteRT/tree/vibevoice-ternary/litert/samples/asr/vibevoice)
## Contents
| file | what it is ||---|---|| `vibe_front_10s_q8.tflite` | audio front end — both tokenizer encoders + connectors, summed, per-channel int8, fixed 10 s window @ 24 kHz || `decoder_28L_512_c.tflite` | 28-layer decode step, ctx 512, one token per pass || `prefill_512_t16_c.tflite` | same but 16 tokens per pass, for prompt ingestion || `head_q8.tflite` | output norm + LM head, per-channel int8, weights baked in || `weights/dec_w*.bin` | packed ternary weights + per-row scales, bound at runtime || `dec_28L_manifest.txt` | input order for the decoder graphs || `embd_table.bin` | Q6_K token embedding table, dequantized one row at a time on the host || `vocab.json` | for byte-level BPE detokenization |
The decoder's weights ship **outside** the graph because LiteRT's dispatcher willnot hand constant tensors to a custom kernel; the head's are baked in because ituses no custom op. Weights are mmap'd at load, so they stay clean file-backed pages.
## Measured
Boox Tab Mini C — Snapdragon 662, Cortex-A73, **ARMv8.0 without dotprod**, roughlyworst case for int8 SIMD. Back to back against the ggml build of the same model:
| | this export | ggml (`asr_infer`) ||---|---|---|| decode | **123.5 ms/token** | 123.1 || prefill (T=16) | **68 ms/token** | — || peak RSS | **786 MB** | 1297 MB || peak RssAnon | **241 MB** | 507 MB |
Parity on speed at **half the unevictable memory**, which is the figure thatdecides whether an Android app survives memory pressure.
## Fidelity
| stage | vs reference | note ||---|---|---|| audio front end | cosine **0.992** | vs f32; the shipped I8_S ggml build scores 0.958 || 28-layer decoder | cosine **0.994938** | vs a dense f32 reference, real embedding input || LM head | cosine **0.999421** | vs f32 || ternary GEMM | **bit-exact** | vs its scalar reference, every shape and thread count |
The int8 front end is *more* accurate than the ggml build it replaces, becauseper-channel scales beat the single per-tensor scale I8_S uses.
## Caveats
* The encoder window is **fixed at 10 s**; longer audio must be windowed by the caller. Convolutions are causal, so a window needs left context and no lookahead.* The decoder graphs are **context-specific** — a ctx=128 prefill cannot be paired with a ctx=512 decode.* The **chat template is mandatory**. Feeding audio features without the surrounding system/user/assistant turns produces fluent nonsense rather than a transcript.* Transcript quality has been spot-checked, not benchmarked. WER against the reference implementation is not yet measured.123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282dec_x.bindec_pos.bindec_w000.bindec_w001.bindec_w002.bindec_w003.bindec_w004.bindec_w005.bindec_w006.bindec_w007.bindec_w008.bindec_w009.bindec_w010.bindec_w011.bindec_w012.bindec_w013.bindec_w014.bindec_w015.bindec_w016.bindec_w017.bindec_w018.bindec_w019.bindec_w020.bindec_w021.bindec_w022.bindec_w023.bindec_w024.bindec_w025.bindec_w026.bindec_w027.bindec_w028.bindec_w029.bindec_w030.bindec_w031.bindec_w032.bindec_w033.bindec_w034.bindec_w035.bindec_w036.bindec_w037.bindec_w038.bindec_w039.bindec_w040.bindec_w041.bindec_w042.bindec_w043.bindec_w044.bindec_w045.bindec_w046.bindec_w047.bindec_w048.bindec_w049.bindec_w050.bindec_w051.bindec_w052.bindec_w053.bindec_w054.bindec_w055.bindec_w056.bindec_w057.bindec_w058.bindec_w059.bindec_w060.bindec_w061.bindec_w062.bindec_w063.bindec_w064.bindec_w065.bindec_w066.bindec_w067.bindec_w068.bindec_w069.bindec_w070.bindec_w071.bindec_w072.bindec_w073.bindec_w074.bindec_w075.bindec_w076.bindec_w077.bindec_w078.bindec_w079.bindec_w080.bindec_w081.bindec_w082.bindec_w083.bindec_w084.bindec_w085.bindec_w086.bindec_w087.bindec_w088.bindec_w089.bindec_w090.bindec_w091.bindec_w092.bindec_w093.bindec_w094.bindec_w095.bindec_w096.bindec_w097.bindec_w098.bindec_w099.bindec_w100.bindec_w101.bindec_w102.bindec_w103.bindec_w104.bindec_w105.bindec_w106.bindec_w107.bindec_w108.bindec_w109.bindec_w110.bindec_w111.bindec_w112.bindec_w113.bindec_w114.bindec_w115.bindec_w116.bindec_w117.bindec_w118.bindec_w119.bindec_w120.bindec_w121.bindec_w122.bindec_w123.bindec_w124.bindec_w125.bindec_w126.bindec_w127.bindec_w128.bindec_w129.bindec_w130.bindec_w131.bindec_w132.bindec_w133.bindec_w134.bindec_w135.bindec_w136.bindec_w137.bindec_w138.bindec_w139.bindec_w140.bindec_w141.bindec_w142.bindec_w143.bindec_w144.bindec_w145.bindec_w146.bindec_w147.bindec_w148.bindec_w149.bindec_w150.bindec_w151.bindec_w152.bindec_w153.bindec_w154.bindec_w155.bindec_w156.bindec_w157.bindec_w158.bindec_w159.bindec_w160.bindec_w161.bindec_w162.bindec_w163.bindec_w164.bindec_w165.bindec_w166.bindec_w167.bindec_w168.bindec_w169.bindec_w170.bindec_w171.bindec_w172.bindec_w173.bindec_w174.bindec_w175.bindec_w176.bindec_w177.bindec_w178.bindec_w179.bindec_w180.bindec_w181.bindec_w182.bindec_w183.bindec_w184.bindec_w185.bindec_w186.bindec_w187.bindec_w188.bindec_w189.bindec_w190.bindec_w191.bindec_w192.bindec_w193.bindec_w194.bindec_w195.bindec_w196.bindec_w197.bindec_w198.bindec_w199.bindec_w200.bindec_w201.bindec_w202.bindec_w203.bindec_w204.bindec_w205.bindec_w206.bindec_w207.bindec_w208.bindec_w209.bindec_w210.bindec_w211.bindec_w212.bindec_w213.bindec_w214.bindec_w215.bindec_w216.bindec_w217.bindec_w218.bindec_w219.bindec_w220.bindec_w221.bindec_w222.bindec_w223.bindec_c000.bindec_c001.bindec_c002.bindec_c003.bindec_c004.bindec_c005.bindec_c006.bindec_c007.bindec_c008.bindec_c009.bindec_c010.bindec_c011.bindec_c012.bindec_c013.bindec_c014.bindec_c015.bindec_c016.bindec_c017.bindec_c018.bindec_c019.bindec_c020.bindec_c021.bindec_c022.bindec_c023.bindec_c024.bindec_c025.bindec_c026.bindec_c027.bindec_c028.bindec_c029.bindec_c030.bindec_c031.bindec_c032.bindec_c033.bindec_c034.bindec_c035.bindec_c036.bindec_c037.bindec_c038.bindec_c039.bindec_c040.bindec_c041.bindec_c042.bindec_c043.bindec_c044.bindec_c045.bindec_c046.bindec_c047.bindec_c048.bindec_c049.bindec_c050.bindec_c051.bindec_c052.bindec_c053.bindec_c054.bindec_c055.bin123version https://git-lfs.github.com/spec/v1oid sha256:3f9bf10a236bfe274d9e8a92c2b555f44aeddb64db145b28d57de8b582976726size 910552123version https://git-lfs.github.com/spec/v1oid sha256:3ad013ba4d8dd6fca8ad70ba5d3b690f01047f9a52864397fd8c1942a22a5e27size 191439360123version https://git-lfs.github.com/spec/v1oid sha256:66284660db059221830c28e5a6a16071496d03b6f76271a94328288af1b268d2size 235205368123version https://git-lfs.github.com/spec/v1oid sha256:9c43f5bdb955230f647f01fa1dae996a8aa452a2a5b6e74820b2403db57e7efasize 917824123version https://git-lfs.github.com/spec/v1oid sha256:0bd70108e7ee2e31253d3f81c5f43524e86ce7f4dd72ab5ccb6f106c49c01117size 700186232123version https://git-lfs.github.com/spec/v1oid sha256:8b1cebc8263e181c392dac57a1d2da40c64292bed441089a7c6ceb64d9e13857size 786432123version https://git-lfs.github.com/spec/v1oid sha256:026f08d40e077c9f425a30aa510ed03234f0a37e201b5b18164822d9b727577asize 8192123version https://git-lfs.github.com/spec/v1oid sha256:284e413ef99f7fafbba50b69492b961a193a403081eb8c7e89424a2fda86d880size 589824123version https://git-lfs.github.com/spec/v1oid sha256:e6d998fa0bb860edf7f800aba5c926f8eae300e271c32ac6f36dbd882bdf87bcsize 6144123version https://git-lfs.github.com/spec/v1oid sha256:78e982c7052d089445489e81bf579a0b3d6a66d8a09e4ad21a8185a1eba8f3a5size 6881280123version https://git-lfs.github.com/spec/v1oid sha256:af495fe8091019bd2bb9c4e0d413b9299b70ba1d38b7c5582bb0ee43d492e371size 71680123version https://git-lfs.github.com/spec/v1oid sha256:edfb82a35bb9d6ef16b90b96d273b44bcbe8bb6c236c071fa5ecfe81d5ab0ea6size 3440640123version https://git-lfs.github.com/spec/v1oid sha256:3acdeaf3b5d8252a5936d9906b76ddff04e74a0159ea6784ca67ab3c886b2afcsize 6144123version https://git-lfs.github.com/spec/v1oid sha256:633c76f0f8b3ac8dc14ac175f650d29e54222ff939f9aa7c071c4e7ef639c65asize 786432123version https://git-lfs.github.com/spec/v1oid sha256:0f07508ed5a108edf67d500bc1271afce43e5f6e1de0306d4d9540dfce883467size 8192123version https://git-lfs.github.com/spec/v1oid sha256:9b98ff38f468082aafff57e1677d307f969d907f5cc91069ce56bd0607951a1esize 589824123version https://git-lfs.github.com/spec/v1oid sha256:b0b6e10bc1836a3a2c5cf2869849db1b70c76d767a6f2ee99f3b706afd25a8e2size 6144123version https://git-lfs.github.com/spec/v1oid sha256:a4b0f6030faf7b5924da101e76af82d859bb96d95a10d3bbaaa901235f48cb73size 6881280123version https://git-lfs.github.com/spec/v1oid sha256:5199f177b1596011c45dfb3ec7c847723cc24bebf4eca46598efa730fbcc8716size 71680123version https://git-lfs.github.com/spec/v1oid sha256:d2c12184e1d04dee69acd9b433b113d84af8bebe3ba366aca85205fa5bb9e520size 3440640123version https://git-lfs.github.com/spec/v1oid sha256:23791f528169155e36056d8ed64b08d68c931cb5057568609d0cd50e34ae32fbsize 6144123version https://git-lfs.github.com/spec/v1oid sha256:3b9512e0927e8fcc6bc37f658a5a749fe396aa10f787bed6f5f8361dcd6dfed5size 786432123version https://git-lfs.github.com/spec/v1oid sha256:d907d0799da491464ebdf1b40e52c6999184a20044b36f99b94195dc94fc5716size 8192123version https://git-lfs.github.com/spec/v1oid sha256:3dde1636c575c0e22fb87892b10813c2b4d0faea7d8cf550997dd99431d6679fsize 589824123version https://git-lfs.github.com/spec/v1oid sha256:eed5a101bcf01de131514965f44d2911470dd86433b3d2d4a7885ab0bff9f454size 6144123version https://git-lfs.github.com/spec/v1oid sha256:78f532392d49e5725f43ed2dbf4a89f0abe1fa37ef26ba9f8c1de8eb81f0628asize 6881280123version https://git-lfs.github.com/spec/v1oid sha256:86ebd9f7faa437c65d3aafbfdc3b5b3c201fc074ab53668a096c6d65ba27623bsize 71680123version https://git-lfs.github.com/spec/v1oid sha256:7c0eafed6156027e96c124268bcb213ff5de2805b4ea4949d47310c828b7c4a7size 3440640123version https://git-lfs.github.com/spec/v1oid sha256:b53b36e01c16fc01505c54e02f1997bb860cca922f543bdbf0bf633793e1b209size 6144123version https://git-lfs.github.com/spec/v1oid sha256:d3d1598c2d8e1b229621bfca7005a2defeacb744fe1645edb2477d531133333esize 786432123version https://git-lfs.github.com/spec/v1oid sha256:d5b1b47a7ba8dc4f275bb8464d85a0dc2f1082b2af90c65a6348c9c57edd2ea0size 8192123version https://git-lfs.github.com/spec/v1oid sha256:f57ca9a5e8e475ce6df957dd9ad6a7593a0d7f6a29d49f41342395d0f203c458size 589824123version https://git-lfs.github.com/spec/v1oid sha256:804ff213adc6803618f6b3c90a969943ddcd09effc0af96727ecc55db3ad5a72size 6144123version https://git-lfs.github.com/spec/v1oid sha256:f650c6ced7fc7e714efb190c7a762a473cbbfa5cf4e5eee523451c87724d31afsize 6881280123version https://git-lfs.github.com/spec/v1oid sha256:dba57dac19fcf730d22c6f5e084197db2d1e573a6da6c156c8e73d2aab898255size 71680123version https://git-lfs.github.com/spec/v1oid sha256:c64af78bc892c39302548cc79f3e0ba0b8d7aa914c9b899487ee248e37da9267size 3440640123version https://git-lfs.github.com/spec/v1oid sha256:f4092e83c089658a665d938a69725abbf858ea7280bb04358861de20f0507036size 6144123version https://git-lfs.github.com/spec/v1oid sha256:ab19e274888bad5acf1bcb37db83aaf387a4bff6915128d07fe77ab5013bb2adsize 786432123version https://git-lfs.github.com/spec/v1oid sha256:9feed25a63a6301750676d48b276b2a21ace001cd85891797d77c819e60a6ce4size 8192123version https://git-lfs.github.com/spec/v1oid sha256:cc1c2dabd99aa916070d087b9a7c41bb877bd7f1a62603766ff1b01aea56db10size 589824123version https://git-lfs.github.com/spec/v1oid sha256:e27864bdabb8b3c5bedf519149ae56bf641ca207d7db5d51825bdc25254df084size 6144123version https://git-lfs.github.com/spec/v1oid sha256:f52485940283b7a76bf56ce8f77683cf8bca8d9cf7bae843b148457ace12fd67size 6881280123version https://git-lfs.github.com/spec/v1oid sha256:ad63c24e2a5758ad238c3bf61559525a3deb97121186f1601b5219e753bb6df0size 71680123version https://git-lfs.github.com/spec/v1oid sha256:d23d7dcda7d8ce3c63a55560556de3c3211c3ce5b5e7809dddad666258c98c3csize 3440640123version https://git-lfs.github.com/spec/v1oid sha256:35fe090789bd2d7066c9d29c2d1b2f33054d7506d395292bbf51e289b1a9f8easize 6144123version https://git-lfs.github.com/spec/v1oid sha256:05c3d93204d31aa13befe8ecb8556cebb621862a80d24fc1e3374935efa98299size 786432123version https://git-lfs.github.com/spec/v1oid sha256:629cc08c5690b72a57ec3e12531adb8dd6d38d4664e79a643b50fc4e66a5f89dsize 8192README.mdAdded+85
dec_28L_manifest.txtAdded+282
decoder_28L_512_c.tfliteAdded+3
embd_table.binAdded+3
head_q8.tfliteAdded+3
prefill_512_t16_c.tfliteAdded+3
vibe_front_10s_q8.tfliteAdded+3
vocab.jsonAdded
weights/dec_w000.binAdded+3
weights/dec_w001.binAdded+3
weights/dec_w002.binAdded+3
weights/dec_w003.binAdded+3
weights/dec_w004.binAdded+3
weights/dec_w005.binAdded+3
weights/dec_w006.binAdded+3
weights/dec_w007.binAdded+3
weights/dec_w008.binAdded+3
weights/dec_w009.binAdded+3
weights/dec_w010.binAdded+3
weights/dec_w011.binAdded+3
weights/dec_w012.binAdded+3
weights/dec_w013.binAdded+3
weights/dec_w014.binAdded+3
weights/dec_w015.binAdded+3
weights/dec_w016.binAdded+3
weights/dec_w017.binAdded+3
weights/dec_w018.binAdded+3
weights/dec_w019.binAdded+3
weights/dec_w020.binAdded+3
weights/dec_w021.binAdded+3
weights/dec_w022.binAdded+3
weights/dec_w023.binAdded+3
weights/dec_w024.binAdded+3
weights/dec_w025.binAdded+3
weights/dec_w026.binAdded+3
weights/dec_w027.binAdded+3
weights/dec_w028.binAdded+3
weights/dec_w029.binAdded+3
weights/dec_w030.binAdded+3
weights/dec_w031.binAdded+3
weights/dec_w032.binAdded+3
weights/dec_w033.binAdded+3
weights/dec_w034.binAdded+3
weights/dec_w035.binAdded+3
weights/dec_w036.binAdded+3
weights/dec_w037.binAdded+3
weights/dec_w038.binAdded+3
weights/dec_w039.binAdded+3
weights/dec_w040.binAdded+3
weights/dec_w041.binAdded+3