Views
No views yet
1from transformers import AutoModel, AutoTokenizer, AutoProcessor
2
3model = AutoModel.from_pretrained("foundation-models/minicpm-v-4.5-schematic-merged", trust_remote_code=True, torch_dtype="bfloat16")
4tokenizer = AutoTokenizer.from_pretrained("foundation-models/minicpm-v-4.5-schematic-merged", trust_remote_code=True)
5processor = AutoProcessor.from_pretrained("foundation-models/minicpm-v-4.5-schematic-merged", trust_remote_code=True)