Transformers How to use 4bit/japanese-instructblip-alpha with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="4bit/japanese-instructblip-alpha", trust_remote_code=True) # Load model directly
from transformers import AutoProcessor, AutoModelForVision2Seq
processor = AutoProcessor.from_pretrained("4bit/japanese-instructblip-alpha", trust_remote_code=True)
model = AutoModelForVision2Seq.from_pretrained("4bit/japanese-instructblip-alpha", trust_remote_code=True)