How to use openbmb/MiniCPM-o-2_6 with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("openbmb/MiniCPM-o-2_6", trust_remote_code=True, dtype="auto")
from transformers import AutoModelmodel = AutoModel.from_pretrained("openbmb/MiniCPM-o-2_6", trust_remote_code=True)
This method is also equivalent.
· Sign up or log in to comment