Qwen-Audio-3.1-Jev-Tiny

Project Page & Demos ยท Technical Report ยท Code Repository

Qwen-Audio-3.1-Jev-Tiny is a compact audio decision model. Given audio and a natural-language question, it produces a structured decision through three interfaces. It combines an audio encoder with a Qwen3.5-0.8B dense language backbone and dedicated decision heads.

Interface Use Output
Choice Select a category or answer from candidates Selected option and candidate probabilities
Noul Evaluate a proposition about the audio Probability that the proposition is true, from 0 to 1
Score Rate an ordered attribute such as audio quality Level probabilities, expected level and optional mapped rating

The model supports both complete-audio and streaming inference. It is intended for audio decisions and does not generate text responses.

Setup

Use the Qwen-Audio-Jev inference repository for installation, audio decoding, feature extraction, request packing and the structured Python/CLI interface. The reference environment uses Linux, Python 3.10โ€“3.12, Transformers 5.3.0, matching CUDA builds of PyTorch and TorchAudio, and FFmpeg.

Select one visible GPU before starting inference:

export CUDA_VISIBLE_DEVICES=0

Download the HF model and create the SDK runner after installing the inference repository:

from huggingface_hub import snapshot_download
from qwen_audio_jev import JevModel

model_dir = snapshot_download("FunAudioLLM/Qwen-Audio-3.1-Jev-Tiny")
model = JevModel(checkpoint=model_dir, variant="qwen-audio-3.1-jev-tiny")

Audio decisions

Noul: evaluate a proposition

result = model.predict(
    audio="speech.wav",
    task="noul",
    question="Is human speech present in the audio?",
)
print(result["answers"]["q1"]["noul"])

Choice: select from candidates

result = model.predict(
    audio="recording.wav",
    task="choice",
    question="Which type of sound is most prominent?",
    criteria={"speech": "Human speech", "music": "Music", "noise": "Background noise"},
)
print(result["answers"]["q1"]["choice"])
print(result["answers"]["q1"]["probabilities"])

Score: rate an ordered attribute

result = model.predict(
    audio="speech.wav",
    task="score",
    question="Rate the perceived speech quality.",
    criteria=["Very poor", "Poor", "Fair", "Good", "Excellent"],
    score_values=[1, 2, 3, 4, 5],
)
print(result["answers"]["q1"]["mapped_score"])

score is the expected zero-based level index. Supplying score_values also returns mapped_score on the requested numerical scale.

Streaming

Streaming emits one decision for every 2560 mono samples at 16 kHz (160 ms).

For a complete audio file:

result = model.predict(
    audio="recording.wav",
    task="noul",
    question="Is human speech active now?",
    streaming=True,
    pad_final_chunk=True,
)
for step in result["steps"]:
    print(step["time_seconds"], step["response"]["answers"]["q1"]["noul"])

For microphone or network audio, use the SDK's JevStreamingSession to accept arbitrary waveform packet sizes with a resident model. Supply mono 16 kHz float samples and explicitly choose whether to pad the final partial chunk. Start a new session for a new recording or question, or before the context limit is reached.

The reference session recomputes the causal prefix and does not guarantee real-time latency. BF16 file and resident-session probabilities can differ; calibrate thresholds using the path used by the application. See the inference repository's streaming guide for packet handling and full examples.

Standard Hugging Face loading

The complete HF directory includes the custom model/configuration code, safetensors, tokenizer and mel filters:

import torch
from transformers import AutoModel

native_model = AutoModel.from_pretrained(
    "FunAudioLLM/Qwen-Audio-3.1-Jev-Tiny",
    trust_remote_code=True,
    dtype=torch.bfloat16,
    device_map={"": "cuda:0"},
)

Use the SDK to prepare audio inputs and interpret decision-head logits. Run direct forwards with evaluation mode and torch.inference_mode().

License

The model weights are licensed under CC BY-NC-SA 4.0. See LICENSE. Accompanying code retains its original licenses and notices.

Downloads last month
-
Safetensors
Model size
0.9B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Paper for suryatmodulus/Qwen-Audio-3.1-Jev-Tiny