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

pipe = pipeline("text-generation", model="typeof/idefics-9b")
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("typeof/idefics-9b", dtype="auto")
Quick Links