loki.utils.load_model

loki.utils.load_model(model_path: str, device: str | device) Tuple[Module, callable, callable]

Load pretrained OmiCLIP (COCA ViT‑L‑14) model, its image preprocess, and tokenizer.