|
Download README.md from audio-cpp/Qwen-Audio-Jev-GGUF: direct link, hf CLI and curl.
- Browser
- Download file 5.03 kB
-
https://huggingface.co/audio-cpp/Qwen-Audio-Jev-GGUF/resolve/main/README.md
- Command line
-
hf download hf://audio-cpp/Qwen-Audio-Jev-GGUF/README.md
-
curl -L -o README.md https://huggingface.co/audio-cpp/Qwen-Audio-Jev-GGUF/resolve/main/README.md
5.03 kB
| license: cc-by-nc-sa-4.0 | |
| base_model: FunAudioLLM/Qwen-Audio-3.1-Jev-Tiny | |
| library_name: audio.cpp | |
| tags: | |
| - gguf | |
| - audio-classification | |
| - streaming | |
| # Qwen-Audio-Jev Tiny GGUF | |
| audio.cpp packages for [Qwen-Audio-3.1-Jev-Tiny](https://huggingface.co/FunAudioLLM/Qwen-Audio-3.1-Jev-Tiny). Ask a question about audio and receive a true/false probability, a label distribution, or an ordered rating. This is an audio decision model, not a speech generator or an ASR model. | |
| | File | Precision | | |
| |---|---| | |
| | `qwen-audio-3.1-jev-tiny-bf16.gguf` | Native BF16 weights | | |
| | `qwen-audio-3.1-jev-tiny-f16.gguf` | F16 weights, FP32 projection accumulation | | |
| | `qwen-audio-3.1-jev-tiny-q8_0.gguf` | Q8_0 compute weights with converter-preserved tensors | | |
| Each file embeds configuration and tokenizer resources. No sidecar download is needed. The implementation is on the unmerged `feature/qwen-audio-jev-tiny` branch of [audio.cpp](https://github.com/0xShug0/audio.cpp/tree/feature/qwen-audio-jev-tiny). | |
| ```bash | |
| build/debug/bin/audiocpp_cli --task cls --family qwen_audio_jev \ | |
| --model qwen-audio-3.1-jev-tiny-q8_0.gguf --backend cuda --threads 8 \ | |
| --audio speech.wav --text "What language is being spoken?" \ | |
| --request-option decision_type=choice \ | |
| --request-option 'criteria=["English","French","German","Japanese"]' --log | |
| ``` | |
| Offline and streaming decisions are supported. Streaming input is mono 16 kHz with one decision per 160 ms; set `--mode streaming --request-option pad_final_chunk=true` to pad a final partial window explicitly. The default context is 2,048 combined question/audio tokens. Start another stream before exhausting it. | |
| ## Validation | |
| Tested on an RTX 5090 using a Debug build and eight CPU threads. We ran all | |
| 150 locally available upstream labelled examples: 140 offline requests and ten | |
| streaming requests across 30 tasks. The five intelligibility examples require | |
| publisher audio that is not bundled. Questions, question IDs, ordered criteria, | |
| audio roles and numerical score mappings match upstream. | |
| | Metric | Official Python BF16 | audio.cpp F16 | audio.cpp Q8 | | |
| |---|---:|---:|---:| | |
| | Choice accuracy (65 clips) | 81.54% (53/65) | 83.08% (54/65) | 81.54% (53/65) | | |
| | Yes/no accuracy (35 clips) | 80.00% (28/35) | 80.00% (28/35) | 80.00% (28/35) | | |
| | Rating normalized MAE (40 clips, lower is better) | 0.2110 | 0.2106 | 0.2151 | | |
| | Streaming SNR-level accuracy (70 labelled windows) | 50.00% (35/70) | 48.57% (34/70) | 50.00% (35/70) | | |
| | Streaming VAD accuracy (1,000 windows) | 97.50% (975/1000) | 97.80% (978/1000) | 97.00% (970/1000) | | |
| F16 agrees with Python on 99/100 offline classification decisions; Q8 agrees | |
| on 100/100. The single F16 disagreement matches the supplied label. For ratings, | |
| mean absolute difference from Python is 0.0239 for F16 and 0.0911 for Q8 on the | |
| explicitly mapped scales. Ground-truth rating MAE above is normalized by each | |
| scale's range. Streaming VAD decisions agree with Python on 997/1,000 F16 windows | |
| and 983/1,000 Q8 windows. SNR agreement is 69/70 and 67/70; upstream's undefined | |
| `-100` windows are excluded. Every streaming step count and end timestamp matches. | |
| These results describe the upstream tutorial examples, not a complete benchmark. | |
| F16 projections explicitly use FP32 accumulation through the framework modules. | |
| Packaged weights retain their selected storage precision. No global environment | |
| flag or custom kernel is required. Backend arithmetic and quantization still | |
| change probabilities; results near a decision boundary can cross the threshold. | |
| For the same 14.07-second question, after one warmup request: | |
| | Implementation | Neural pipeline | Complete inference | Peak process VRAM | | |
| |---|---:|---:|---:| | |
| | Official Python BF16 | 55.8 ms | 98.1 ms | 2,444 MiB | | |
| | audio.cpp CUDA F16 | 21.7 ms | 26.6 ms | 2468 MiB | | |
| | audio.cpp CUDA Q8 | 19.4 ms | 24.1 ms | 1844 MiB | | |
| The neural pipeline includes the audio encoder, Qwen backbone, decision heads | |
| and readback. Python complete time additionally includes file decoding; native | |
| complete time starts with decoded PCM. VRAM covers model loading, warmup and | |
| the measured request. Python used PyTorch 2.11.0+cu128, Transformers 5.12.1, | |
| SDPA and the official Torch fallback without optional FLA/causal-conv1d kernels. | |
| Earlier Q8 functional checks covered native CPU/Vulkan and browser WASM64 | |
| CPU/WebGPU. The current accuracy table and FP32-projection change were tested | |
| on CUDA. The CUDA streaming lifecycle check also passes multi-window packets, | |
| partial-tail errors, reprepare and identical replay. | |
| Reference source: `144576d77fe302426c5bb5edc6acbcd68ccd1635`. | |
| Reference weights: `63057b786f90c0faf5a98ffaa285e05c9bb76a5d`. | |
| ## License | |
| Weights remain **CC BY-NC-SA 4.0**, including its non-commercial and share-alike conditions. Conversion does not change those terms. See `LICENSE`. Upstream code and third-party notices are retained in `LICENSE_CODE.txt`, `LICENSE_MEGATRON.txt`, and `THIRD_PARTY_NOTICES.md`. | |
| Source weights revision: `63057b786f90c0faf5a98ffaa285e05c9bb76a5d`. | |