How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="nopperl/chameleon-7b-hf")
# pip install -U transformers accelerate
# Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM

processor = AutoProcessor.from_pretrained("nopperl/chameleon-7b-hf")
model = AutoModelForMultimodalLM.from_pretrained("nopperl/chameleon-7b-hf", device_map="auto")
Quick Links

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

The Chameleon 7B model converted into HF format using the src/transformers/models/chameleon/convert_chameleon_weights_to_hf.py script of huggingface/transformers (git commit 2e24ee4df).

Downloads last month
42
Safetensors
Model size
7B params
Tensor type
F32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support