Transformers How to use OpenGVLab/InternVL-14B-224px with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-feature-extraction", model="OpenGVLab/InternVL-14B-224px", trust_remote_code=True) # Load model directly
from transformers import AutoProcessor, AutoModel
processor = AutoProcessor.from_pretrained("OpenGVLab/InternVL-14B-224px", trust_remote_code=True)
model = AutoModel.from_pretrained("OpenGVLab/InternVL-14B-224px", trust_remote_code=True)