Instructions to use microsoft/colipri with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- COLIPRI
How to use microsoft/colipri with COLIPRI:
pip install colipri
from colipri import get_model from colipri import get_processor from colipri import load_sample_ct from colipri import ZeroShotImageClassificationPipeline model = get_model().cuda() processor = get_processor() pipeline = ZeroShotImageClassificationPipeline(model, processor) image = load_sample_ct() pipeline(image, ["No lung nodules", "Lung nodules"])
- Notebooks
- Google Colab
- Kaggle
Download justfile from microsoft/colipri: direct link, hf CLI and curl.
- Browser
- Download file 114 Bytes
-
https://huggingface.co/microsoft/colipri/resolve/refs%2Fpr%2F2/justfile
- Command line
-
hf download hf://microsoft/colipri@refs/pr/2/justfile
-
curl -L -o justfile https://huggingface.co/microsoft/colipri/resolve/refs%2Fpr%2F2/justfile
114 Bytes
| default: | |
| @just --list | |
| build: | |
| rm -rf dist/ | |
| uv build | |
| publish: | |
| uv publish | |
| push: | |
| git push --tags | |
| git push | |