Upload preprocessor_config.json with huggingface_hub 8315311 verified
XiaofengShi commited on
How to use XiaofengAlg/MechVL-4B-RL with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("visual-question-answering", model="XiaofengAlg/MechVL-4B-RL") # Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM
processor = AutoProcessor.from_pretrained("XiaofengAlg/MechVL-4B-RL")
model = AutoModelForMultimodalLM.from_pretrained("XiaofengAlg/MechVL-4B-RL")