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("microsoft/colipri", processor) image = load_sample_ct() pipeline(image, ["No lung nodules", "Lung nodules"]) - Notebooks
- Google Colab
- Kaggle
| [tasks.build] | |
| description = "Build the package" | |
| run = "rm -rf dist/ && uv build" | |
| [tasks.publish] | |
| description = "Publish the package" | |
| run = "uv publish" | |
| [tasks.bump] | |
| description = "Bump the version (usage: mise run bump [patch|minor|major])" | |
| run = "uv run --group maintain bump-my-version bump {{ arg(i=0, name='part', default='patch') }} --verbose" | |
| [tasks."bump-dry"] | |
| description = "Dry-run version bump" | |
| run = "uv run --group maintain bump-my-version bump {{ arg(i=0, name='part', default='patch') }} --dry-run --verbose --allow-dirty" | |
| [tasks.push] | |
| description = "Push commits and tags" | |
| run = "git push && git push --tags" | |
| [tasks.release] | |
| description = "Bump version and push (usage: mise run release [patch|minor|major])" | |
| depends = ["bump"] | |
| run = "git push && git push --tags" | |