I want a package-level run inference retrieval(model: torch.nn.Module None = None, preprocess: Callable …
I want a package-level run inference retrieval(model: torch.nn.Module None = None, preprocess: Callable …: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). The function should accept either an already constructed model/preprocess/tokenizer trio or load them from…
The task
The function should accept either an already constructed model/preprocess/tokenizer trio or load them from `model_name`, `pretrained`, and `ckpt_path`; it should accept images either as a list of paths or through the normal image path input, encode all images and all query strings, L2-normalize both embedding sets,…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.