Duplicated from erax-ai/EraX-VL-2B-V1.5
How to use mxw1998/erax-ai-fork2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="mxw1998/erax-ai-fork2")
# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("mxw1998/erax-ai-fork2") model = AutoModelForImageTextToText.from_pretrained("mxw1998/erax-ai-fork2")
The community tab is the place to discuss and collaborate with the HF community!