Instructions to use FunAudioLLM/Qwen-Audio-3.1-Jev with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use FunAudioLLM/Qwen-Audio-3.1-Jev with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="FunAudioLLM/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("FunAudioLLM/Qwen-Audio-3.1-Jev", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from FunAudioLLM/Qwen-Audio-3.1-Jev: direct link, hf CLI and curl.
- Browser
- Download file 2.95 kB
-
https://huggingface.co/FunAudioLLM/Qwen-Audio-3.1-Jev/resolve/main/config.json
- Command line
-
hf download hf://FunAudioLLM/Qwen-Audio-3.1-Jev/config.json
-
curl -L -o config.json https://huggingface.co/FunAudioLLM/Qwen-Audio-3.1-Jev/resolve/main/config.json
2.95 kB
| { | |
| "architectures": [ | |
| "JevForAudioDecision" | |
| ], | |
| "audio_config": { | |
| "adaptor_attention_heads": 8, | |
| "adaptor_downsample_rate": 2, | |
| "adaptor_ffn_dim": 2048, | |
| "adaptor_num_layers": 2, | |
| "attention_heads": 20, | |
| "bin_threshold": 200, | |
| "encoder_dim": 1280, | |
| "input_size": 128, | |
| "kernel_size": 31, | |
| "max_windows_per_batch": 48, | |
| "num_blocks": 32, | |
| "rope_theta": 10000.0, | |
| "window_size": 6000 | |
| }, | |
| "auto_map": { | |
| "AutoConfig": "configuration_jev.JevConfig", | |
| "AutoModel": "modeling_jev.JevForAudioDecision" | |
| }, | |
| "dtype": "bfloat16", | |
| "hidden_size": 2048, | |
| "max_choice_options": 64, | |
| "max_score_levels": 10, | |
| "model_type": "qwen_audio_jev", | |
| "text_config": { | |
| "attention_bias": false, | |
| "attention_dropout": 0.0, | |
| "bos_token_id": null, | |
| "dtype": "bfloat16", | |
| "eos_token_id": null, | |
| "head_dim": 256, | |
| "hidden_act": "silu", | |
| "hidden_size": 2048, | |
| "initializer_range": 0.02, | |
| "layer_types": [ | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention" | |
| ], | |
| "linear_conv_kernel_dim": 4, | |
| "linear_key_head_dim": 128, | |
| "linear_num_key_heads": 16, | |
| "linear_num_value_heads": 32, | |
| "linear_value_head_dim": 128, | |
| "max_position_embeddings": 32768, | |
| "model_type": "qwen3_5_moe_text", | |
| "moe_intermediate_size": 512, | |
| "num_attention_heads": 16, | |
| "num_experts": 256, | |
| "num_experts_per_tok": 8, | |
| "num_hidden_layers": 40, | |
| "num_key_value_heads": 2, | |
| "output_router_logits": false, | |
| "pad_token_id": null, | |
| "partial_rotary_factor": 0.25, | |
| "rms_norm_eps": 1e-06, | |
| "rope_parameters": { | |
| "partial_rotary_factor": 0.25, | |
| "rope_theta": 10000000.0, | |
| "rope_type": "default" | |
| }, | |
| "router_aux_loss_coef": 0.001, | |
| "shared_expert_intermediate_size": 512, | |
| "tie_word_embeddings": false, | |
| "use_cache": false, | |
| "vocab_size": 248576 | |
| }, | |
| "tie_word_embeddings": false, | |
| "transformers_version": "5.3.0", | |
| "variant": "base", | |
| "ar_head_removed": true | |
| } | |