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, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("PKU-Alignment/AA-chameleon-7b-base") model = AutoModelForImageTextToText.from_pretrained("PKU-Alignment/AA-chameleon-7b-base") - Notebooks
- Google Colab
- Kaggle
| { | |
| "image_seq_length": 1024, | |
| "image_token": "<image>", | |
| "processor_class": "ChameleonProcessor" | |
| } | |