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