Instructions to use paige-ai/Virchow2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use paige-ai/Virchow2 with timm:
import timm model = timm.create_model("hf_hub:paige-ai/Virchow2", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Slide level analysis?
#17
by coopermaira - opened
I haven't seen the model yet, but am I correct in understanding that Verchow2 doesn't do slide level analysis, but is focused on tile level embedding?
Yes, Virchow models process tiles. See https://huggingface.co/paige-ai/Prism for slide-level analysis (PRISM is trained with Virchow embeddings rather than Virchow2, though). Alternatively, you could train a slide-level aggregator over the tile embeddings as detailed in the Virchow paper (https://www.nature.com/articles/s41591-024-03141-0).