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
Store chat template in its own file
#13
by RaushanTurganbay HF Staff - opened
No description provided.
Removes chat template from tokenizer, and creates a separate file to store the multimodal template. The template is copied from default_chat_template here which is currently deprecated and should not be used
RaushanTurganbay changed pull request status to open