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
File size: 242 Bytes
c252a12 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | {
"bos_token_id": 151643,
"do_sample": true,
"eos_token_id": [
151645,
151643
],
"pad_token_id": 151643,
"repetition_penalty": 1.1,
"temperature": 0.7,
"top_k": 20,
"top_p": 0.8,
"transformers_version": "4.40.0"
}
|