Instructions to use Qwen/Qwen2-Audio-7B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Qwen/Qwen2-Audio-7B-Instruct with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForSeq2SeqLM processor = AutoProcessor.from_pretrained("Qwen/Qwen2-Audio-7B-Instruct") model = AutoModelForSeq2SeqLM.from_pretrained("Qwen/Qwen2-Audio-7B-Instruct") - Notebooks
- Google Colab
- Kaggle
| { | |
| "chat_format": "chatml", | |
| "eos_token_id": [151643,151645], | |
| "pad_token_id": 151643, | |
| "do_sample": true, | |
| "top_k": 20, | |
| "top_p": 0.5, | |
| "temperature": 0.7, | |
| "repetition_penalty": 1.1, | |
| "transformers_version": "4.38.1" | |
| } | |