add bert padding + modify internVit classes 9c8bb9e
HGB commited on
How to use radna/mini_intern_chat_triton with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("visual-question-answering", model="radna/mini_intern_chat_triton", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("radna/mini_intern_chat_triton", trust_remote_code=True, dtype="auto")