Instructions to use PKU-Alignment/AA-chameleon-7b-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use PKU-Alignment/AA-chameleon-7b-base with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("PKU-Alignment/AA-chameleon-7b-base") model = AutoModelForMultimodalLM.from_pretrained("PKU-Alignment/AA-chameleon-7b-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 102 Bytes
89ed0bd | 1 2 3 4 5 6 | {
"image_seq_length": 1024,
"image_token": "<image>",
"processor_class": "ChameleonProcessor"
}
|