Qwen / Qwen2-Audio-7B

huggingface.co
Total runs: 36.2K
24-hour runs: -691
7-day runs: -6.5K
30-day runs: -10.4K
Model's Last Updated: November 20 2024
audio-text-to-text

Introduction of Qwen2-Audio-7B

Model Details of Qwen2-Audio-7B

Qwen2-Audio-7B

Introduction

Qwen2-Audio is the new series of Qwen large audio-language models. Qwen2-Audio is capable of accepting various audio signal inputs and performing audio analysis or direct textual responses with regard to speech instructions. We introduce two distinct audio interaction modes:

  • voice chat: users can freely engage in voice interactions with Qwen2-Audio without text input;

  • audio analysis: users could provide audio and text instructions for analysis during the interaction;

We release Qwen2-Audio-7B and Qwen2-Audio-7B-Instruct, which are pretrained model and chat model respectively.

For more details, please refer to our Blog , GitHub , and Report .

Requirements

The code of Qwen2-Audio has been in the latest Hugging face transformers and we advise you to build from source with command pip install git+https://github.com/huggingface/transformers , or you might encounter the following error:

KeyError: 'qwen2-audio'
Quickstart

Here provides offers a code snippet illustrating the process of loading both the processor and model, alongside detailed instructions on executing the pretrained Qwen2-Audio base model for content generation.

from io import BytesIO
from urllib.request import urlopen
import librosa
from transformers import AutoProcessor, Qwen2AudioForConditionalGeneration

model = Qwen2AudioForConditionalGeneration.from_pretrained("Qwen/Qwen2-Audio-7B" ,trust_remote_code=True)
processor = AutoProcessor.from_pretrained("Qwen/Qwen2-Audio-7B" ,trust_remote_code=True)

prompt = "<|audio_bos|><|AUDIO|><|audio_eos|>Generate the caption in English:"
url = "https://qianwen-res.oss-cn-beijing.aliyuncs.com/Qwen-Audio/glass-breaking-151256.mp3"
audio, sr = librosa.load(BytesIO(urlopen(url).read()), sr=processor.feature_extractor.sampling_rate)
inputs = processor(text=prompt, audios=audio, return_tensors="pt")

generated_ids = model.generate(**inputs, max_length=256)
generated_ids = generated_ids[:, inputs.input_ids.size(1):]
response = processor.batch_decode(generated_ids, skip_special_tokens=True, clean_up_tokenization_spaces=False)[0]
Citation

If you find our work helpful, feel free to give us a cite.

@article{Qwen2-Audio,
  title={Qwen2-Audio Technical Report},
  author={Chu, Yunfei and Xu, Jin and Yang, Qian and Wei, Haojie and Wei, Xipin and Guo,  Zhifang and Leng, Yichong and Lv, Yuanjun and He, Jinzheng and Lin, Junyang and Zhou, Chang and Zhou, Jingren},
  journal={arXiv preprint arXiv:2407.10759},
  year={2024}
}
@article{Qwen-Audio,
  title={Qwen-Audio: Advancing Universal Audio Understanding via Unified Large-Scale Audio-Language Models},
  author={Chu, Yunfei and Xu, Jin and Zhou, Xiaohuan and Yang, Qian and Zhang, Shiliang and Yan, Zhijie  and Zhou, Chang and Zhou, Jingren},
  journal={arXiv preprint arXiv:2311.07919},
  year={2023}
}

Runs of Qwen Qwen2-Audio-7B on huggingface.co

36.2K
Total runs
-691
24-hour runs
-2.2K
3-day runs
-6.5K
7-day runs
-10.4K
30-day runs

More Information About Qwen2-Audio-7B huggingface.co Model

More Qwen2-Audio-7B license Visit here:

https://choosealicense.com/licenses/apache-2.0

Qwen2-Audio-7B huggingface.co

Qwen2-Audio-7B huggingface.co is an AI model on huggingface.co that provides Qwen2-Audio-7B's model effect (), which can be used instantly with this Qwen Qwen2-Audio-7B model. huggingface.co supports a free trial of the Qwen2-Audio-7B model, and also provides paid use of the Qwen2-Audio-7B. Support call Qwen2-Audio-7B model through api, including Node.js, Python, http.

Qwen2-Audio-7B huggingface.co Url

https://huggingface.co/Qwen/Qwen2-Audio-7B

Qwen Qwen2-Audio-7B online free

Qwen2-Audio-7B huggingface.co is an online trial and call api platform, which integrates Qwen2-Audio-7B's modeling effects, including api services, and provides a free online trial of Qwen2-Audio-7B, you can try Qwen2-Audio-7B online for free by clicking the link below.

Qwen Qwen2-Audio-7B online free url in huggingface.co:

https://huggingface.co/Qwen/Qwen2-Audio-7B

Qwen2-Audio-7B install

Qwen2-Audio-7B is an open source model from GitHub that offers a free installation service, and any user can find Qwen2-Audio-7B on GitHub to install. At the same time, huggingface.co provides the effect of Qwen2-Audio-7B install, users can directly use Qwen2-Audio-7B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Qwen2-Audio-7B install url in huggingface.co:

https://huggingface.co/Qwen/Qwen2-Audio-7B

Url of Qwen2-Audio-7B

Qwen2-Audio-7B huggingface.co Url

Provider of Qwen2-Audio-7B huggingface.co

Qwen
ORGANIZATIONS

Other API from Qwen

huggingface.co

Total runs: 10.0M
Run Growth: 1.4M
Growth Rate: 14.09%
Updated:July 26 2025
huggingface.co

Total runs: 5.0M
Run Growth: 1.4M
Growth Rate: 28.59%
Updated:July 26 2025
huggingface.co

Total runs: 5.0M
Run Growth: 725.1K
Growth Rate: 14.63%
Updated:July 26 2025
huggingface.co

Total runs: 4.8M
Run Growth: 233.5K
Growth Rate: 4.83%
Updated:July 26 2025
huggingface.co

Total runs: 2.7M
Run Growth: 1.1M
Growth Rate: 39.10%
Updated:July 26 2025
huggingface.co

Total runs: 2.1M
Run Growth: 37.9K
Growth Rate: 1.77%
Updated:May 21 2025
huggingface.co

Total runs: 1.9M
Run Growth: 877.2K
Growth Rate: 45.49%
Updated:September 25 2024
huggingface.co

Total runs: 1.9M
Run Growth: 640.6K
Growth Rate: 33.36%
Updated:July 26 2025
huggingface.co

Total runs: 1.7M
Run Growth: -2.8M
Growth Rate: -160.59%
Updated:January 30 2026
huggingface.co

Total runs: 1.6M
Run Growth: -31.7K
Growth Rate: -1.93%
Updated:May 21 2025
huggingface.co

Total runs: 1.4M
Run Growth: 454.7K
Growth Rate: 31.65%
Updated:July 26 2025
huggingface.co

Total runs: 1.2M
Run Growth: -96.0K
Growth Rate: -8.33%
Updated:September 25 2024
huggingface.co

Total runs: 1.1M
Run Growth: 538.3K
Growth Rate: 47.83%
Updated:July 26 2025
huggingface.co

Total runs: 931.9K
Run Growth: 50.6K
Growth Rate: 5.43%
Updated:July 26 2025
huggingface.co

Total runs: 773.6K
Run Growth: -239.7K
Growth Rate: -31.45%
Updated:July 26 2025
huggingface.co

Total runs: 702.5K
Run Growth: -658.3K
Growth Rate: -73.70%
Updated:July 26 2025
huggingface.co

Total runs: 641.1K
Run Growth: -1.3M
Growth Rate: -208.05%
Updated:May 21 2025
huggingface.co

Total runs: 597.1K
Run Growth: 36.4K
Growth Rate: 6.01%
Updated:November 18 2024
huggingface.co

Total runs: 596.8K
Run Growth: 136.9K
Growth Rate: 23.27%
Updated:February 04 2026
huggingface.co

Total runs: 570.2K
Run Growth: 76.8K
Growth Rate: 15.32%
Updated:May 21 2025
huggingface.co

Total runs: 515.2K
Run Growth: -1.0M
Growth Rate: -195.36%
Updated:January 30 2026
huggingface.co

Total runs: 511.4K
Run Growth: 85.5K
Growth Rate: 17.00%
Updated:April 23 2026
huggingface.co

Total runs: 506.7K
Run Growth: 164.1K
Growth Rate: 32.22%
Updated:May 21 2025
huggingface.co

Total runs: 480.5K
Run Growth: 92.1K
Growth Rate: 19.16%
Updated:July 26 2025
huggingface.co

Total runs: 477.2K
Run Growth: 17.9K
Growth Rate: 3.75%
Updated:October 08 2024
huggingface.co

Total runs: 450.4K
Run Growth: 93.9K
Growth Rate: 21.25%
Updated:May 21 2025
huggingface.co

Total runs: 429.4K
Run Growth: 129.8K
Growth Rate: 30.24%
Updated:April 30 2025
huggingface.co

Total runs: 390.1K
Run Growth: 390.1K
Growth Rate: 100.00%
Updated:February 23 2026
huggingface.co

Total runs: 381.6K
Run Growth: -385.2K
Growth Rate: -100.96%
Updated:September 23 2024
huggingface.co

Total runs: 368.0K
Run Growth: -41.6K
Growth Rate: -11.45%
Updated:April 23 2026