lazyslide_models.vision.CRISP#
- class CRISP(model_path=None, token=None)#
Bases:
Virchow2crisp 🤗Hugging Face GitHub Paper Params: 631.2M MIT; CC-BY-NC-ND-4.0 [Zhao et al., 2026] A clinically-oriented foundation model for intraoperative pathology CRISP tile encoder for frozen sections.
Virchow2 adapted with LoRA on more than 100,000 frozen section slides and validated prospectively in intraoperative diagnosis. Like Virchow2, it returns the class token concatenated with the mean patch token (2560-d).
CRISP’s card says MIT, but its checkpoint ships Virchow2’s weights plus the LoRA, and Virchow2 is CC-BY-NC-ND-4.0, so it is marked non-commercial. The LoRA is merged into the Virchow2 weights at load time, so peft is not needed.