NULLFUNK NF-01 DJ v3 (Qwen3-0.6B — Compact Speed-First ONNX q4f16 + GGUF Q4_K_M)
"The airwaves are dead. The radio plays on."
Fine-tuned with Distil Labs fromQwen/Qwen3-0.6Bfor NULLFUNK NF-01 (Teamtechno-oligarchs, BIG BERLIN HACK 2026) — a 100% offline post-apocalyptic autonomous radio-synth in pure safe Rust.
This repository hosts both deployment formats of the exact same fine-tuned v3 compact model:
- WebGPU ONNX (
onnx/model_q4f16.onnx+.data, 538 MB) — ready to load directly in the browser with@huggingface/transformers(dtype: "q4f16",device: "webgpu"). - GGUF (
gguf/nullfunk-dj-v3-qwen3-0.6b-q4.gguf, 378 MB) — ready for Android ARM64 (llama.cpp), Browser WASM (@wllama/wllama), and local CPU/GPUllama-server.
Benchmarks (24-Prompt Offline v3 Suite)
Evaluated 100% offline across 6 synesthetic 2–3 word vibes, 6 emotional wasteland survivor scenes, 4 tactical single-channel edits, 4 explicit genre + modal scale requests (E phrygian, D dorian, F lydian, 172 BPM liquid-dnb), and 4 AUTO-DJ SHIFT transitions on Intel i7-10710U (4 threads, CPU-only):
| Format / Runtime | Size | Mean Tokens | CPU Speed | CPU p50 / p95 | Strict v3 JSON | Zero DSP Jargon | Authentic BPM | Explicit Constraints |
|---|---|---|---|---|---|---|---|---|
GGUF Q4_K_M (llama.cpp CPU) | 378 MB | 118.2 tok | 46.1 tok/s | 2.80 s / 2.94 s | 24/24 (100%) | 24/24 (100%) | 24/24 (100%) | 7/8 (88%) |
ONNX q4f16 (@huggingface/transformers) | 538 MB | 113.3 tok | 9.7 tok/s (CPU)* | ~1.3–1.8 s (WebGPU) | 21/24 (88%) | 24/24 (100%) | 21/24 (88%) | 5/8 (63%) |
Baseline: v2 Qwen3-0.6B (Q4_K_M CPU) | 378 MB | 160.4 tok | 28.2 tok/s | 6.23 s / 6.60 s | 24/24 (100%) | 23/24 (96%) | 22/24 (92%) | 4/8 (50%) |
*q4f16 ONNX targets Browser WebGPU FP16 shaders. On CPU-only devices (Android ARM64, laptops without GPU, or wllama WASM), use the Q4_K_M GGUF (2.80 s p50 on laptop CPU — 2.2× faster and +38% higher constraint accuracy than v2!).
Compact v3 Schema
Emits a single minified JSON object (no markdown fences, no commentary):
{"s":"NF-01 // ASH-RAIN","l":"Ash falls on the roof. Sleep tight and let the signal carry you.","g":"ambient","b":64,"k":"D dorian","e":0.24,"m":0.32,"fm":"lp","fc":1400,"fr":0.18,"rs":0.35,"tw":0.48,"dm":0.45,"rm":0.76,"tb":6,"mr":["drums"]}
| Compact Key | Canonical Field | Bounds |
|---|---|---|
s | station_name | non-empty string (<= 36 chars) |
l | dj_log | non-empty in-world line (<= 95 chars, zero DSP jargon) |
g | genre | 28 canonical NULLFUNK genres (berlin-techno, jazz, ambient, liquid-dnb, ...) |
b | bpm | integer 55..=180 |
k | key | musical key / mode (e.g. D dorian, E phrygian, F lydian) |
e, m, rs, tw, dm, rm | energy, mutation_rate, radio_static, tape_wear, delay_mix, reverb_mix | float 0.0..=1.0 |
fm | filter_mode | "lp" | "hp" | "bp" | "nt" |
fc | filter_cutoff | 80..=18000 Hz |
fr | filter_resonance | 0.0..=0.85 |
tb | transition_bars | integer 1..=8 |
mr (optional) | muted_roles | subset of ["drums","bass","chords","pad","arp","lead","dub-stab"] |
Usage
1. Browser WebGPU (@huggingface/transformers)
import { pipeline } from '@huggingface/transformers';
const gen = await pipeline('text-generation', 'imanolgo/nullfunk-dj-v3-qwen3-0.6b', {
dtype: 'q4f16',
device: 'webgpu',
});
const prompt = gen.tokenizer.apply_chat_template(
[
{
role: 'system',
content:
'You are NULLFUNK NF-01, an offline post-apocalyptic radio-synth DJ. Given State and Request, output ONLY a single minified JSON object (no markdown, no prose):\n{"s":str<=36 callsign,"l":str<=95 evocative in-world radio line (NO DSP/BPM/Hz/filter jargon),"g":genre,"b":int 55-180,"k":key/mode,"e":0-1,"m":0-1,"fm":"lp"|"hp"|"bp"|"nt","fc":80-18000,"fr":0-0.85,"rs":0-1,"tw":0-1,"dm":0-1,"rm":0-1,"tb":1-8,"mr":[optional muted roles]}\nGenres: ambient,dark-ambient,drone,classical,neo-classical,lofi-hiphop,jazz,bossa-nova,soul-funk,reggae-dub,downtempo,afrobeat,berlin-techno,minimal-techno,dub-techno,acid-house,house,deep-house,melodic-techno,synthwave,vaporwave,shoegaze,post-rock,rock,trap,dubstep,drum-and-bass,liquid-dnb.\nRoles: drums,bass,chords,pad,arp,lead,dub-stab (omit "mr" if none).\nHonor exact requested genre, modal key (e.g. D dorian, E phrygian, F lydian), BPM range, and tactical stem mutes (preserve genre on stay/keep edits).',
},
{
role: 'user',
content:
'State: lofi-hiphop | 82 BPM | C major | energy=0.42 | weather=AshRain\nRequest: salty green',
},
],
{ tokenize: false, add_generation_prompt: true, enable_thinking: false }
);
const out = await gen(prompt, {
max_new_tokens: 180,
temperature: 0.35,
do_sample: true,
return_full_text: false,
});
console.log(out[0].generated_text);
2. Local llama-server / Android ARM64 / Browser wllama
# Download GGUF (378 MB)
curl -fL https://huggingface.co/imanolgo/nullfunk-dj-v3-qwen3-0.6b/resolve/main/gguf/nullfunk-dj-v3-qwen3-0.6b-q4.gguf \
-o nullfunk-dj-v3-qwen3-0.6b-q4.gguf
# Serve 100% offline (~2.8s on CPU, <1s on GPU)
llama-server -m nullfunk-dj-v3-qwen3-0.6b-q4.gguf --jinja --reasoning off --host 127.0.0.1 --port 8080 -t 4 -c 2048