How to use erax-ai/EraX-VL-7B-V2.0-Preview with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="erax-ai/EraX-VL-7B-V2.0-Preview")
# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("erax-ai/EraX-VL-7B-V2.0-Preview") model = AutoModelForImageTextToText.from_pretrained("erax-ai/EraX-VL-7B-V2.0-Preview")
min_pixels and max_pixels in size cause error
· Sign up or log in to comment