A model that listens to an audio clip and says what it hears, on nzxt: the trial of 2026-12-04
  • Python 70.8%
  • HTML 29.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Chris Moriarty 48c9369ce2 The queue: what is left is homelab issues 29 and 30
Co-Authored-By: Claude <noreply@anthropic.com>
2026-12-04 18:35:48 -05:00
clips Trial of listening models on nzxt: MOSS-Audio 4B and 8B 2026-12-04 15:07:08 -05:00
dashboard The queue: what is left is homelab issues 29 and 30 2026-12-04 18:35:48 -05:00
results README: the listener is stack 171 and the checker on trogdor passes clips to it 2026-12-04 15:56:43 -05:00
trial README: the listener is stack 171 and the checker on trogdor passes clips to it 2026-12-04 15:56:43 -05:00
.gitignore Trial of listening models on nzxt: MOSS-Audio 4B and 8B 2026-12-04 15:07:08 -05:00
docker-compose.yml The listener as a stack: restarts by itself, the 4B by default, 70% of the card 2026-12-04 15:41:11 -05:00
README.md The listener's words reach Open WebUI and Braid; the queue of 2026-12-04 evening 2026-12-04 18:32:52 -05:00

A model that listens, on nzxt

A model that takes an audio clip and says in words what it hears, for agents that make sounds and cannot hear them. The owner asked for one on 2026-12-04, after an agent kept sound effects that were plain noise. It is MOSS-Audio-4B-Thinking on nzxt's RTX A4500 (20 GB) under vLLM, alone on the card: Portainer stack 171 nzxt-listener (nzxt, endpoint 43), port 8000, no login. The owner picked the model that day, after the trial below (homelab decision 13).

Agents do not call it. The audio checker on trogdor (cmoriarty/trogdor-audio-check, port 8098) passes every clip to it and puts its words in the reply. When nzxt is off, the checker says the listener is away. Its words reach OpenCode (a skill), Open WebUI (the tool judge_audio) and every Braid run (the page audio.md) since 2026-12-04; how each was checked is in that repository's README.

The owner's rules for nzxt (2026-12-04): vLLM or SGLang only, never llama.cpp, and no big general model there. This repository is public, by the owner's choice of that day, so that Portainer can read it without a login.

The trial's result (2026-12-04)

103 test clips (below). Each figure is a count of clips. "MOSS-Audio 4B" and "8B" are the kinds that think before they answer; "4B plain" answers straight away.

Test Clips Numeric judge MOSS-Audio 4B 4B plain MOSS-Audio 8B
Loud-noise clips called faulty 7 7 7 7 7
Good clips called faulty (fewer is better) 53 10 1 2 7
Good clips: its own description is the sound asked for 53 – 35 28 37
Bad clips: its own description is not what was asked for 10 – 10 10 10
Good clips: picks the right description out of six 53 – 35 25 42
Loud-noise clips: picks "noise" out of six 7 – 5 5 7
White noise and silence called what they are 4 4 4 2 4
Music: style and instruments right 12 – 10 7 12
Clipped or cut-off clips called faulty 12 12 2 4 5
Hiss, muffling, low bitrate, pitch wobble called faulty 24 4 0 3 7
Says yes to "is this X?" about the wrong sound (fewer is better) 53 – 18 10 not asked
Owner's rated clips: pairs put in the owner's order 8 – 0 0 not asked
Seconds an answer 1 to 2 1.8 0.2 5.5
Card memory for the model none, CPUs 10.4 GB 10.4 GB 18.1 GB
  • MOSS-Audio 4B (thinking) is the one to use. It catches the failure that started this, raises the fewest false alarms, answers in about 2 seconds and leaves half the card free.
  • The 8B names more clips right (42 against 35 of 53) but calls 7 good clips faulty, takes 5.5 seconds, and only just fits: 99% of the card, a 4,096-token window, two requests at once. It took three starts to load.
  • The plain 4B is nine times quicker and names fewer clips right.
  • MiDashengLM-7B (the 1021 build) does not work under vLLM 0.34.0 here. It loads, then answers with nothing, even to a plain text question, in bf16 and in float16. Not scored. Its older 0804 build was not tried.
  • No listener judges quality. Asked to rate the owner's 12 rated clips, the thinking 4B gave every one 5 of 5. All of them miss most hiss, muffling, low bitrate and pitch wobble.
  • The numeric judge that agents already have is better at spotting faults, once it is given general fault wording to compare against. That is its best case: the fault words were chosen on these same noise clips. The 10 good clips it flags are all very quiet ones it calls "mostly silent", which is true of them. It cannot say what a clip is. So the two belong together: numbers for "is it broken", the listener for "what is it".

How to ask a listener

Found in the trial, all on the thinking 4B:

  • Never ask "is this X?". It said yes for 4 of the 7 noise clips, and for 18 of 53 good clips when X was the wrong sound. Ask it to describe the clip before it is told what the clip should be.
  • Say that noise and silence are allowed answers. Asked plainly to describe a clip, it called white noise "a waterfall" and silence "a synth note". With "if it is just noise, static, a buzz, a plain tone or silence, say so", it got all four right.
  • Ask about faults as its own question. "Does this audio have any technical problems ...? Answer yes or no" was the most reliable single question: 7 of 7 noise clips, 1 of 53 good ones.
  • A multiple-choice question works: the request, three other sounds, a noise option and a silence option.

The exact wordings are in trial/run.py.

Running it

Portainer stack 171 deploys docker-compose.yml from refs/heads/main; it has no stack variables set, so the file's defaults apply. After a change here, use "Pull and redeploy" in Portainer. It comes back by itself after a restart of nzxt, and it was stopped and started through Portainer on 2026-12-04 (ready 90 seconds after a start). With the defaults it takes 13.7 GB of the card. To undo: delete the stack; the model stays in /home/models/listeners and the image vllm/vllm-openai:v0.34.0 (36 GB) stays on nzxt until removed.

Stack variables, all optional: LISTENER_MODEL (a folder under /home/models/listeners), LISTENER_ARGS, LISTENER_WINDOW, LISTENER_MEM. The trial ran the same file by hand, with these settings:

Model Settings that worked Loads in Memory on nzxt
MOSS-Audio-4B-Thinking LISTENER_ARGS="--reasoning-parser qwen3" 90 s 10.4 GB of weights; 4.5 to 6.5 GiB of the machine's 16
MOSS-Audio-4B-Instruct defaults 80 s the same
MOSS-Audio-8B-Thinking LISTENER_MEM=0.99 LISTENER_WINDOW=4096 LISTENER_ARGS="--reasoning-parser qwen3 --max-num-seqs 2" 90 s 16.9 GiB of weights; 5.7 GiB of the machine's 16
  • vLLM grows into whatever share of the card it is allowed: 70% in the stack, 90% in the trial.
  • Audio costs about 14 tokens a second: a 2-minute clip is 1,686 tokens and took 1.7 to 2.9 seconds a question.
  • With the thinking 4B loaded and idle, the card draws 18 W (9 W empty) and the CPU 7 W. The wall was not measured.
  • --trust-remote-code is needed: each model ships its audio pre-processing as Python files. Both were read on 2026-12-04: ordinary imports only, no network or file access.

The test

trial/make_clips.py builds the clips; trial/run.py puts them to a listener; trial/grade.py scores the answers; trial/numeric_judge.py scores the same clips with the numeric judge on trogdor (port 8098).

Set Clips What they are
today 33 Made on 2026-12-04 while tracing the sound maker's fault: 7 loud noise, 3 suspect, 23 fine
rated 12 The clips the owner rated on 2026-12-03, from the checker's listening test page
base 18 Clean clips: the checker's 10 sound-effect and 8 music requests
damaged 40 Six base clips damaged six ways each, plus white noise and silence
  • Whether a description fits what was asked for needs a reader. That reader is the main model on trogdor (port 8090, Ling-3.2-air that day), thinking off, one short question each. It is strict and not perfectly steady: the same description was once read two ways.
  • "Good" and "bad" come from the numeric judge and from how the clips were made, not from anyone's ears. The owner's ratings cover 12 clips. The clips are not in git (112 MB); make_clips.py rebuilds all but the today set.

The dashboard

python3 dashboard/serve.py serves http://localhost:8770 on the Mac: what is running, the scores, the queue, and every clip to play beside what each listener said. dashboard/plan.py updates the queue.

Not done

  • Only the thinking 4B is on nzxt's disk now. The 8B and the plain 4B were removed after the owner's pick.
  • Not tried: SGLang, the 0804 build of MiDashengLM, CoTTAGE (no licence stated), a listener on trogdor's old cards.
  • Tempo figures the listeners gave were not checked against a beat counter.