Instructions to use suryatmodulus/Qwen-Audio-3.1-Jev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use suryatmodulus/Qwen-Audio-3.1-Jev with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="suryatmodulus/Qwen-Audio-3.1-Jev", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("suryatmodulus/Qwen-Audio-3.1-Jev", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Qwen-Audio-3.1-Jev
Project Page & Demos · Technical Report · Code Repository
Qwen-Audio-3.1-Jev is an 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-35B-A3B MoE 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 |
Qwen-Audio-3.1-Jev supports complete-audio inference. It is intended for audio decisions and does not generate text responses. Use Qwen-Audio-3.1-Jev-Tiny for the streaming interface. Choice accepts up to 64 candidates, and Score accepts up to 10 levels.
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 with enough memory for the model and audio input:
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")
model = JevModel(checkpoint=model_dir, variant="qwen-audio-3.1-jev")
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.
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",
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
- -