Instructions to use Qwen/Qwen2-Audio-7B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen2-Audio-7B with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Qwen/Qwen2-Audio-7B") model = AutoModelForMultimodalLM.from_pretrained("Qwen/Qwen2-Audio-7B", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download model-00001-of-00005.safetensors from Qwen/Qwen2-Audio-7B: direct link, hf CLI and curl.
- Browser
- Download file 3.91 GB
-
https://huggingface.co/Qwen/Qwen2-Audio-7B/resolve/main/model-00001-of-00005.safetensors
- Command line
-
hf download hf://Qwen/Qwen2-Audio-7B/model-00001-of-00005.safetensors
-
curl -L -o model-00001-of-00005.safetensors https://huggingface.co/Qwen/Qwen2-Audio-7B/resolve/main/model-00001-of-00005.safetensors
3.91 GB
- Xet hash:
- e1e1c8b6062bedabefbb5ec996211f0d0135e870917b5b4c49a08567f4e19ed6
- Size of remote file:
- 3.91 GB
- SHA256:
- fa8d805dd49408bcbefbd6f701f24e86994c160f09cb614ebac13e7b79a0a04d
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.