Visual Question Answering
Transformers
Safetensors
English
Chinese
qwen2
text-generation
multimodal
text-generation-inference
Instructions to use BAAI/Aquila-VL-2B-llava-qwen with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BAAI/Aquila-VL-2B-llava-qwen with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="BAAI/Aquila-VL-2B-llava-qwen")# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("BAAI/Aquila-VL-2B-llava-qwen") model = AutoModelForCausalLM.from_pretrained("BAAI/Aquila-VL-2B-llava-qwen", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K